Re: [osg-users] Cullind Data
Seems like you could use a Camera pre-draw callback to put OpenGL into feedback mode, and a post-draw callback to return to render mode and retrieve the results. This would be awfully slow, not recommended for real time rendering. -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of oren david Sent: Monday, November 24, 2008 9:20 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Cullind Data Hello, I need to know the vertex of all the polygon I'm about to draw on screen (after the culling has choosen the right ones), what is the right approach?? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Cullind Data
Hi David, Actually I can't understand what do you mean but if you want to control every vertex after projecting screen to window coordinates and culled too, you should use GLSL. vec4 culledVertex = ( gl_ModelViewProjectionMatrix * gl_Vertex ); You can control every vertex by this command. Regards. 2008/11/25 oren david <[EMAIL PROTECTED]> > Hello,I need to know the vertex of all the polygon I'm about to draw on > screen (after the culling has choosen the right ones), what is the right > approach?? > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Ümit Uzun ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Cullind Data
Hello,I need to know the vertex of all the polygon I'm about to draw on screen (after the culling has choosen the right ones), what is the right approach?? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org