|
|
||
|
|
| Lighting is an option for Graphics3D and related functions that specifies what simulated lighting to use in coloring 3D surfaces. |
| {"Ambient",col} | uniform ambient light of color col | |
| {"Directional",col,pt} | directional light from pt to the center of the bounding box | |
| {"Directional",col,{pt1,pt2}} | directional light along the vector from pt1 to pt2 | |
| {"Point",col,pt} | spherical point light source at position pt | |
| {"Point",col,pt,att} | point light with geometric attenuation att | |
| {"Spot",col,pt, | spotlight at pt aimed at the center with half-angle | |
| {"Spot",col,{pt,tar}, | spotlight at pt aimed at tar with half-angle | |
| {"Spot",col,{pt,tar},{ | spotlight with spot exponent s and attenuation att |
| {x,y,z} | explicit coordinates that move with the graphic | |
| Scaled[{x,y,z}] | scaled coordinates that move with the graphic | |
| ImageScaled[{x,y,z}] | coordinates fixed relative to the final displayed image |
diffuse reflection defined by RGBColor, etc. directives
| ||
specular reflection defined by Specularity directives
| ||
glow defined by Glow directives
| ||