On Mon, Mar 07, 2005 at 12:15:49AM +0100, Jiba wrote: > > You can do it : > > * create several cameras > > * use camera.set_viewport to define the viewport > > * use the widget system (from soya.widget) to create a > soya.widget.Group that you'll use as root widget, and then add the 2 > camera in the group > > * you may need to do "camera.partial = 1" for the second camera, to > avoid clearing twice the background (and erasing the result of the first > camera)
Wait, could this be used to overcome the zbuffer limitation on astronomical objects? IE, have two cameras render to same screen, at the same location, one with a far zbuffer for astronomical objects (planets, etc) the second with closer objects (regular stuff) with it's localcam.partial = 1 to keep it from erasing the previous rendering? -- Diversity is the Fuel of Evolution, Conformity it's Starvation. Be Radical. Be New. Be Different. Feed Evolution with Everything You Are.
