lesson7 light probs
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 :
========================
Leyder Dylan (dylan.leyder@slug-production.be.tf
http://www.slug-production.be.tf/
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
Popular Topics
Advertisement
Recommended Tutorials
Advertisement