My second ray tracer actually...

Starting easy.
voxel
Posts: 6
Joined: Tue Jun 12, 2012 7:21 pm
Location: New Jersey, USA
Contact:

My second ray tracer actually...

Postby voxel » Fri Jul 13, 2012 2:07 am

I have been slowly working through the PBRT book and have been rewriting some of the millions of wrong design decisions I made the first time I implemented my toy JavaScript ray tracer. I want to make a real general purpose JavaScript ray tracing engine because - who really needs performance? :lol:

Currently, it runs either within the browser or from the command-line (using node.js) but there is no scene description language yet. It reads Wavefront objects and material libraries. The eventual goal is to create an actual (non-trivial) path tracer implemented in pure JS.

Maybe it will be a good research or teaching tool once the interfaces are stable enough to release publicly. It could be an easy way to try out new things out without having a full development environment + libraries at hand.

Some sample images:
http://imgur.com/a/k3aQR

An interactive demo of the ray tracer (alpha quality, Google Chrome web browser very much preferred):
http://fluxjs.s3-website-us-east-1.amazonaws.com/

NOTE: You must first select a model from the nav-bar up top. I know it isn't the most intuitive thing but the interface is just a rough working demo at the moment.

Jon

beason
Posts: 47
Joined: Sat Dec 10, 2011 1:58 am
Location: Los Angeles, CA

Re: My second ray tracer actually...

Postby beason » Sat Jul 14, 2012 12:16 am

Rendering stuck at 90% in firefox 13 (black image)


Return to “My First...”

Who is online

Users browsing this forum: No registered users and 1 guest