- Updated links and screenshots.
- Coherent look&feel on various platforms ; Tested on WinXp, MacOs, Linux
Now a pure "Phong model is used" Previously the half-vector was used (as approximation of Reflection-Vector); Now a real Reflection Vector is used.
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)
- MacOS
- WinXP