Advertisement

lesson7 light probs

Started by September 09, 2003 07:57 PM
0 comments, last by mightyalex 21 years, 5 months ago
i am a newbie, i just started following your tuts, at number 7 i ran into a little problem. it looks like the light is going around the cube, shouldn''t it just stay in front?
Have you modified the code ?

If yes, when you draw the light do this :

glPushMatrix(); // Save the current matrix// Draw your lightglPopMatrix(); // Restore the saved matrix// Draw your cube


========================
Leyder Dylan (dylan.leyder@slug-production.be.tf
http://www.slug-production.be.tf/
========================Leyder Dylan (dylan.leyder@slug-production.be.tf http://users.skynet.be/fa550206/Slug-Production/Index.htm/

This topic is closed to new replies.

Advertisement