Learn R Programming

x3ptools (version 0.0.4)

x3p_lighter: 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()

Arguments

Examples

Run this code
x3p <- x3p_read(system.file("sample-land.x3p", package="x3ptools"))
if (FALSE) {
x3p_image(x3p) # run when rgl can open window on the device
x3p_lighter() # add a light source
}

Run the code above in your browser using DataLab