I am loading a series of .glb files which represent the blood cast in the left ventricle of a heart.
This mesh should not be see though but it has some weird artifacts.
Here is an example of what I’d like the mesh to look like:
You can see the blood cast is ‘solid’.
When I render this in Babylon (you can see in the red circles) There are internal artifacts of the cast which are visible:
Here is the wiremesh view:
You can see the dimensions here.
I think I need to turn on the facet data.
I can access the mesh like so:
var mesh = assetContainers[currentSceneIndex].meshes[i];
but when I do:
console.log("Total number of facets:" + assetContainers[currentSceneIndex].meshes[i].facetNb);
It says there are no facets.
When I do:
I get an error that says the Facet Data is null.
So how do I get the facet data from the .glb file or better yet how do I make this object look solid and not have these weird transparent artifacts in my mesh.