Hi,
I have the following scene:
https://www.babylonjs-playground.com/#J36BQA
The edges of the box are sharp while the edges of the lathe seems rounded.
Why is this?
Is there some parameter I can use to get the same planar sides as with a box?
Hi,
I have the following scene:
https://www.babylonjs-playground.com/#J36BQA
The edges of the box are sharp while the edges of the lathe seems rounded.
Why is this?
Is there some parameter I can use to get the same planar sides as with a box?
Here ya go:
https://www.babylonjs-playground.com/#J36BQA#1
The lathe operation makes smooth shaded objects by default, so you have to tell Babylon you want it to be flat shaded instead with this line:
mesh2.convertToFlatShadedMesh();
Thanks, this works.