Skip to content
Prev 392 / 919 Next

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 the rgl code has not changed in a long time, so it's likely, although not certain, that the problem lies with CentOS 7.

I know very little about graphics, but it seems to me from looking at the rgl source code that the fundamental work of rgl.snapshot is done by calls to glReadBuffer, glPixelStorei, and glReadPixels, which seem to be functions in the OpenGL library.

Can anyone take a look at this or advise me on how to proceed?

Thanks very much in advance.

-Ben

-----Original Message-----
From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com] 
Sent: Friday, January 08, 2016 8:13 PM
To: Wittner, Ben, Ph.D.; r-help at r-project.org
Subject: Re: [R] rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7
On 08/01/2016 4:13 PM, Wittner, Ben, Ph.D. wrote:
I think you'll need to contact CentOS about this.  That code hasn't changed in rgl in a long time.  It's possible that rgl is wrong, but I'd need more information from them to convince me.

Duncan Murdoch



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.png
Type: image/png
Size: 968 bytes
Desc: test.png
URL: <https://stat.ethz.ch/pipermail/r-sig-fedora/attachments/20160111/ddb795d6/attachment.png>