Jump to content
  • Advertisement
Sign in to follow this  
floatingwoods

OpenGL Library for ray-tracing

This topic is 2003 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 wonder which library I should use to add ray-tracing capabilities to my application. The application currently renders via openGl commands. That is all fine and good, but I also need realistic shadows mainly.

 

Instead of going the hard way of implementing the shadows in openGl, which will result in not-so-realistic shadows, I would like to use a ray-tracer. It is ok if it is not real-time. The only restrictions that I have are:

 

- It should be cross-platform

- It should be an API quite similar to openGl

 

What are my options?

 

Thanks for any help!

Share this post


Link to post
Share on other sites
Advertisement

Although I think you'll find both too slow (at least for games). Custom (specific) solution that is not too general can be a lot faster. I'd point you to http://code.google.com/p/understanding-the-efficiency-of-ray-traversal-on-gpus/ where there is published paper + code of high efficient gpu ray tracing (NVidia only).

 

I've adopted the solution in my own library also on AMD and the speed measures are quite close (the thing is you still have to use CUDA on NVidia and OpenCL on AMD, as OpenCL support on NVidia gpus is utter garbage).

Edited by Vilem Otte

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.

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!