Hi Robert,

>> I've a cylinder, and while showing the scene, I want to change the size
>> (height) of the cylinder.
>> I tried it that way, but only the first call of setting the height is a
>> success (so the height of the cylinder stays at 0.1):
>After modifiying the shape call dirtyDisplayList() on the
> ShapeDrawable to get it to recreate the display list that is passed to
> OpenGL.

Hey thanks! It works :-)
Is this the normal way to do so, or is this inefficient and there is a  
better way to resize a cylinder/shape?

Greets
Patrick

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

Reply via email to