Learn R Programming

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

rgl (version 0.82)

3D visualization device system (OpenGL)

Description

3D visualization device (OpenGL)

Copy Link

Version

Install

install.packages('rgl')

Monthly Downloads

78,983

Version

0.82

License

GPL

Maintainer

Duncan Murdoch

Last Published

June 25th, 2025

Functions in rgl (0.82)

play3d

Play animation of rgl scene
rgl-internal

Internal rgl functions and data
matrices

Work with homogeneous coordinates
light

add light source
grid3d

Add a grid to a 3D plot
rgl.snapshot

export screenshot
surface3d

add height-field surface shape
rgl.user2window

Convert between rgl user and window coordinates
texts

add text
rgl.material

Generic Appearance setup
qmesh3d

3D Quadrangle Mesh objects
spheres

add sphere set shape
scene

scene management
bg

Set up Background
r3d

Generic 3D interface
axes3d

Draw boxes, axes and other text outside the data
select3d

Select a rectangle in an RGL scene
subdivision3d

generic subdivision surface method
rgl.primitive

add primitive set shape
rgl.bbox

Set up Bounding Box decoration
persp3d

Surface plots
viewpoint

Set up viewpoint
rgl.postscript

export screenshot
rgl.surface

add height-field surface shape
ellipse3d

Make an ellipsoid
rgl.bringtotop

Assign focus to an RGL window
rgl.setMouseCallbacks

User callbacks on mouse events
spin3d

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

Set or Query RGL Parameters
plot3d

3D Scatterplot
rgl.pixels

Extract pixel information from window
points3d

add primitive set shape
rgl-package

3D visualization device system
aspect3d

Set the aspect ratios of the current plot
sprites

add sprite set shape
par3dinterp

Interpolator for par3d parameters