Hi Andrew,
You can't toggle on and off state from with a single osg::Geometry,
it's been designed to have just one value of OpenGL state throughout
it's operation, only vertex attributes can be changed from within one
geometry object.
So if you want some parts light, and other parts not then
Hi Robert,
I thought that was probably the case
I had QUADS/TRIS/LINES in one geometry to centralize some moderately painful
picking by primitive index logic. Oh well, back to the picking drawing
board...
Thanks
--
Read this topic online here:
Hi,
I am rendering three separate primitive sets of TRIS,QUADS and LINES in one
osg::Geometry object. I am rendering them using BIND_PER_PRIMITIVE of the
normals with lighting enabled. Lighting of lines is not really very useful and
it would be better to render the lines only in solid color.
3 matches
Mail list logo