Which comes first: setvertexcontroller or build?

Started by Irony, November 09, 2014, 03:50:48 PM

Previous topic - Next topic

Irony

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.

EgonOlsen

The best way is to call calcNormals(), then set the controller, then call build().


Irony

One related question: Why does a cube have 10 vertices and not 8?


EgonOlsen


EgonOlsen

Quote from: Irony on November 10, 2014, 11:25:01 AM
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.

Irony


lawless_c