search for: glpixelstorei

Displaying 6 results from an estimated 6 matches for "glpixelstorei".

2016 Jan 11
2
rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7
...ow) 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:...
2016 Jan 11
0
rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7
...he 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? Are you using the EPEL R 3.2.3 builds? What version of Centos 7? 7.2? Is the NVIDIA driver in play? What version of the NVIDIA driver are you using? ~tom...
2019 Jan 16
4
[Bug 109371] New: Textures seem to be byteswapped on big endian architectures
...ED_BYTE. Matplotlib will do this when blit=True for the plot routines, and several games will have this issue. In particular, for Legacy Doom, I've found that if I swap the textures so that they are A,B,G,R just before the textures are mapped, everything is correct. I also found that doing glPixelStorei(GL_UNPACK_BYTES, GL_TRUE) and choosing GL_UNSIGNED_INT_8_8_8_8 as the representation seemed to also remedy this. I found that the _REV variant didn't byte swap the textures back to the incorrect ordering (this is probably a different bug). Easiest way to demonstrate the bug: svn co https://sv...
2016 Jan 08
5
rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7
Hello, As an example, I ran the following code: library("rgl") example(plot3d) rgl.snapshot("test.png") The full plot is visible in the window titled RGL device 1 [Focus], but only a small
2016 Jan 08
5
rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7
Hello, As an example, I ran the following code: library("rgl") example(plot3d) rgl.snapshot("test.png") The full plot is visible in the window titled RGL device 1 [Focus], but only a small
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
..._screen->h, 0, -1,1); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); glClear(GL_COLOR_BUFFER_BIT); - ds->data = pixels; if (texture_ref) { glDeleteTextures(1, &texture_ref); @@ -90,27 +88,6 @@ glBindTexture(GL_TEXTURE_RECTANGLE_ARB, texture_ref); glPixelStorei(GL_UNPACK_LSB_FIRST, 1); switch (ds_get_bits_per_pixel(ds)) { - case 8: - if (ds->palette == NULL) { - tex_format = GL_RGB; - tex_type = GL_UNSIGNED_BYTE_3_3_2; - } else { - int i; - GLushort paletter[2...