Hello Michael,

> Von: "Michael Raab" <michael-r...@gmx.de>
> what is the appropriate way to access depth buffer values after rendering
> in OpenSG1.8?

hm, I don't think we have a wrapper for that in 1.x (or 2.0 FWIW), at least I 
did not see anything obvious.
The quick, one shot, way is to just issue the glReadPixels() call after 
rendering, before Window::frameExit() runs.
A better integrated way would be to create a DepthGrabForeground or perhaps 
extend the existing GrabForeground to make the necessary OpenGL calls - should 
not be very difficult, OSGGrabForeground.cpp is just 170 lines ;)

    Cheers,
       Carsten
-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to