search for: list_usermatrix

Displaying 1 result from an estimated 1 matches for "list_usermatrix".

2008 Oct 24
1
movie3d function in the rgl package
...er 2 weeks fighting with the function + a bag of coffee, I found this function really helpful and I WANTED TO SHARE since I didn't find anything like that in the web. Step 1: set the zooming parameters to each view you want in a separate vector (list_zooming) while accumulating the views in the list_userMatrix #rotating v=seq(from=1,to=61,by=30)#2.5) for (i in 1:length(v)) { rgl.viewpoint(270+v[i],80-(v[i]/1)) M <- par3d("userMatrix") #This is an example who runs perfectly list_userMatrix[[k]]=M; k=k+1; } list_z=rep(1,length(v)); list_zooming=c(list_zooming,list_z) #zoomi...