Re: [osg-users] Vertices Selection
Hello, Thank you for this infomation. I'll watch this. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41600#41600 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Vertices Selection
Hi, I would like to know if it is possible to selects vertices of an osg::Geometry and to transform them (translation and rotation). I know that it is possible to select objects (osgpick example) but don-t know about vertices. Is there an example or documentation dealing with vertices selection . Thank you! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41558#41558 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Vertices Selection
Hi, In osgpick example for selection LineSegmentIntersectorhttp://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00388.htmlis used. To pick a point you need to use PolytopeIntersectorhttp://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00526.htmlso that you can pick point also. Regards Santosh G. On Fri, Jul 22, 2011 at 1:28 PM, Miguel Lokida mlok...@yahoo.fr wrote: Hi, I would like to know if it is possible to selects vertices of an osg::Geometry and to transform them (translation and rotation). I know that it is possible to select objects (osgpick example) but don-t know about vertices. Is there an example or documentation dealing with vertices selection . Thank you! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41558#41558 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Vertices Selection
Hi, check in MovieEventHandler::handle in osgmovie example. There is an example of how you can get vertex indices for the part of the geometry that was picked. jp On 22/07/2011 09:58, Miguel Lokida wrote: Hi, I would like to know if it is possible to selects vertices of an osg::Geometry and to transform them (translation and rotation). I know that it is possible to select objects (osgpick example) but don-t know about vertices. Is there an example or documentation dealing with vertices selection . Thank you! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41558#41558 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org