
bg3d(...)
rgl.bg( sphere = FALSE, fogtype = "none", color=c("black","white"),
back="lines", ...)
rgl.material
for details.rgl.material
for details.rgl.material
for details.rgl.material
rgl.open()
# a simple white background
bg3d("white")
# the holo-globe (inspired by star trek):
rgl.bg(sphere=TRUE, color=c("black","green"), lit=FALSE, back="lines" )
# an environmental sphere with a nice texture.
rgl.bg(sphere=TRUE, texture=system.file("textures/sunsleep.png", package="rgl"),
back="filled" )
Run the code above in your browser using DataLab