Displaying 20 results from an estimated 2000 matches similar to: "rgl update: please test!"
2007 Apr 04
1
compile errors with rgl-0.70.570 on FreeBSD
Thank you for your work on rgl.
Reading in another thread about your new (inofficial) version of rgl
(see below) I tried it with R version 2.5.0 alpha (2007-03-31 r40986)
under FreeBSD 7.0-CURRENT. Unfortunately I got the following error:
-------
#R CMD INSTALL rgl_0.70.570.tar.gz
* Installing to library '/usr/local/lib/R/library'
* Installing *source* package 'rgl' ...
2007 Apr 04
1
rgl.postscript generating pdf: floating xlab, font size, transparency
Hello,
I very much enjoy rgl! But when converting the screen output to pdf
using rgl.postscript I have encountered three problems:
(1) I don't seem to have control over font sizes and point sizes (of
added points) in the pdf output. I tried cex from "plot" but that
does not have an effect. Initially I got some plots where fonts and
especially points were far too small. But now
2006 Aug 23
1
rgl package: color of the axes
Hej,
When plotting triangles with rgl.triangles and setting the axes afterwards
with decorate3d(aspect=TRUE), the axes get the color used for the last
triangle plotted.
Example:
rgl.triangles(c(1,2,3),c(1,2,5),c(1,3,2),col="#55FF55")
decorate3d(aspect=TRUE)
Using
decorate3d(aspect=TRUE,col="#000000")
or
decorate3d(aspect=TRUE,color="#000000")
does not help,
2012 Mar 09
2
rgl: cylinder3d() with elliptical cross-section
For a paper dealing with generalized ellipsoids, I want to illustrate in
3D an ellipsoid that is unbounded
in one dimension, having the shape of an infinite cylinder along, say,
z, but whose cross-section in (x,y)
is an ellipse, say, given by the 2x2 matrix cov(x,y).
I've looked at rgl:::cylinder3d, but don't see any way to make it
accomplish this. Does anyone have
any ideas?
thx,
2007 Feb 05
1
rgl.snapshot "failed"
Dear Roger Koenker,
I have had just the same problem (rgl.snapshot returns "failed") on my
Fedora Core 6 system.
It took me quite a while to figure out the solution, so I would like to
post it here to make others' lives easier.
My configuration:
Linux zachariasz.dns6.org 2.6.18-1.2869.fc6 #1 SMP Wed Dec 20 14:51:19
EST 2006 i686 athlon i386 GNU/Linux
Fedora Core 6
R version
2006 May 23
1
shapes in rgl
Does anyone have a way of producing solid shapes other than spheres in
rgl? I am using rgl to produce a simple visualisation of a forest model
results using "lollipops". Its just a bit of fun, but as many of the
trees are pines I would like to depict their crowns as cones. If there
is a solution I need it to work under windows.
Here is the example.
library(rgl)
library(misc3d)
2012 Aug 27
1
RGL plot : lighting problem when triangle3d and persp3d are used in the same plot
Dear all,
I have tried to plot a triangular matrix with the function persp3d(rgl).
for example
z=rbind(c(1,NA,NA,NA),c(5,3,NA,NA),c(4,2,9,NA),c(8,6,5,11))
x=1:4
y=1:4
persp3d(x,y,z,color="gray")
The two extreme points are not plotted (value=1 and value=10). It seems
because the half of the matrix have 'NA' and perp3d need planar
quadrilateral face. So I decided to use the
2011 Jan 31
1
rgl: draw multiple ellipsoids
Dear list,
I'm trying to visualise some ellipsoidal shapes in 3D. Their position,
axes, and angular orientation can be arbitrary. I saw an ellipse3d
function in rgl; however it is heavily oriented towards the
statistical concept of ellipse of confidence, whilst I am just
concerned with the geometrical object.
Below is my current implementation. It is quite slow when creating
many shapes, so
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 Oct 08
5
sort (all columns of) a matrix
Dear R-Help Team,
I have been trying to sort (all columns of) a matrix:
> a<-matrix(a<-c(1,3,4,6,6,4,6,56,4,64,86,39,4,2),length(a),2)
> a
[,1] [,2]
[1,] 1 1
[2,] 3 3
[3,] 4 4
[4,] 6 6
[5,] 6 6
[6,] 4 4
[7,] 6 6
[8,] 56 56
[9,] 4 4
[10,] 64 64
[11,] 86 86
[12,] 39 39
[13,] 4 4
[14,] 2 2
>
I
2009 Feb 16
1
Help with rgl
Hi,
I don't know much about the RGL package, and I have read the
documentation and tried some parameters, with no luck... I would like
to generate a movie from a 3D object (code below), where the vortex A
is closer to the observer, and then the object rotates and the B
vortex gets closer. I would like to capture this movie to a file.
By the way, I am not being able to insert unicode text
2008 Jan 06
3
Can a dynamic graphic produced by rgl be saved?
Dear r-helpers,
Can one save a dynamic graphic produced by rgl, e.g.:
open3d(); x <- sort(rnorm(1000)); y <- rnorm(1000); z <-
rnorm(1000) + atan2(x,y); plot3d(x, y, z, col=rainbow(1000), size=2)
as a dynamic figure that can be embedded in a pdf?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400
2012 Jun 12
4
How do I connect dots in the RGL package?
Hi all,
I just started using the rgl package in R, and I need to know how I connect
the dots I created. A simple line from one co?rdinate (x0,y0,z0) to another
(x1,y1,z1) will do. I tried using the code rgl.lines, but it doesn't accept
lines that don't stem from O (0,0,0). Please help!
Thanks!
--
View this message in context:
2008 Jun 21
1
question on rgl.surface
I'd like to use rgl.surface (or some other function if more
appropriate) to create a horizontal and vertical transparent grey
slice (plane) running through both the x and y origins and extending
across the z axis, i.e. the 3-d equivalent of the normal 2-d
coordinate axes we are all familiar with. The examples for rgl.surface
are a bit more complex than what I need and I am having trouble
2008 Jun 24
2
problem with rgl interactivity with R-2.7.1 and Ubuntu Hardy
I'm trying to use the rgl package on R-2.7.1 running on top of Ubuntu
Hardy amd64. using open3d() and plot3d() I get a plot, but it is not
interactive. Furthermore, changes to par3d("FOV"=my.new.value) do
nothing. I suspect something is wrong with the rendering engine or
interface to it. I do have an Nvidia driver installed and compiz works
correctly on the desktop.
I've
2011 Apr 25
1
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:
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 Nov 21
2
rgl lighting question
Hi, I'm using rgl to generate a 3D surface plot and I'm struggling to
get the lighting correct. Currently the surface gets plotted, but is
very 'shiny'. On rotating the view, I get to see parts of the surface
- but overall I don't see much detail because of the spotlight like
lighting.
I've played around with the specular, ambient and diffuse but I can't
2009 Aug 02
1
Character from Symbol Font on rgl Plot
I want to print characters from the symbol font (or perhaps even Wingdings)
in an rgl 3d plot, but I am having no luck. So, what do I have to do in
order to get this snippet to print out a character from the symbol font?
library(rgl)
open3d()
text3d(1,1,1,"a",adj=c(0.5,0.5),cex=10,family="symbol",font=1)
I am on Windows XP with R 2.9.1.
Tom
--
View this message in
2008 Sep 24
2
rgl: ellipse3d with axes
Last week I asked about data ellipses with rgl:::ellipse3d() with lines
showing the principal axes.
(The goal is a visual demonstration of PCA as a rotation of variable
space to component space.)
I was trying, unsuccessfully, to use princomp() to generate the PCA axes
and plot them using
segments3d:
> > PC <- princomp(trees)
> > sdev <- PC$sdev # component standard