Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Light Rays.

This topic is 6054 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I am fairly new to the OpenGL scene. I am getting about fairly well, but does anyone know of a good Raycasting tutorial? For lights and all, IE: Spotlight -> ray of light. I want to do similar with opengl. Much thanks for any help! Edited by - ThinIce on March 23, 2002 7:08:14 PM

Share this post

Link to post
Share on other sites
Im not to sure of any tutorial but i can tell you what i would do. Try using a quadratic cylinder and texture map it with a semi-transparent texture that represents light bouncing off air (sort of like when u shine a flashlight through dust) and create a light source near the end of the quad that has a low intensity and that should work. Not to sure bout how good it would look, never tried it, but it should be easy to control and do so its up to u.

Ancient Wisdom:
"Copy and paste fills the page, coding fills the mind...and the debugger."

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!