Learn R Programming

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

rgl (version 0.83-1)

3D visualization device system (OpenGL)

Description

3D visualization device (OpenGL)

Copy Link

Version

Install

install.packages('rgl')

Monthly Downloads

78,983

Version

0.83-1

License

GPL

Maintainer

Duncan Murdoch

Last Published

June 25th, 2025

Functions in rgl (0.83-1)

points3d

add primitive set shape
rgl.postscript

export screenshot
light

add light source
qmesh3d

3D Quadrangle Mesh objects
texts

add text
bg

Set up Background
scene

scene management
ellipse3d

Make an ellipsoid
axes3d

Draw boxes, axes and other text outside the data
par3dinterp

Interpolator for par3d parameters
rgl.primitive

add primitive set shape
rgl.bbox

Set up Bounding Box decoration
spheres

add sphere set shape
rgl-package

3D visualization device system
persp3d

Surface plots
rgl.material

Generic Appearance setup
rgl.pixels

Extract pixel information from window
play3d

Play animation of rgl scene
subdivision3d

generic subdivision surface method
select3d

Select a rectangle in an RGL scene
rgl.user2window

Convert between rgl user and window coordinates
r3d

Generic 3D interface
rgl.snapshot

export screenshot
plot3d

3D Scatterplot
aspect3d

Set the aspect ratios of the current plot
matrices

Work with homogeneous coordinates
rgl-internal

Internal rgl functions and data
par3d

Set or Query RGL Parameters
sprites

add sprite set shape
viewpoint

Set up viewpoint
grid3d

Add a grid to a 3D plot
surface3d

add height-field surface shape
spin3d

Create a function to spin a scene at a fixed rate
rgl.setMouseCallbacks

User callbacks on mouse events
rgl.bringtotop

Assign focus to an RGL window
rgl.surface

add height-field surface shape