Jump to content

mesh real volume


ua4192
 Share

Recommended Posts

If I remember well my distant physics classes, you might find the derivative function of an elementary delta in your volume and then use an integral ...

Not that easy when the volume has no predefined or known shape.

 

Maybe another approach assuming the volume is concave convex (the barycenter is "inside" the mesh and all the tetrahdrons are "inside" the mesh) : 

compute the barycenter position

then from each mesh facet, compute the volume of each pyramid (tetrahedron) based on the facet triangle with the barycenter as the summit

 

If the volume is not concave, split it into many concave convex ones and iterate the former process

Link to comment
Share on other sites

Many thanks for your support. Due to the big amount of meshes I have decidef to discard this option and use bounding box volume instead.

Now after reading some docs I understand the problem.

Best regards.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...