x3p_lighter: Lighten active rgl object

View source: R/x3p_mask_legend.R

x3p_lighterR 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)

heike/x3ptools documentation built on Oct. 12, 2024, 2:33 p.m.