ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: setLight

setLight(b) turns realistic lightning of 3D objects on (true) or off (false).

Generally, geometric objects such as boxes, cones, spheres and cylinders that are drawn using the special functions drawBox3, drawCone, drawSphere, and drawCylinder are best viewed with lightning, whereas curves and point sets are best drawn without lightning.

Examples: setLight(true) or setLight(false)