PDA

View Full Version : weird bug im not sure



06-03-2003, 10:52 AM
this is just a bit of coursewrk assignment, and im not asking any1 to do it, except to mayb explain this bug im getting.
here is the program: http://www.cee.hw.ac.uk/%7Eceejrm3/initials.exe

and heres the code
http://www.cee.hw.ac.uk/%7Eceejrm3/initials.cpp

as u can hopefully c the lighting is screwed in some weird manner. cheers for any insights.

J

Bob
06-04-2003, 12:24 AM
You don't pass any normals, which are used to calculate lighting.