Re: [R] two active RGL device / linked devices

2014-02-04 Thread Duncan Murdoch

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

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] two active RGL device / linked devices

2014-02-04 Thread Omphalodes Verna
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

Thanks for suggestions.

OV

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.