[osg-users] is there a way to select an invisible object?

Robert Osfield robert.osfield at gmail.com
Mon Jul 7 02:35:16 PDT 2008


Hi Gianluca,

What do you mean by "select" and object?

What type of object?

Robert.

On Mon, Jul 7, 2008 at 10:24 AM, Gianluca Natale
<gianluca.natale at adstorino.it> wrote:
> Hi All!
>
> I'm using OSG to implement my own scene graph
> to draw my scene on the screen.
> Sometimes I would need to select an object even if it
> is invisible (I mean that the switch node it is attached
> to is set to off). But this seems impossible to me,
> because I don't want to draw the object, so I have to
> disable that switch.
> On the other hand, if I disable the switch, how can I
> select it (with the standard OpenGL picking mechanism)?
> Do I have to duplicate the scene graph, one for
> selection and the other for drawing?
>
> Thank you in advance for your suggestions.
> Gianluca Natale
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>



More information about the osg-users mailing list