info-inventor-dev
[Top] [All Lists]

Re: wireframe

To: "Jonathan Lim" <jlim@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: wireframe
From: "Ankur Bhargava" <bhargava_ankur@xxxxxxxxxxx>
Date: Thu, 16 Nov 2000 14:49:36 -0500
Cc: <info-inventor-dev@xxxxxxxxxxx>
References: <200011161931.LAA95625@xxxxxxxxxxxxxxxxxxxx>
Reply-to: "Ankur Bhargava" <bhargava_ankur@xxxxxxxxxxx>
Sender: owner-info-inventor-dev@xxxxxxxxxxx
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 ..?

thanks,
ankur


----- Original Message -----
From: "Jonathan Lim" <jlim@xxxxxxxxxxxxxxxxxxxx>
To: <bhargava_ankur@xxxxxxxxxxx>
Cc: <info-inventor-dev@xxxxxxxxxxx>
Sent: Thursday, November 16, 2000 2:31 PM
Subject: Re: wireframe


> On Thu Nov 16 11:28:20 2000, bhargava_ankur@xxxxxxxxxxx wrote:
> >
> > hi all,
> >
> > is there a way to make one single object of the scenegraph wireframe and
> > keep rest of them as they are ?  wireframe ( VIEW_LINE ) seems to be the
> > DrawStyle property of the whole SoXtViewer not the object itself.
> >
> > thanks,
> > ankur
>
> Just isolate the part you want to be drawn in a SoSeparator, i.e.
>
>   Separator {
>     Separator {
>       DrawStyle {
>         style LINES
>       }
>       Cube { }
>     }
>     Sphere { }
>   }
>
>
>               Jonathan Lim  _  Silicon Graphics  _  Mountain View
>               GPS Graphics     Computer Systems        CA, USA
>

<Prev in Thread] Current Thread [Next in Thread>