added specular_power and shininess properties to the sphere record
commitc503ad8eb7bae04ed1b589695506b1a11fb6b12b
authorplouj <plouj@b8c14938-b733-429d-887c-d66ed1f8cd15>
Sat, 12 Jan 2008 23:20:44 +0000 (12 23:20 +0000)
committerplouj <plouj@b8c14938-b733-429d-887c-d66ed1f8cd15>
Sat, 12 Jan 2008 23:20:44 +0000 (12 23:20 +0000)
treebbddb6910390384a7bf19ba1d17798a7193a8cb6
parent3686bc7493acb8ee42ccf2a2168521915d31f449
added specular_power and shininess properties to the sphere record
added a specular_colour property to the point_light record
renamed the colour property of the point_light record to diffuse_colour
removed the diffuse_scale property from the point_light record
added a specular_term function to the lighting_function illumination model
added helper object_specular_power and object_shininess functions
updated the existing point_light in the scene with new properties
added an extra point_light to the scene to show specular lighting
updated the sphere objects in the scene with new properties
updated the scene test

git-svn-id: http://svn.plouj.com/repos/eraytracer@27 b8c14938-b733-429d-887c-d66ed1f8cd15
raytracer.erl