Hmm... I suppose that topic name can be taken a couple different ways ;-)

I've been trying to trace PrimitiveSet::dirty() and figured it would be safer 
to just ask...

1)  If I change a vertex position of a Primitive, does calling 
PrimitiveSet::dirty() yield
     the same eventual results as calling the parent Geometry's 
dirtyDisplayList() or
     is it a different beast altogether?

     I cannot easily see if changing the _vboList's _modifiedCount causes the
     vertex change to be reflected into OGL.  Not sure if changing a vertex 
position
     requires PrimitiveSet::dirty, Geometry::dirtyDisplayList, or both to be 
done right.

2)  Is it safe to assume that if changing a vertex color, texture coordinate, or
    normal requires only a display list dirtying, but if changing the vertex 
position,
    that a dirtyBound should also be called?

Note that I'm talking about occasional modifications, not "dynamic geometry"
that would warrant turning off the display lists.  I'm writing a wrapper that 
accepts
changes to vertices and am trying to make only the necessary dirty() calls.

Thanks,

Bill

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to