2
$\begingroup$

I have an .OBJ 3D model with many complex meshes shape.

The meshes are complex because each of them have multiple internal mesh located in it.

Meshes with internal geometry is defined as a mesh, which consists of many nested geometry. For example: a tank in .OBJ file is represented by 1 outer geometry with several nested small geometry in it. Total number of geometry to represent that tank would be 5-7.

I want to simplify the tank mesh object above to be represented by 1 geometry instead of multiple geometries.

What tool and what programming language can I use to iterate all the meshes object, remove all internal geometry in .OBJ file?

Please ask if you need clarification.

Thank you.

$\endgroup$
3
  • 1
    $\begingroup$ Hi, can you clarify what you want to do—merge the 5–7 geometries down to 1, keeping all the verts and faces from all of them? Or do you mean the tank has modeled interior spaces like the cabin, seats, controls etc and you want to remove these, keeping only the exterior surface? $\endgroup$ Apr 10, 2018 at 18:28
  • 1
    $\begingroup$ I want to remove interior spaces. There are some interior item overlapping/intersecting with the exterior surface; for those items, I want to do boolean union to merge them. $\endgroup$ Apr 10, 2018 at 21:39
  • 1
    $\begingroup$ Look into csg (constructive solid geometry) for the boolean operations you are looking for. Most 3d programs have them (Mesh lab, Maya, etc) $\endgroup$ Apr 10, 2018 at 22:10

1 Answer 1

1
$\begingroup$

This would not be perfect but should probably work well enough for your use case - you could render the objects from lots of different angles with a different solid color for each mesh component (without lighting) then remove any meshes that didn't appear in the final image by counting the pixel colours. If the objects aren't split up into separate meshes then do this by repeatedly merging groups of triangles which share a vertex into the same group, starting with one group per triangle or polygon.

$\endgroup$
1
  • $\begingroup$ It does work. ive used this in a job nack in 2000 for removing extra geometry of cad models. $\endgroup$
    – joojaa
    May 14, 2018 at 20:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.