On Thu Nov 16 11:49:36 2000, bhargava_ankur@xxxxxxxxxxx wrote:
>
> actually i am trying to give user the option to select on per object basis
> whether he wants the wireframe on or off .... so i will need to extract that
> node from the scenegraph and replace it with my own draw style node. for
> this i will need an existing property node for draw style....is there any
> other way ..?
Why would you need an existing property node? When you've selected the object,
simply enclose it in a Separator along with a DrawStyle node. These can be
created on the fly. When you no longer want it drawn in wireframe, take it out
of the Separator and put it where it was in the scene graph originally.
> thanks,
> ankur
Jonathan Lim _ Silicon Graphics _ Mountain View
GPS Graphics Computer Systems CA, USA
|