[osg-users] RTT Camera does not render anything

Andreas Schreiber ayss at online.de
Wed Apr 15 01:33:44 PDT 2015


Hi,

I changed my camera. 

Now I don't use the method where I create the rtt camera, like shown in first post.

Now I just created the camera in the method where I setup the scene and it works...

I really do not get why....
Is there a specific order I should follow with the camera calls (setReference, setRenderOrder, setProjectionmatrixAsOrtho2D, setViewport, etc)??


One more thing that bothers me is the orientation. 
I did no transforms on the viewer or the scene itself. So my expectation was that the rendering of the rtt camera should be in the same orientation like the viewer camera, but it looks like in sketch which I attached.



Thank you!

Cheers,
Andreas[/img]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63402#63402



-------------- next part --------------
A non-text attachment was scrubbed...
Name: Camera.JPG
Type: image/jpeg
Size: 42350 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150415/1b9c1807/attachment-0003.jpeg>


More information about the osg-users mailing list