[osg-users] RTT Camera does not render anything

Sebastian Messerschmidt sebastian.messerschmidt at gmx.de
Wed Apr 15 02:24:32 PDT 2015


Hi Andreas,
you are not showing the part where you use the

createRTTCamera

function.
Are you setting it up as relative to the main camera?

Cheers
Sebastian

> Hi,
>
> ok that was a big mistake from my side.
>
> I forgot to set the width and height of the Texture, but I used getTextureWidth() and getTextureHeight to specify the Viewport.
>
> Well if the Viewport is (0, 0, 0, 0) there will be nothing to see.
>
>
> But the thing with the orientation I am still trying to understand.
>
> ...
>
> Thank you!
>
> Cheers,
> Andreas
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=63405#63405
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




More information about the osg-users mailing list