Hi, Sergey!
I try to adopt transform feedback to osg and find some comments 

Code:

// next three methods MUST be called from thread that have valid opengl context 
(same context that this callback is initialized with)
// f.e. you can modify callback to use them in next frame to get previous frame 
results writed to some storage
// or have another drawcallback that uses them or texture generated by first 
one in same frame as they generated or whatever
// make sure to have proper draw order so callback that do transform feedback 
called before one's that uses results
// this functions returns stuff that represents results obtained from last draw 
call in this callback, previous results is lost.



so my noob question is how to create two draw callbacks on the same geometry, 
with correct order.
... 

Thank you!

Cheers,
Roman[/code]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42094#42094





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to