>
> When you load data from a file like an obj using the function
> osgDB::readNodeFile is there any way to access the arrays containing vertex
> coordinates, normal coordinates and texture coordinates associated to the
> object? I want to design a way to detect which rendered object user is
> touching in the screen.
>

  Yes. You'll need to determine what subclass of Node it is, and find the
Geode and Geometry objects. There you will find the actual vertex and such
arrays.


>
> Thank you,
> John
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Chris 'Xenon' Hanson, omo sanza lettere. [email protected]
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio •
LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to