Dear OpenSG Users,

I am trying to get some 2D-Content rendered on top of an opensg scene.
Currently I am using simplescenemanager rendering my 3d scene right into a
passive windows view port used by a Window.

My Idea is to switch ssm's standard viewport with a FBO viewport which seems
to work in the sense that I get no errors but a black screen in the window.

Now I would like to take the texture produced in the FBO, as I understand,
and use it as background of a simple 2D gl scene. I have a TextureChunk as
described in the tutorials, that should hold the rendered scene of SSM.

I cannot get the Gl id (GLuint) as a handle to the texture to draw it.
How do I paint this texture as background of an opengl window? What is
preferable, implement it using opensg functionality (how?) or just get the
gl id (handle) of the texture and do it using native gl code? (how?).

Thank you very much in advance,

Yours, George.



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to