Lighting and Raw files
Hi, I''m new to opengl. About 2 weeks. I created a 3D boat Model in MilkShape, and I exported it as a RAW file(List of trinagles). I am loading the raw file into a display list, and drawing my object in the center of the screen. My question is this: I read in the "Texture Filters, Lighting & Keyboard Control Tutorial" that you have to tell OpenGl what the normal vector is for each face of the cube. I am confused on how/if I need to specify the normal vector for each of my triangles(How can I find the normal vector of each trinagle?, How do I know which way the trinagle is supposed to be facing?)
Thanks!
Snabbles
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement