Real time ray tracing (amazing!)

check it out:

where is part 2?

I ve been searching for it but no success. The video is an extract from the GDC 2008.

its cool!

That makes the raytracer I did in a fragment shader look kind of silly in comparison  :frowning:



http://www.youtube.com/watch?v=7LvjWGolzQk

Still neat, and that was in jME?

those demos are nothing you run on your home comp (yet) :slight_smile:



the lighting and shadows in these movies are raytraced, and rendered in jME (doesnt look spectacular i know):

http://www.youtube.com/watch?v=plnpa_LLQP8

http://www.youtube.com/watch?v=GZppjypbhDY

Wow MrCoder, that's what you've been working on? I'm very impressed, that looks awesome! can you go into some explanation about what you've done and what you have left to do?

actually, this is the latest experiment i've been working on:

http://www.youtube.com/watch?v=aLDOIB69VAQ

http://www.youtube.com/watch?v=d_EKE_JTyY8





What i've done with the raytracer(i'm using the Java raytracer Sunflow) is this:

  • Convert the loaded jme scenegraph into something sunflow understands at startup
  • Raytrace with the same camera setup as the current jme camera
  • Raytrace to an extremely low resolution to make it "real time"
  • Render normals and depth in full display resolution to a floating point(16f) texture(in jME)
  • Use the floating point texture information to do bilateral upsampling and smoothing on the raytraced image to preserve the high resolution details
  • Blend upsampled texture(containing the lighting) with the main scene



    done! :slight_smile:

That NPR stuff is pretty cool. How are you doing that? So many questions…

These full size images might show it better:









Only the front layer:





I think I’m gonna write up a paper on it, just for good practice, and someone might enjoy the nasty details s

MrCoder said:

those demos are nothing you run on your home comp (yet) :)

the lighting and shadows in these movies are raytraced, and rendered in jME (doesnt look spectacular i know):
http://www.youtube.com/watch?v=plnpa_LLQP8
http://www.youtube.com/watch?v=GZppjypbhDY


It looks incredibly realistic... almost as if you had real clay figures there and were lighting them and videotaping in real-time.