Face is not drawn

前端 未结 1 1538
北荒
北荒 2021-01-15 01:52

I try to draw a mesh with several faces.

Some of the faces are drawn some of them not.

When instantiating a mesh which is normally not drawn, with the index

1条回答
  •  隐瞒了意图╮
    2021-01-15 02:00

    The face front is determined by the winding order, not the face normal. The default winding order is counter-clockwise (CCW).

    Have a look at the source of Geometry.computeFaceNormals(), and notice how the computed face normal is consistent with a CCW winding order.

    three.js r.58

    0 讨论(0)
提交回复
热议问题