Version 2 of Ray Lab

Updated 2007-08-07 19:54:11 by dkf

ABU 7-aug-2007

Based on work of G.Sookahet Simple raytracing, here is a more interactive program.

Shading now uses the "Blinn-Phong Shading Model" for handling specular reflection, too.

Note that the geometrical model has been simplified (this implies faster processing-time).

  • The sphere is centered in {0,0,0}, with radius 1.
  • The viewer and the light-source are at infinity (i.e. all light-rays and view-rays have a constant direction)

http://web.tiscali.it/irrational/tcl/archive/RayLab-01.png

Download at [http://web.tiscali.it/irrational/tcl/archive/RayLab-1.0.zip ]

DKF: Neat!


[Category Graphics|Category Mathematics]