rgl.set()
or useSubscene3d()
.
rgl provides medium to high level functions for 3D interactive graphics, including
functions modelled on base graphics (plot3d()
, etc.) as well as functions for
constructing 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.
The open3d()
function attempts to open a new RGL window,
using default settings specified by the user.
rgl also includes a lower level interface which is described
in the rgl.open help topic. We recommend that you avoid mixing
rgl.*
and *3d
calls.See the first example below to display the ChangeLog.
*3d
interface;
par3d
for a description of scene properties and the rendering
pipeline; rgl.useNULL
for a description of how to
use rgl on a system with no graphics support.file.show(system.file("NEWS", package = "rgl"))
example(surface3d)
example(plot3d)
Run the code above in your browser using DataLab