XNA calculate normals for linesegment
- by Gerhman
I am quite new to 3D graphical programming and thus far only understand that normal somehow define the direction in which a vertex faces and therefore the direction in which light is reflected. I have now idea how they are calculated though, only that they are defined by a Vector3.
For a visualizer that I am creating I am importing a bunch of…