El Miércoles 13 Junio 2007, Marcus Fritzen escribió: > Hello, > > I have another question. I hope you can help me. I have read a object > file which includes geometry with: > > osg::ref_ptr< osg::Node > quad = osgDB::readNodeFile( "test.obj" ); > > This geometry was created with Maya, just for information. Now I want to > reach the geometry of this node, because I want to compute if a triangle > is e.g. faced or turned away to a light. How can I now reach the > vertices respectivly the triangles or quads? > > Regards,
Hi, take a look at the osg::TriangleFunctor class. A good example of usage can be found in the osggeometry.cpp example. Alberto _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/