Closed pigLoveRabbit520 closed 1 year ago
You provide no information of what you want to do, no context, just a random file that is totally unrelated to glTF.
So my answer is: look into the unit tests of the project, there's plenty of examples on how to add and use normals.
Reviewing still open issues, I think I know what you want to do.
You have to create a MeshBuilder
object with VertexPositionNormal
vertex structure, and then call multiple times AddTriangle with the vertices. There's plenty of examples in the unit tests.
I have these properties: