x3p_lighter {x3ptools}R Documentation

Lighten active rgl object

Description

Make the currently active rgl object lighter. Adds a light source. Up to eight light sources can be added. Alternatively, any rgl light source can be added (see light3d).

Usage

x3p_lighter()

Examples

x3p <- x3p_read(system.file("sample-land.x3p", package="x3ptools"))
## Not run: 
x3p_image(x3p) # run when rgl can open window on the device
x3p_lighter() # add a light source

## End(Not run)

[Package x3ptools version 0.0.4 Index]