[osg-users] Resize a shape?
maierp at gmx.net
Wed Oct 24 05:15:53 PDT 2007
>> 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
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?
More information about the osg-users