Hi, in addition to Janusz pointers, if you need also the rest of the mass properties, you could take a look at this famous paper:
http://www.cs.berkeley.edu/~jfc/mirtich/massProps.html Alberto El Jueves 27 Noviembre 2008ES 09:09:34 [EMAIL PROTECTED] escribió: > Dusten: > > You might find these two helpful: > > accurate: http://tetgen.berlios.de/ > approximate & simple: > http://www.gamedev.net/reference/articles/article2247.asp > > The second one could be easily added to osg I guess. > Janusz > > Dnia Wed, 26 Nov 2008 23:47:57 -0600, Dusten Sobotta napisał(a): > > Hello, > > > > Manually modifying various attributes of models is quite tedious, and > > tends to set back the development of games. To work around this issue, > > I'd like to implement a feature to calculate the volume of an in-game > > model, so that given a surface attribute such as 'wood' or 'metal', > > (which have pre-defined density values), the mass of an object can be > > computed and later exported. Might anyone have an example for finding the > > approximate volume of an object through OSG? > > > > > > Thanks in advance, > > > > Dusten > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

