Hello Georg,
Georg Wünsch wrote:
> for a test app, I am trying to render a scene into a texture and reuse
> it outside opensg 1.8 for filling the background of a standard qt
> widget with the scene.
>
> Can anyone please give me some guidance on how to set up something with
> the simplescenemanager?
take a look at Tutorials/29FBOTexture.cpp for an example how to render a
scene to a texture using the FBOViewport. In that example the texture is
then later used in the main scene (that part you probably don't need).
I assume that to use it with Qt you have to get the image from the GPU
into main memory, use FBOViewport::setReadBuffer(true) to achieve that.
Cheers,
Carsten
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users