Jump to content

  • Log In with Google      Sign In   
  • Create Account


A sun in openGL?


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
1 reply to this topic

#1 Zeus_   Members   -  Reputation: 122

Like
Likes
Like

Posted 24 October 2001 - 03:13 PM

Hello; I''ve been looking at some lighting tutorials that have been somewhat, useless. I know its only a few commands (I think), but could someone show me where there are any lighting tutorials? Or a good way for me to create a sun? (glowing ball that will shine on things thanks!

Sponsor:

#2 Vlion   Members   -  Reputation: 151

Like
Likes
Like

Posted 24 October 2001 - 05:37 PM

How accurate ?
If you dont need total accuracy, simply put a yellow sphere at 0,0,0 and stick a GL_LIGHTx at 0,0,0.
Absolutly terrible, but workable.

On the other end, you do per-pixel lighting with each pixel of the sun shining and some kind of ray-casting algorithim.
Which would not be anything close to real time.

Yuo need to define yourself...

I came, I saw, I got programmers block.
~V''''lion




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