Hi Robert,

As far as I know, tesselation shaders can be used only with GL_PATCH primitive 
type. So maybe this flag can be "DrawMode==GL_PATCH" ?

This could also be used in traversal algorithms (such as intersectors) : maybe 
an optional flag like "ignorePatchPrimitive" ?

With this flag set on a Visitor, it should ignores all primitive set of type 
"GL_PATCH" but still call user-defined callbacks :
 - don't execute an algorithm that will be wrong (the generic algo cannot be 
used here)
 - still execute a user defined algorithm if provided

Thank you!

Cheers,
Aurelien

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





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

Reply via email to