rgl

0th

Percentile

3D visualization device system

3D real-time rendering device-driver system

Keywords
dynamic
Usage
rgl.open()     # open new device
rgl.close()    # close current device
rgl.cur()      # returns active device id
rgl.set(which) # set device as active
rgl.quit()     # shutdown rgl device system
Arguments
which
device id
Details

RGL is a 3D real-time rendering device driver system for R. Multiple devices are managed at a time, where one has the current focus that receives instructions from the R command-line. The device design is oriented towards the R device metaphor. If you send scene management instructions, and there's no device open, it will be opened automatically. Opened devices automatically get the current device focus. The focus may be changed by using rgl.set(). rgl.quit() shuts down the rgl subsystem and all open devices, detaches the package including the shared library and additional system libraries.

See Also

rgl.clear, rgl.pop, rgl.viewpoint, rgl.light, rgl.bg, rgl.bbox, rgl.points, rgl.lines, rgl.triangles, rgl.quads, rgl.texts, rgl.surface, rgl.spheres, rgl.sprites, rgl.snapshot

Aliases
  • rgl
  • rgl.open
  • rgl.close
  • rgl.cur
  • rgl.set
  • rgl.quit
Examples
example(rgl.surface)
Documentation reproduced from package rgl, version 0.67-2, License: GPL

Community examples

Looks like there are no examples yet.