Re: [osg-users] set the position of a model

2008-11-17 Thread Alberto Luaces
El Viernes 14 Noviembre 2008ES 21:04:01 Francisco Rodríguez Villagómez 
escribió:
 Hi guys, I hope anyone could help me, I'm new to osg an Im making an
 application in wich I have to point at some models with an arrow model to
 specify wich of this models the user has selected, so my problem is how can
 I set the position of the arrow if I dont know where the oder models are
 set in the scene? I wish anyone could give me a hand with these.

Francisco,

see the osgpick example. There you will learn how to compute the location of 
the selection the user has made.

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] set the position of a model

2008-11-14 Thread Francisco Rodríguez Villagómez
Hi guys, I hope anyone could help me, I'm new to osg an Im making an
application in wich I have to point at some models with an arrow model to
specify wich of this models the user has selected, so my problem is how can
I set the position of the arrow if I dont know where the oder models are set
in the scene? I wish anyone could give me a hand with these.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org