Thursday, April 29, 2010

The first file is just a silly way to demonstrate the basic usage of shell scripting (bash) in UNIX/Linux env.

The second one, works under cygwin and it set some parameters for raytracer, and then run it.

Download

Friday, April 16, 2010


The Snell and Frensel are implemented. The acoustic effect is also implemented.

Different objects with different Ref. index and nested glass is also done.


Download Code 

For KDTree, on each level the space is getting separated on X, Y, Z axises repeatedly.


The speed increases dramatically when the depth increases, the speedup is shown below for depth=4, 8, 12, 16, 20


with depth 20 or more, there is no considerable speedup for KDTree. Since, the major times is due to loading obj files and build the tree.

Download Code