Displaying 1 result from an estimated 1 matches for "pyrcolor".
Did you mean:
precolor
2009 Feb 16
1
Help with rgl
...pture this movie to a file.
By the way, I am not being able to insert unicode text with text3d.
rgl 0.82, R 2.8.1, Windows Vista.
Any help would be appreciated.
Code follows:
library(rgl)
open3d()
coord.1=c(0,100,0)
coord.2=c(100,100,0)
coord.3=c(100,0,0)
coord.4=c(0,0,0)
coord.5=c(50,50,70)
pyrcolor="red"
triangles3d(rbind(coord.1,coord.4,coord.5),color=pyrcolor)
triangles3d(rbind(coord.1,coord.2,coord.5),color=pyrcolor)
triangles3d(rbind(coord.2,coord.3,coord.5),color=pyrcolor)
triangles3d(rbind(coord.3,coord.4,coord.5),color=pyrcolor)
quads3d(rbind(coord.1,coord.2,coord.3,coord.4),...