Hello everyone!
Currently I amtrying to figure out how Irrlicht makes use of normals, meaning how they are stored for example for a mesh. Ideally I do want to implement a small function that visualizes the normals of a given mesh, so I can quickly evaluate whether the normals have been exported and loaded to Irrlicht correctly, or whether they are existent at all.
For that reason I looked at the IMeshBuffer which seems to hold all the vertices data as well indices data. However I was not able to locate whether there is an array that stores the normals for a mesh (if Irrlicht does at all).
So any hint to point me into a direction where to find the normals' data of a mesh would be great.
Secondly, in that context I would like to know if Irrlicht uses such normals, how they are applied to a mesh? On face-basis or on vertex-basis?
Thanks in advance
Silbermünze
Usage of Normals in Irrlicht
-
- Posts: 34
- Joined: Thu Sep 15, 2005 12:27 pm
- Location: Stuttgart, Germany