rgl.primitive {rgl} | R Documentation |
Adds a shape node to the current scene
rgl.points(x, y, z, ... ) rgl.lines(x, y, z, ... ) rgl.linestrips(x, y, z, ...) rgl.triangles(x, y, z, ... ) rgl.quads(x, y, z, ... )
x, y, z |
coordinates |
... |
Material properties. See rgl.material for details. |
Adds a shape node to the scene. The appearance is defined by the material properties.
See rgl.material
for details.
rgl.material
,
rgl.spheres
,
rgl.texts
,
rgl.surface
,
rgl.sprites
rgl.clear() rgl.points(rnorm(1000), rnorm(1000), rnorm(1000), color=heat.colors(1000), size=2)