Antonio Bleile wrote:

> It turns out that the problem was something very different.
> I figured that I can't render the fbo viewport without
> issuing a render on the SimpleSceneManager. The tutorial
> states a comment:
> 
>     // make sure the window is setup before rendering to the FBO
>     mgr->redraw();
> 
> If you remove this redraw from the tutorial sample (29FBOTexture), 
> it crashes. Would be nice if that could be avoided as it a little
> bit dirty. I don't know how complicated it is though. 

Ok. The SSM probably does some initialization the first time redraw() is 
called. Moving that to a separate init() function (that still get's 
called from redraw) should certainly be possible.

Cheers,
/Marcus

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to