Jump to content

  • Log In with Google      Sign In   
  • Create Account


GL Lighting


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 kieren_j   Members   -  Reputation: 100

Like
Likes
Like

Posted 31 July 2001 - 01:57 AM

Hi Now I have my 120FPS quadtree dynamic-LOD terrain engine with ms3d support, environment, skybox, collision detection, physics and stuff I need lighting I''ve read about the basics of GL lighting (which I have decided I am going to use), but I have a few problems.. first of all, when the camera moves, the light does too - I want the light to be relative to the world, not the camera! Second of all, oh wait.. that''s all. I''m sure people can help Thanks, Kieren



Sponsor:

#2 zedzeek   Members   -  Reputation: 528

Like
Likes
Like

Posted 31 July 2001 - 10:11 AM

check the faq
http://www.frii.com/~martz/oglfaq/


#3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 01 August 2001 - 02:08 AM

AFAIK, you can forget about using OpenGL lighting, as it is relative to camera and thus probably not intended for interactive scenes where user has control over movement.
You should use (pre-calculated) lightmaps for your geometry.

#4 kieren_j   Members   -  Reputation: 100

Like
Likes
Like

Posted 01 August 2001 - 06:35 AM

To zedgeek - yay thanks.. FAQ tells me all I had to do was set the light position after translation.
To "Anonymous Poster" - ummmm not a good idea. That way we can completely ignore hardware T&L features.

Anyway - "fix0red"... thx, bye








Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS