Resolution:
 soy.widgets.Projector is given a soy.bodies.Camera as an argument
 soy.bodies.Camera has no reference to any projector which is using it
 Multiple Projectors may use the same Camera
 A Projector may only use one Camera at once
 Projector will have .front (zNear), .back (zFar), and auto aspect ratio
 Camera will have .lens (field of view angle, for "wide angle"/etc)

Reasons:
 * It's far more useful to reuse a projector with a different camera
   * ie, when you change scenes, etc
   * widget packing will be powerful but not nessesarily fun
 * It's often useful for multiple projectors to use the same camera
   * case point: GNU Aetherspace's "AstroCam"-
     two cameras were stuck together in the same "soya Group",
     the first rendered close-up objects, the second had it's zNear setting
     the same as the first's zFar and only rendered planets/etc to overcome
     culling polygon counts + 16bit zbuffer inaccuracy
 * Field of angle you really don't want to have different w/ multiple 
   projections and a soy.bodies.Camera.lens is quite intuitive
 * The aspect ratio should match whatever the widget is sized to, there's very
   few cases where you'd want your projection stretched/squished
 * Different aspect ratios can be added later through a projector attribute 
   for special effects (but would still be based off Projector's size)

Comments?
_______________________________________________
PySoy-Dev mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-dev

Reply via email to