Hi Enrico,
On Fri, 2005-05-06 at 10:54 +0200, Enrico Borrione wrote:
> Hi dirk,
> after playing with the example you pointed me for a bit,
> i understood the basic principles...
> Now I am trying to change the textured quad in the
> second viewport with a simple geometry (as you suggested).
> So... I modelled a half tube with blender,
> exported it in wrml along with the texture coordinates
> and tried to use it as the *screen* of the application.
> Surprise surprise, it isn't working, i just see the
> solid background. My best guess is that the matrixcameraptr
> is pointing in the wrong direction, so i pointlessy looked for a
> way to move the camera.
> I used to query the simple scene manager for the navigator
> and then update the projection matrix all by myself, but
> in this case i think the navigator is linked to the first vieport...
Yup.
> So: how can i update the camera position of the second vp?
> and the target of the look at? :)
The easiest would probably be to create your own Camera and use that in
the second viewport, which should work just fine.
Dirk
--
-- Dirk Reiners OpenSG Forum [EMAIL PROTECTED]
-- The OpenSG Open Source Scenegraph: http://www.opensg.org
-- Join the list at http://lists.sf.net/lists/listinfo/opensg-users
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users