Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Real-time Path Tracer  (Read 4802 times)

0 Members and 1 Guest are viewing this topic.

lolz123

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
Real-time Path Tracer
« on: May 30, 2013, 09:54:42 pm »
Hi!

I started developing a real-time path tracer with SFML + raw OpenGL, and would like to share my results so far.
These renders are full of visual artifacts caused by bugs in the tracer, but as soon as I iron out those bugs I will upload an executable as well as the source code  ;)

All the ray tracing is done in a GLSL shader, and the scene is uploaded as a set of texture buffers containing the spatial partitioning tree and the geometry/material data.

It loads .obj models, and has multi-bounce global illumination.



A version with more samples:

Have you heard about the new Cray super computer?  It’s so fast, it executes an infinite loop in 6 seconds.

eigenbom

  • Full Member
  • ***
  • Posts: 228
    • View Profile
Re: Real-time Path Tracer
« Reply #1 on: May 31, 2013, 12:25:52 am »
sweet. i once upon a time wrote a raytracer in lisp, fun stuff!

lolz123

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
Re: Real-time Path Tracer
« Reply #2 on: June 02, 2013, 01:22:50 am »
Here is a picture from a newer version, which refines the image over time. I will release the source code as soon as I figure out why it won't run in release mode!

Have you heard about the new Cray super computer?  It’s so fast, it executes an infinite loop in 6 seconds.

lolz123

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
Re: Real-time Path Tracer
« Reply #3 on: June 05, 2013, 01:57:56 am »
Here it is rendering the Sponza at a whopping 1 frame / second  :P

Have you heard about the new Cray super computer?  It’s so fast, it executes an infinite loop in 6 seconds.

lolz123

  • Sr. Member
  • ****
  • Posts: 260
    • View Profile
Re: Real-time Path Tracer
« Reply #4 on: June 05, 2013, 02:10:17 am »
And this is how a simple test level looks when everything is a mirror (4 bounces, 3 fps) :o

Have you heard about the new Cray super computer?  It’s so fast, it executes an infinite loop in 6 seconds.

Vovosunt

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
Re: Real-time Path Tracer
« Reply #5 on: June 05, 2013, 07:05:33 pm »
This looks great! :D
Need to make one of my own once I have some free time.