Hi all, I'm also very interrested about this subject I think olivier want to compute the mathematical area of the shape : you must make the sum of the areas of each triangle. and for the mathematical volume, i think it's more difficult... perhaps with a octree method and test for each cell if it's indside or outside the shape... ( a non-trivial test ;-) )
anyone have a better solution ? Regards Renaud --- Joachim Diepstraten <[EMAIL PROTECTED]> a �crit : > Hi Olivier > > > how can I get the volume and the surface of a 3D > object in java3d? > > Well you normaly describe the surface of your 3d > objects in the Shape > node so you already should have this. (Geometry = > surface). I'm not > sure what you mean by volume but you can get at > least the BoundingVolume > through the BoundingBox of your Shape node (this > will be normally > autogenerated). > > EOF, > J.D. > > -- > Explore SRT with the help of Java3D > (http://wwwvis.informatik.uni-stuttgart.de/relativity/minkowski) > (http://www.antiflash.net/java3d/relativity (mirror) > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] > and include in the body > of the message "signoff JAVA3D-INTEREST". For > general help, send email to > [EMAIL PROTECTED] and include in the body of the > message "help". ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais ! Yahoo! Mail : http://fr.mail.yahoo.com =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
