Learn R Programming

⚠️There's a newer version (1.3.18) of this package.Take me there.

rgl (version 0.80)

3D visualization device system (OpenGL)

Description

3D visualization device (OpenGL)

Copy Link

Version

Install

install.packages('rgl')

Monthly Downloads

78,983

Version

0.80

License

GPL

Maintainer

Daniel Adler

Last Published

June 25th, 2025

Functions in rgl (0.80)

scene

scene management
par3d

Set or Query RGL Parameters
rgl-package

3D visualization device system
rgl.snapshot

export screenshot
sprites

add sprite set shape
play3d

Play animation of rgl scene
viewpoint

Set up viewpoint
rgl.primitive

add primitive set shape
ellipse3d

Make an ellipsoid
rgl.bbox

Set up Bounding Box decoration
surface3d

add height-field surface shape
plot3d

3D Scatterplot
rgl.material

Generic Appearance setup
spheres

add sphere set shape
points3d

add primitive set shape
rgl.bringtotop

Assign focus to an RGL window
par3dinterp

Interpolator for par3d parameters
rgl.surface

add height-field surface shape
select3d

Select a rectangle in an RGL scene
r3d

Generic 3D interface
matrices

Work with homogeneous coordinates
rgl.setMouseCallbacks

User callbacks on mouse events
rgl-internal

Internal rgl functions and data
subdivision3d

generic subdivision surface method
aspect3d

Set the aspect ratios of the current plot
texts

add text
axes3d

Draw boxes, axes and other text outside the data
light

add light source
bg

Set up Background
grid3d

Add a grid to a 3D plot
rgl.postscript

export screenshot
rgl.user2window

Convert between rgl user and window coordinates
spin3d

Create a function to spin a scene at a fixed rate
persp3d

Surface plots
qmesh3d

3D Quadrangle Mesh objects