VLFLplotlight
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Visualization
Introduced first in SolidGeometry 1.0, Creation date: 2012-06-08, Last change: 2025-09-14
switches the light and renderer on for VLFLplots and VLFLplots4
Description
VLFLplotlight support lighting and transparency
mode=0; Faceted and flat
mode=1; shaded and interpolated
See Also: VLFLplot
, VLFLplot
, VLFLplots4
, VLFLcamlight
, rotate3dlight
Example Illustration
Syntax
VLFLplotlight([mode,al,goh,c])
Input Parameter
mode: | | Rendering mode; |
al: | | Transpanencecy |
goh: | | graphic object handle; default is gcf |
c: | | color of the object only it is a patch |
Examples
VLFLplotlight (0,0); % Mesh
VLFLplotlight (0,1); % Facets =VLFLplotlight (0);
VLFLplotlight (1,1); % Rendered =VLFLplotlight (1);
VLFLplotlight (1,0.5); % Transparancy
VLFLplotlight (1,0); % Invisible
ginput (1); VLFLplotlight (0,1,gco); % Current patch as facets
ginput (1); VLFLplotlight (1,1,gco); % Current patch as shaded
ginput (1); VLFLplotlight (1,0.9,gco,'r'); % Current patch as transparent red
Copyright 2012-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