On Mon, 7 Mar 2005 00:33:58 -0500
Luis Alberto Zarrabeitia <[EMAIL PROTECTED]> wrote:

> Allright.
> I tried that, but I guess I'm doing something wrong. I crated 2
> cameras and two worlds, in the first world I dropped a cube, and in
> the second, I put a sphere. The problems are:
> 1) the objects appear centered in the window (I had hoped they would
> appear centered in the viewport, I could move them, but that makes me
> think the viewports are not working properly)
> 2) the objects are rendered only in wireframe mode, otherwise, only
> the second camera is rendered.
> 
> This is the code - could you tell me what's wrong with it?


Actually the default Soya camera automatically adjust its viewport to
the screen dimension (in order to modify the viewport when the screen is
resized). So you must extend the camera to disable this (by overriding
Camera.resize())

I've written a tutorial for that, it is now in the CVS and is called
"multiple-cameras-1.py".

Jiba

Reply via email to