WebGL path tracer

Show-off, reference material & tools.
AGPX
Posts: 12
Joined: Sat Jan 11, 2014 4:35 pm

WebGL path tracer

Postby AGPX » Sat Jan 11, 2014 7:46 pm

Hi guys,

take a look a this WebGL code I found (called "Shiny Toy"). It combines path tracing with ray marching. You can update the code and look at the results. Which advantages have the ray marching? :?:

link: https://www.shadertoy.com/view/ldsGWB

- AGPX

Zelcious
Posts: 42
Joined: Mon Jul 23, 2012 11:05 am

Re: WebGL path tracer

Postby Zelcious » Tue Jan 14, 2014 1:51 pm

Ray marching is merely another kind of intersection method, usually used for different kinds of volumetric functions and data, for example distance field iso-surfaces, smoke etc.

Dietger
Posts: 50
Joined: Tue Nov 29, 2011 10:33 am

Re: WebGL path tracer

Postby Dietger » Tue Jan 14, 2014 1:56 pm

Cool, and it gets even better after about 1000 seconds when the floating point precision starts to be insufficient :D

friedlinguini
Posts: 79
Joined: Thu Apr 11, 2013 5:15 pm

Re: WebGL path tracer

Postby friedlinguini » Tue Jan 14, 2014 1:57 pm

See, for example, this tidbit from Inigo Quilez: http://iquilezles.org/www/material/nvsc ... /rwwtt.pdf

AGPX
Posts: 12
Joined: Sat Jan 11, 2014 4:35 pm

Re: WebGL path tracer

Postby AGPX » Fri Jan 17, 2014 12:35 pm

Ok, I see. So for triangles is better to use raytracing. However,the Inigo Quilez results are very cool!


Return to “Tools, Demos & Sources”

Who is online

Users browsing this forum: No registered users and 1 guest