LightSources

As of Version 6.0, LightSources has been superseded by settings for Lighting.

LightSources

is an option for Graphics3D and related functions that specifies the properties of point light sources for simulated illumination.

Details

  • The basic form is LightSources->{s1,s2,}, where the si are the specifications for each light source.
  • Each si has the form {direction,color}. The direction is specified as {x,y,z}, where the components are taken with respect to the final display area. The x and y are horizontal and vertical in the plane of the display; z is orthogonal to the display. Positive z is in front. Only the relative magnitude of the components is relevant; the overall normalization of the vector is ignored. The color can be specified by GrayLevel, Hue, or RGBColor.
  • Simulated illumination determines the shading of surfaces in three-dimensional pictures.
  • The shading of a particular surface element is computed as a sum of contributions from point light sources, plus a contribution from ambient light.
  • Surface properties are specified by RGBColor, Specularity, and Glow directives.
  • Light reflection properties assumed for surfaces are described in the notes for SurfaceColor.
Wolfram Research (1988), LightSources, Wolfram Language function, https://reference.wolfram.com/language/ref/LightSources.html.

Text

Wolfram Research (1988), LightSources, Wolfram Language function, https://reference.wolfram.com/language/ref/LightSources.html.

CMS

Wolfram Language. 1988. "LightSources." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LightSources.html.

APA

Wolfram Language. (1988). LightSources. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LightSources.html

BibTeX

@misc{reference.wolfram_2023_lightsources, author="Wolfram Research", title="{LightSources}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/LightSources.html}", note=[Accessed: 29-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_lightsources, organization={Wolfram Research}, title={LightSources}, year={1988}, url={https://reference.wolfram.com/language/ref/LightSources.html}, note=[Accessed: 29-March-2024 ]}