|
![](/i/fill.gif) |
shahrokh wrote:
> Hi,
>
> Look at this example bellow. It is a solid made of several cubes, each built
> of triangles using mesh. As you see the object is colored in transparent so
> one can see inside. However, the faces of every single element is there,
> and visible.
> Can somebody tell how to get rid of those faces inside, the same way you
> could do using merge when you combine two objects like a box and a cylinder
> ?
> Somebody told me to use mesh2 .... but I don't see how. Are there a simple
> example to do so ?
>
Mesh2 won't solve your problem. It is a different input format for the
same object.
Working with mesh has a price: you have to pay it for what you want to do.
Solution would be either to not generate the offending triangles (if you
can identify them easily...) or to give them a texture transmit of 1.
Also, beware of max_trace_level setting, default of 5 might be too low
for some view point.
But why not use CSG with some boxes instead ?
Just updating the Irreg_Cube macro to one box instead of twelve
triangles (it can take a little math to get the dimension of the box,
and then the correct rotation and translation, but that shouldn't be too
difficult). And then merge instead of mesh!
> Thaks.
> Shahrokh
Post a reply to this message
|
![](/i/fill.gif) |