SGshadelight

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Auxiliary function
Introduced first in SolidGeometry 4.4, Creation date: 2018-11-29, Last change: 2025-09-14

sets shading and lightinhg

Description

In contrast to other calls, this functions shows an example result only if there is an output results
For face coloring and shading only the combination values 1, 2, 4 are recommended.
Interpolation and Gouraud shading create problems with coulored faces and are useful only in combination with colored vertices.

See Also: camlightTL , VLFLplotlight , SGshowcolors , rotate3dlight

Example Illustration

 missing image of SGshadelight(nr)

Syntax

nr=SGshadelight(nr)

Input Parameter

nr: 1..9 for different shadings

Output Parameter

nr: use less parameter; used only for creating an example result

Examples

A=SGshadelight(4)



Copyright 2018-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21