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. |
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.