Skip to content
Prev 257898 / 398502 Next

Defining origin for rotation in RGL device

Hi all,

How can I tell RGL to set the center for the rotation to the origin of  the coordinate system (0,0,0).
It seems that the default is to use the center of the display not the origin of the coordinate system.

open3d()
lines3d(c(0, 1), c(0,0), c(0,0))
lines3d(c(0,0), c(0, 1), c(0,0))
lines3d(c(0,0), c(0,0), c(0, 1))

TIA
Mark

???????????????????????????????????????
Mark Heckmann
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com