rgl.primitive              package:rgl              R Documentation

_a_d_d _p_r_i_m_i_t_i_v_e _s_e_t _s_h_a_p_e

_D_e_s_c_r_i_p_t_i_o_n:

     Adds a shape node to the current scene

_U_s_a_g_e:

     rgl.points(x, y, z, ... )
     rgl.lines(x, y, z, ... )
     rgl.triangles(x, y, z, ... )
     rgl.quads(x, y, z, ... )

_A_r_g_u_m_e_n_t_s:

 x, y, z: coordinates

    ... : Material properties. See 'rgl.material' for details.

_D_e_t_a_i_l_s:

     Adds a shape node to the scene. The appearance is defined by the
     material properties. See 'rgl.material' for details.

_S_e_e _A_l_s_o:

     'rgl.material', 'rgl.spheres', 'rgl.texts', 'rgl.surface',
     'rgl.sprites'

_E_x_a_m_p_l_e_s:

     rgl.clear()
     rgl.points(rnorm(1000), rnorm(1000), rnorm(1000), color=heat.colors(1000), size=2)

