[R] two active RGL device / linked devices

Duncan Murdoch murdoch.duncan at gmail.com
Tue Feb 4 18:56:04 CET 2014

On 04/02/2014 12:08 PM, Omphalodes Verna wrote:
> Dear list!
> My question is, if there is an option in RGL, that two devices can be active. It means, when eg. points in first device is rotated also points in second devies is rotated. For example:
> library(rgl)
> x <- rnorm(1000)
> y <- rnorm(1000)
> z <- rnorm(1000)
> open3d()
> points3d(x,y,z)
> open3d()
> points3d(x,y,z)
> rgl.set(c(1,2), silent=TRUE) #does not work

The demo(stereo) code does something like this.

There are plans for some changes that might make this all easier, but 
they are likely several months away from completion.  (The idea will be 
to allow multiple scenes to be displayed in the same window; there 
should be a lot of flexibility in how the mouse affects them. The 
demo(stereo) method will still be needed to control multiple devices.)

Duncan Murdoch

More information about the R-help mailing list