This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level. - lightsource (SceneScript element)

 <lightsource 0/1

This language element may be used inside a  <trait block.

The parameter is an integer, either 0 or 1.

This language element allows you to define an object as a light source; this means that you can put a light inside it, and the light will come through the object. This is useful for making suns, light bulbs, candles, panel lamps, any object that would emit light.

Normally, objects in the tracer block light — so for the special case where one is to emit light, you need to use  <lightsource 1 to make it work. You should remember to use  <lightsource 0 to turn the option back off, or else make use of the  <stack and  <unstack (or their various synonyms,  <push,  <pop and  <pull) commands to save and restore the environment so that all objects defined afterwards do not also pass light.

Keyboard Navigation
, Previous Page . Next Page t TOC i Index o Operators g Glossary
WinImages F/x, Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions
WinImages F/x Manual Version 7, Revision 6, Level A

Valid HTML 4.01 Loose

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7
Page 199