On Wed, Apr 04, 2007 at 06:37:03PM -0400, Zach Miller wrote:
> think of what happens when you change scenes. sure you can remove the
> projector and camera then create a new set then restack the widgets but itd
> be better to just change which camera your projector is using. i cannot
> imagine any time youd want the same camera to switch projectors.
Ok. This argument plus the new rendering function I'm building makes this the
favorable option.
win = soy.Window('Example')
sce = soy.Scene()
cam = soy.bodies.Camera(sce)
pro = soy.widgets.Projector(win, cam)
Coreloop then renders each widget, in order, and when it hits the projector it
renders it as a viewport for the camera. Simple, elegant, and clean.
_______________________________________________
PySoy-Dev mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-dev