I have finished 95% percent of the raytracer, and since it is written in C# and doesn't use unsafe code, I could use it with asp.net. A parser interprets XML for the raytracer and produces a final image at the bottom of the page. The online sample lacks textures and meshes, which I plan to add later. Also the documentation of the markup language is not complete, but you can get the hang of it by taking a look at the samples. Everyday I will update the raytracer and parser for the bugs. Please use the report page to report any bug or exception that comes up! You can find the website here.
Showing posts with label realistic graphics. Show all posts
Showing posts with label realistic graphics. Show all posts
Monday, December 24, 2012
Monday, September 17, 2012
Monday, August 27, 2012
C# raytracer from scratch
I am building a complete C# raytracer. It uses my own math library and it will be part of the Disque Engine. The raytracer is close to completion. Right now it can render the basic shapes such as spheres, cubes, cones, cylinders, disks, rectangles, and triangles. I am also trying to implement a ply file reader so that I can render the Stanford bunny or other standard models. After I finish the raytracer I will post tutorials on how to build your own.
Here are some samples(time format is h:m:s.ms) :
Here are some samples(time format is h:m:s.ms) :
Simple image rendered at 256 samples per pixel, total render time: 00:09:43.838
An image of 1000 random spheres rendered at 121 samples per pixel, total render time: 02:13:45.002
I will provide more samples as the raytracer advances.
Subscribe to:
Posts (Atom)