Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Library for ray-tracing


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
5 replies to this topic

#1 floatingwoods   Members   -  Reputation: 292

Like
0Likes
Like

Posted 26 March 2013 - 09:41 AM

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!



Sponsor:

#2 godmodder   Members   -  Reputation: 706

Like
2Likes
Like

Posted 26 March 2013 - 10:28 AM

I have used Embree and had very good experiences with it. It is also very fast.



#3 claesson92   Members   -  Reputation: 408

Like
1Likes
Like

Posted 26 March 2013 - 10:29 AM

http://www.nvidia.com/object/optix.html



#4 Vilem Otte   Crossbones+   -  Reputation: 1469

Like
1Likes
Like

Posted 26 March 2013 - 11:03 AM

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, 26 March 2013 - 05:51 PM.

My current blog on programming, linux and stuff - http://gameprogrammerdiary.blogspot.com


#5 floatingwoods   Members   -  Reputation: 292

Like
0Likes
Like

Posted 27 March 2013 - 02:20 PM

Thank you for the suggestions!

 

I'll mention this again, but what about openRL? ( https://www.caustic.com/ )



#6 griffin77   Members   -  Reputation: 125

Like
0Likes
Like

Posted 01 April 2013 - 05:43 PM

OpenRL is a good option if you are familiar with the OpenGL API. As it is heavily based on OpenRL.

 

There is also a *fairly* responsive support forum:

https://developer.caustic.com/forums/forumdisplay.php?1-Developer-Forums






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