Learn R Programming

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

rgl (version 0.93.984)

3D visualization device system (OpenGL)

Description

Provides medium to high level functions for 3D interactive graphics, including functions modelled on base graphics (plot3d(), etc.) as well as functions for constructing representations of geometric objects (cube3d(), etc.). Output may be on screen using OpenGL, or to various standard 3D file formats including WebGL, PLY, OBJ, STL as well as 2D image formats, including PNG, Postscript, SVG, PGF.

Copy Link

Version

Install

install.packages('rgl')

Monthly Downloads

84,310

Version

0.93.984

License

GPL

Maintainer

Duncan Murdoch

Last Published

October 8th, 2013

Functions in rgl (0.93.984)

abclines

Lines intersecting the bounding box
rgl.bbox

Set up Bounding Box decoration
rgl.setMouseCallbacks

User callbacks on mouse events
rgl.surface

add height-field surface shape
r3d

Generic 3D interface
par3d

Set or Query RGL Parameters
light

add light source
par3dinterp

Interpolator for par3d parameters
cylinder3d

Create cylindrical or "tube" plots.
attributes

Get information about shapes
rgl.primitive

add primitive set shape
identify3d

Identify points in plot.
axes3d

Draw boxes, axes and other text outside the data
scene3d

Saves the current scene to a variable, and displays such variables.
turn3d

Create a solid of rotation from a two-dimensional curve.
texts

add text
spin3d

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

Make an ellipsoid
plot3d

3D Scatterplot
polygon3d

Triangulate and draw a polygon in three dimensions.
aspect3d

Set the aspect ratios of the current plot
sprites

add sprite set shape
shapelist3d

Create and plot a list of shapes
writePLY

Write Stanford PLY format files
spheres

add sphere set shape
rgl.bringtotop

Assign focus to an RGL window
rgl.pixels

Extract pixel information from window
rgl.useNULL

Report default use of null device.
rgl.user2window

Convert between rgl user and window coordinates
rgl.material

Generic Appearance setup
play3d

Play animation of rgl scene
extrude3d

Generate extrusion mesh
rgl.postscript

export screenshot
selectpoints3d

Select points from a scene
surface3d

add height-field surface shape
rgl.select

Switch to select mode, and return the mouse position selected.
mesh3d

3D Mesh objects
rgl-internal

Internal rgl functions and data
matrices

Work with homogeneous coordinates
scene

scene management
planes

add planes
.check3d

Check for an open rgl window.
grid3d

Add a grid to a 3D plot
addNormals

Add normal vectors to objects so they render more smoothly.
triangulate

Triangulate a two-dimensional polygon.
rgl.Sweave

Integrating rgl with Sweave
readSTL

Read and write STL (stereolithography) format files
subdivision3d

generic subdivision surface method
select3d

Select a rectangle in an RGL scene
viewpoint

Set up viewpoint
writeWebGL

Write scene to HTML.
points3d

add primitive set shape
rgl-package

3D visualization device system
writeOBJ

Write Wavefront OBJ format files
persp3d

Surface plots
rgl.snapshot

export screenshot
bg

Set up Background