Jump to content
  • Advertisement
Sign in to follow this  
stryderjzw

Spotlight Math

This topic is 3669 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'm making a demo and I'd appreciate any help to refresh my math. I am using the Polhemus Fastrak device (http://www.polhemus.com/?page=Motion_Fastrak) and will be writing a simple demo in Java and OpenGL to make a spotlight. The coordinates I am given are x, y, z, azimuth, elevation and roll. I will need to find the intersect with a plane (the background) to find out where the spotlight is to be shined. Can anyone refresh my math or point me to helpful tutorials? I'd much appreciate it. Cheers! stryderjzw

Share this post


Link to post
Share on other sites
Advertisement
If anyone knows where I can get help on these types of problems, it'd be much appreciated as well.

Thanks so much.

Cheers!
stryderjzw

Share this post


Link to post
Share on other sites
yes: www.google.com

ok ... I wan't be only sarcastic, here is one good explanation:

http://http.developer.nvidia.com/CgTutorial/cg_tutorial_chapter01.html

Read chapter about lightning.

Share this post


Link to post
Share on other sites
Thanks! I did google, but this time, I had a hard time putting what I want to find into words. Hopefully, your resource will get me started.

Cheers!
stryderjzw

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!