3-D
- Posted by Tuxedo Mask <nitrogen at XTRA.CO.NZ> Dec 30, 1997
- 673 views
Hi. I'm trying out some more 3d stuff. i've got the perspective correction fuigred out (i think). I need to know how to find the normal of a polygon, to see if it is facing the view point so it will only draw the polygons if they are visable. Each polygon can have any number of verticies. each vertex is in the form: { X , Y , Z }. It needs to be able to work out the normal for any number of points because the map will be drawn with 4 or (possably more) sided polys and the models will be drawn from triangles. If i'm lucky i might beable to throw in texture mapping :) hope you can help, i dont have a clue on how to work that out! If i can get some of this working, i could perhaps make some interesting VR game or scene or what ever, i have quite a few other ideas for controlling other aspects of a 3D scene. --Mark