Displaying 20 results from an estimated 6000 matches similar to: "Offscreen rendering in RGL?"
2010 Nov 03
1
rgl.snapshot() : no longer works?
Hi all,
> library(rgl)
> plot3d(1,1,1)
> snapshot3d("somefile.png")
Error in rgl.snapshot(...) :
pixmap save format not supported in this build
Why does this no longer work?
thanks,
Remko
> sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252
[3]
2010 Dec 17
2
rgl: coordinating and saving viewpoints, zoom, scale for multiple images
Context: I have two or more rgl-based views of a given data set, perhaps
fitting different
models, or showing different things across views. I want to be able to
hand-rotate, zoom, scale
one view to something I like, and then show the other views with
matching viewpoints and scaling.
so that one could flip back/forth among graphs and see only the relevant
differences.
In 2D, all this usually
2010 Apr 27
2
how to set chart output size in rgl (surface3d)?
Hi R users,
Does anyone know how to change the size of 3d charts? I'm using surface3d in
rgl package, opening a new window each time to display the chart. I want it
so that the chart fills the whole window, because when I output it to png, I
don't want all the white space around the chart (right now, i'm getting this
white "border" around the chart because the chart is
2008 Mar 01
1
How to chain user mouse handlers in rgl
Dear Rglers,
With rgl, I would like to set marker when a button is pressed, but leave the
standard trackball handling otherwise. Thanks to Duncan and Oleg for helping
me handling key down.
How do I say in a custom mouse handler "after having done your work, forward
to standard trackball once only"? The example below shows the idea, but it
works only once, then reverts to standard
2008 Sep 17
1
rgl: How to position a window during open3d call
Dear all,
The documentation on the function open3d in the rgl package, reads:
open3d opens a new rgl device, and sets the parameters as requested.
I want the new rgl device (window) to be sized and positioned in a specific
place on my screen. So, I try to set the "windowRect" parameter as follows:
> library("rgl")
> open3d(windowRect=c(100,100,500,500))
2009 Jul 09
2
Save rgl plot3d Graph as Image
Dear Users:
I wish to save 3d scatter plots I have generated using the plot3d command in
the rgl package. Any image format such as .tiff would work. Can anyone tell
me how to do this?
Thank you
[[alternative HTML version deleted]]
2012 Apr 20
1
Interactive stereoscopic 3d rendering with RGL plot3d?
Dear R Users,
i' wondering, if there is any possibility to render interactive stereoscopic 3d plots in R and use the
functionality of those new 3d displays (e.g. with poarisation technology) like this one:
> http://shop.fujitsu.com/de/displays/display-p23t-6p-fpr-3d
Does anyone know if there are developments toward this feature? Or perhaps someone
know how to implement such a
2013 Oct 07
1
search for variable in package in .GlobalEnv first
Hi
First, sorry if I get the terminology wrong, I am still quite new to the
concept of using environments and workspaces.
Say I have a statement in a package SIM like
sim <- TYPE
where the variable TYPE is initialized in the package to
e.g. "exponential" (SIM::TYPE == "exponential").
Now, I want to give the user the option of specifying the variable TYPE,
but to the
2009 Sep 21
1
Three dimensional view of the profiles using 'rgl' package (example of 3 dimensional graphics using rgl package).
Hi there,
Anyone has an idea how to put those two sets of code together so that I can get a 3-dimensional picture that includes points instead of 2 separate pictures which doesnt make that much sense at the end.
#Let's say that these are the data we would like to plot:
A<-c(62,84,53)
B<-c(64,82,55)
C<-c(56,74,41)
D<-c(46,68,38)
E<-c(71,98,72)
data<-rbind(A,B,C,D,E)
2008 Dec 04
1
rgl.snapshot() on Vista
Dear Daniel (and Duncan):
back in January you reported that you were having trouble saving an rgl
movie on Vista. I don't know if you ever got that resolved, but a
student of mine is now having a similar problem, not specific to dynamic
graphics (which would have to be a problem outside of rgl anyway). He
may report more on the symptoms, but essentially rgl.snapshot produces
black or funky
2014 Oct 30
1
'library' or 'require' call not declared from: 'rgl'
I'm checking a new release of vcdExtra via win builder with R-devel
2014-10-29 r66897
and have run into a Warning I don't know how to fix.
I have one S3 generic, mosaic3d() that uses rgl and don't want to have
rgl always loaded
via Depends:. Instead, the mosaic3d.default() method includes
if (!require(rgl)) stop("rgl is required")
This always worked in the past, but
2008 Mar 16
3
rgl build warnings and loading error on Linux
Dear useRs,
I have several problems in using rgl-0.77 (and recent earlier
versions) on Gentoo Linux with a custom-built v. 2.6.22 kernel.
Currently I use R-2.6.1.
When I build rgl,
# R CMD INSTALL "/home/liviu/inst/dwn/R/rgl_0.77.tar.gz"
or
install.packages("rgl", dependencies=TRUE, method ="wget"),
I notice the following warning messages:
i686-pc-linux-gnu-g++
2023 Jan 26
1
Failing to install the rgl package
Hi,
I try to execute the seven lines of code below to plot a graph. But I
am failing as the messages below show. Where am I going wrong?
install.packages("rgl")
library(rgl)
y_hat = X%*%B_hat
open3d(windowRect = c(100,100,900,900),family = "serif")
color = rainbow(length(y_hat))[rank(y_hat)]
plot3d(educ,exper,wage,col = color,type = "s",size = 0.5,xlim =
2007 Dec 11
1
Error with rgl loading in BATCH mode
Dear all,
I'm trying to run a script that requires KernSmooth in BATCH mode but I get
an error while loading rgl library that is needed by KernSmooth. Actually I
have to run several batch files through a queue of a cluster, so I wouldn't
need graphics at all.
I installed the latest releases of R (2.6.1) and rgl on my CentOS 4.2 Linux
(clone of Red Hat EL) endowed with Rocks 4.2.1 suite
2014 Sep 13
1
Picking 'rgl' as source package instead of 'r-cran-rgl'
Hi,
$ more /etc/apt/sources.list.d/additional-repositories.list
deb http://www.stats.bris.ac.uk/R/bin/linux/debian wheezy-cran3/
deb-src http://www.stats.bris.ac.uk/R/bin/linux/debian wheezy-cran3/
$ sudo apt-get update
$ sudo apt-get install r-cran-rgl # works great
$ sudo apt-get build-dep r-cran-rgl
Reading package lists... Done
Building dependency tree
Reading state information...
2008 Oct 27
3
Pkg rgl: installation fails because of x11
Hello
Im trying to install package rgl in a freshly installed Ubuntu 8.04
system. I have a problem (actually is has been reported three times on
the R-list but the answers were too complicated for me) when
installing:
configure: using libpng dynamic linkage
checking for X... no
configure: error: X11 not found but required, configure aborted.
ERROR: configuration failed for package 'rgl'
2016 Jan 11
2
rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7
Dear R-SIG-Fedora,
I'm finding that on CentOS 7, rgl.snapshot (a function in the R package rgl, which provides an R interface to the OpenGL 3-d graphics library) only captures a small portion what's visible in the RGL device window. This does not happen with the same R and rgl versions on CentOS 5.3 (see details below).
The maintainer of rgl, Duncan Murdoch, responded (see below) that
2010 Dec 15
3
Help with RGL package problem
Hello,
I have been experiencing an odd error with the RGL package that I cannot
figure out. I have searched without luck for fixes to this problem on
Rseek, Google, and the R-help-list.
RGL used to work on my machine about a month ago. It was a very useful
tool. The graphics device will not initialize now, and I cannot figure out
why.
When I try to load the package using ...
>
2006 Dec 11
2
updating rgl on debian stable
Running: R Version 2.3.1 (2006-06-01), debian stable
I'm testing an application that uses rgl (installed with apt-get install
r-cran-rgl)
but fails, at least partly because that application uses a more current
version.
There is also a mysterious error msg from Xlib:
> library(car)
> library(rgl)
> iris.mod <- lm(cbind(Sepal.Length, Sepal.Width, Petal.Length,
Petal.Width) ~
2009 Apr 08
1
persp3d and rgl.viewpoint for rotating 3D plots
Dear R-users,
within the rgl-package, I would have a question about the usage of persp3d in combination of rgl.viewpoint.
I am not able to figure out how to let a 3D plot rotating around likewise the example in ?rgl.viewpoint. It seems that when I use persp3d(...) I see something on my screen, which is different from what I get when it's rotating. Is there any different behavior between