The top box was created by CreateBox function,The bottom box was created by CreatePolyhedron function,i create the vertices and faces by myself.When I change the camera Angle,the bottom box looks very strange
One is just facing the wrong way / inwards
i’m not really understand your meaning
The faces (top, bottom and sides) of the box you made using CreatePolyhedron
are facing in the wrong direction, so you’re looking through the faces and seeing the inside of the box, if that makes sense.
the bottom face is facing up, top face in facing down, etc
“face”:[[0,3,2,1],[0,1,5,4],[0,4,7,3],[2,3,7,6],[1,2,6,5],[4,5,6,7]]
should be
“face”:[[2,3,0,1],[5,1,0,4],[7,4,0,3],[7,3,2,6],[6,2,1,5],[6,5,4,7]]
3 Likes