Learn R Programming

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

rgl (version 0.77)

3D visualization device system (OpenGL)

Description

3D visualization device (OpenGL)

Copy Link

Version

Install

install.packages('rgl')

Monthly Downloads

76,153

Version

0.77

License

GPL

Maintainer

Daniel Adler

Last Published

March 28th, 2025

Functions in rgl (0.77)

rgl.bbox

Set up Bounding Box decoration
subdivision3d

generic subdivision surface method
bg

Set up Background
qmesh3d

3D Quadrangle Mesh objects
spin3d

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

add light source
rgl.user2window

Convert between rgl user and window coordinates
par3d

Set or Query RGL Parameters
sprites

add sprite set shape
axes3d

Draw boxes, axes and other text outside the data
rgl.snapshot

export screenshot
r3d

Generic 3D interface
rgl.material

Generic Appearance setup
scene

scene management
plot3d

3D Scatterplot
select3d

Select a rectangle in an RGL scene
points3d

add primitive set shape
aspect3d

Set the aspect ratios of the current plot
grid3d

Add a grid to a 3D plot
surface3d

add height-field surface shape
par3dinterp

Interpolator for par3d parameters
rgl-package

3D visualization device system
persp3d

Surface plots
rgl-internal

Internal rgl functions and data
viewpoint

Set up viewpoint
matrices

Work with homogeneous coordinates
ellipse3d

Make an ellipsoid
play3d

Play animation of rgl scene
rgl.primitive

add primitive set shape
rgl.surface

add height-field surface shape
rgl.bringtotop

Assign focus to an RGL window
spheres

add sphere set shape
rgl.postscript

export screenshot
rgl.setMouseCallbacks

User callbacks on mouse events
texts

add text