Hi All,
The story so far...
I am making a 3d model making program. I have come to a hurdle which is really driving me nuts.
I have made some vertex points and made some triangles. But now I have to try and work out the normals of the triangles.
I have looked on line and done some reading and watching and this is what I have worked out. I need to get the cross product of two vectors. Then there was a whole bunch of squiggly line and different brackets everywhere and I got completely lost.
It isn't the programming I have a problem with, it is the maths.
Can anyone either:
a) Explain to me how I go about getting the normal?
or
b) I am willing to give a $50 steam voucher to anyone that can write the code for me (commented).
Thank you for reading. Nick.
PS. I am serious about the voucher. PM me for parameters.
The story so far...
I am making a 3d model making program. I have come to a hurdle which is really driving me nuts.
I have made some vertex points and made some triangles. But now I have to try and work out the normals of the triangles.
I have looked on line and done some reading and watching and this is what I have worked out. I need to get the cross product of two vectors. Then there was a whole bunch of squiggly line and different brackets everywhere and I got completely lost.
It isn't the programming I have a problem with, it is the maths.
Can anyone either:
a) Explain to me how I go about getting the normal?
or
b) I am willing to give a $50 steam voucher to anyone that can write the code for me (commented).
Thank you for reading. Nick.
PS. I am serious about the voucher. PM me for parameters.