Hello,

I created some osg::Surface nodes and now I want to fetch all the
triangles rendered from these nodes. I used the TriangleIterator to do
this, but usually I got no Triangles. 

I can put the node into the scene graph and hide it with a
ColorMaskChunk, wait until it is rendered or call the osg::RenderAction
on it (Is this ok for osg::Surface?), but still I get no Triangles.
Since I create the node in a thread I synchronise both change lists
already. 

Usually I don't want to see this node, so a method without adding the
node into the scene graph will be fine, but the ColorMaskChunk is fine,
too. But its still not function.

I wrote a simple test program that fetches the Triangles in the
"display" callback function after the redraw() call. Here I got the
Triangles.

Any suggestions? A method without the need to wait for redraw will be
great.

Regards,
Denis Roeper

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to