Last chance! 50% off unlimited learning
Sale ends in
sprites3d(x, y, z, radius = 1, ...)
particles3d(x, y, z, radius = 1, ...)
rgl.sprites(x, y, z, radius = 1, ...)
rgl.material
particles3d( rnorm(100), rnorm(100), rnorm(100), color=rainbow(100) )
# is the same as
sprites3d( rnorm(100), rnorm(100), rnorm(100), color=rainbow(100),
lit=FALSE, alpha=.2,
textype="alpha", texture=system.file("textures/particle.png", package="rgl") )
Run the code above in your browser using DataLab