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

Reply via email to