rgl v0.95.1367


Monthly downloads



by Duncan Murdoch

3D Visualization Using OpenGL

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.

Functions in rgl

Name Description
ellipse3d Make an ellipsoid
readSTL Read and write STL (stereolithography) format files
mfrow3d Set up multiple figure layouts in rgl.
rgl.setMouseCallbacks User callbacks on mouse events
plot3d 3D Scatterplot
aspect3d Set the aspect ratios of the current plot
text3d add text
scene3d Saves the current scene to a variable, and displays such variables.
writeOBJ Write Wavefront OBJ format files; read simple ones
subsceneInfo Get information on subscenes
webGLcontrols Write HTML/Javascript code to control a WebGL display.
polygon3d Triangulate and draw a polygon in three dimensions.
par3d Set or Query RGL Parameters
points3d add primitive set shape
rgl.useNULL Report default use of null device.
shapelist3d Create and plot a list of shapes
rgl.attrib Get information about shapes
rgl.select Switch to select mode, and return the mouse position selected.
hook_rgl Hook functions to use with knitr
planes3d add planes
abclines3d Lines intersecting the bounding box
propertySetter Write HTML/Javascript code to control a WebGL display.
par3dinterp Interpolator for par3d parameters
cylinder3d Create cylindrical or "tube" plots.
sprites add sprite set shape
rgl.bringtotop Assign focus to an RGL window
rgl.postscript export screenshot
rgl.user2window Convert between rgl user and window coordinates
triangulate Triangulate a two-dimensional polygon.
rgl-package 3D visualization device system
grid3d Add a grid to a 3D plot
rgl-internal Internal rgl functions and data
GramSchmidt The Gram-Schmidt algorithm
subdivision3d generic subdivision surface method
play3d Play animation of rgl scene
show2d Draw a 2D plot on a rectangle in a 3D scene.
writePLY Write Stanford PLY format files
surface3d add height-field surface shape
.check3d Check for an open rgl window.
subscene3d Create, select or modify a subscene.
bg3d Set up Background
rgl.bbox Set up Bounding Box decoration
bgplot3d Use base graphics for RGL background
light add light source
rgl.pixels Extract pixel information from window
observer3d Set the observer location.
scene scene management
persp3d Surface plots
rgl.material Generic Appearance setup
selectpoints3d Select points from a scene
rgl.snapshot export screenshot
r3d Generic 3D interface
addNormals Add normal vectors to objects so they render more smoothly.
spin3d Create a function to spin a scene at a fixed rate
mesh3d 3D Mesh objects
turn3d Create a solid of rotation from a two-dimensional curve.
matrices Work with homogeneous coordinates
identify3d Identify points in plot.
extrude3d Generate extrusion mesh
spheres3d add sphere set shape
rgl.primitive add primitive set shape
writeWebGL Write scene to HTML.
select3d Select a rectangle in an RGL scene
rgl.open 3D visualization device system
ageSetter Set WebGL scene properties based on the age of components of objects.
axes3d Draw boxes, axes and other text outside the data
viewpoint Set up viewpoint
persp3d.function Plot a function of two variables
rgl.surface add height-field surface shape
rgl.Sweave Integrating rgl with Sweave
No Results!

Last month downloads


License GPL
URL https://r-forge.r-project.org/projects/rgl/
SystemRequirements OpenGL, GLU Library, zlib (optional), libpng (>=1.2.9, optional), FreeType (optional)
BugReports https://r-forge.r-project.org/projects/rgl/
VignetteBuilder knitr
Repository CRAN
Repository/R-Forge/Project rgl
Repository/R-Forge/Revision 1367
Repository/R-Forge/DateTimeStamp 2015-10-06 01:31:02
Date/Publication 2015-10-06 15:43:04
NeedsCompilation yes
Packaged 2015-10-06 01:41:01 UTC; rforge

Include our badge in your README