|
|
||
|
|
| Lighting is an option for Graphics3D and related functions that specifies what simulated lighting to use in coloring 3D surfaces. |
| Automatic | default lighting schemes | |
| None | no lighting | |
| {s1,s2,...} | light sources s1, s2, ... | |
| "name" | named lighting configuration |
| {"Ambient",col} | uniform ambient light of color col | |
| {"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,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
| ||
| © 2008 Wolfram Research, Inc. |