www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: Irony on November 09, 2014, 03:50:48 pm
-
When I setvertexcontroller before build(), there is a warning about normals. When I set vertexcontroller after build, applyvertexcontroller seems to have no effect.
I have read and experienced some contradicting things about the topic.
Maybe it's important to mention that there is a rotateMesh call in there as well.
-
The best way is to call calcNormals(), then set the controller, then call build().
-
Works perfectly, thanks!
-
One related question: Why does a cube have 10 vertices and not 8?
-
vertices are the lines not the faces
http://t-machine.org/wp-content/uploads/cube-of-simple-verts.png
-
vertices are the lines not the faces
Neither...they are the end points of the lines.
-
One related question: Why does a cube have 10 vertices and not 8?
Depends on your cube. The ones creates by Primitives have 10, because they are actual lathe objects with addtional points in the center.
-
Yes I meant the one from Primitives. Thanks.
-
vertices are the lines not the faces
Neither...they are the end points of the lines.
oh right, sorry.