<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/glgraphics/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/glgraphics/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/glgraphics/bugs/</id><updated>2012-02-17T22:19:01Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>glValidateProgramARB crashes JVM?</title><link href="https://sourceforge.net/p/glgraphics/bugs/26/" rel="alternate"/><published>2012-02-17T22:19:01Z</published><updated>2012-02-17T22:19:01Z</updated><author><name>Andres Colubri</name><uri>https://sourceforge.net/u/acolubri/</uri></author><id>https://sourceforge.net993c97269dab03bc4e1921756275a414cad61d20</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Potential issue with integrated intel cards.&lt;/p&gt;
&lt;p&gt;As reported by JeffG:&lt;/p&gt;
&lt;p&gt;"gl.glValidateProgramARB(programObject);" on Intel Series 4 video cards.  It would crash java.  I'm not sure how important it is... the OpenGL site says "This function is typically useful only during application development."  So I've commented it out in my code and thus far have seen not adverse impact on the app.  Thought I would share in case users of GLGraphics run into similar issues. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GLTexture filter leaves last texture unit as active</title><link href="https://sourceforge.net/p/glgraphics/bugs/25/" rel="alternate"/><published>2012-01-29T04:32:28Z</published><updated>2012-01-29T04:32:28Z</updated><author><name>Andres Colubri</name><uri>https://sourceforge.net/u/acolubri/</uri></author><id>https://sourceforge.net6c2101fe6834f59126bba6ba5426d253a1aba294</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In GLTextuerFilter.unbindSrcTex(), in the case that the filter reads several source textures, the last texture unit is left as active. The first one (GL.GL_TEXTURE0), should be left active instead.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Issues with transparency in offscreen surfaces</title><link href="https://sourceforge.net/p/glgraphics/bugs/24/" rel="alternate"/><published>2011-10-26T12:54:09Z</published><updated>2011-10-26T12:54:09Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net03ed88a269c9b14408b5019f275e4b565fc4d024</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Setting transparent background doesn't result in a see-through image when rendering the GLGraphicsOffScreen with image(). Also, drawing transparent shapes in the offscreen canvas result in transparency when drawing the canvas with image().&lt;/p&gt;
&lt;p&gt;See this thread:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://forum.processing.org/topic/glgraphics-offscreenbuffer-aplha-semitransparency-bug" rel="nofollow"&gt;https://forum.processing.org/topic/glgraphics-offscreenbuffer-aplha-semitransparency-bug&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Images in GLGraphicsOffscreen are scaled down</title><link href="https://sourceforge.net/p/glgraphics/bugs/23/" rel="alternate"/><published>2011-10-14T03:08:56Z</published><updated>2011-10-14T03:08:56Z</updated><author><name>Andres Colubri</name><uri>https://sourceforge.net/u/acolubri/</uri></author><id>https://sourceforge.net37d53ffd149aff7e73ae435f345ca55bbaf01a1f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;They appear 50% smaller than the specified size in the image() or render() method. Code that shows the problem:&lt;/p&gt;
&lt;p&gt;import processing.opengl.*;&lt;br /&gt;
import codeanticode.glgraphics.*;&lt;/p&gt;
&lt;p&gt;boolean useGL = false; &lt;br /&gt;
GLGraphicsOffScreen off;&lt;br /&gt;
GLTexture tex; &lt;/p&gt;
&lt;p&gt;void setup() {&lt;br /&gt;
size(1000, 600, GLConstants.GLGRAPHICS);&lt;br /&gt;
off = new GLGraphicsOffScreen(this, width, height);&lt;br /&gt;
PImage img = createImage(width, height, RGB);&lt;br /&gt;
img.loadPixels();&lt;br /&gt;
for (int y=0; y&amp;lt;img.height; y++) {&lt;br /&gt;
for (int x=0; x&amp;lt;img.width; x++) {&lt;br /&gt;
int loc = x + y * img.width;&lt;br /&gt;
img.pixels[loc] = color(map(y, 0, height, 255 ,0),map(x, 0, width, 255 ,0),map(y, 0, height, 255 ,0));&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
img.updatePixels();&lt;br /&gt;
tex = new GLTexture(this);&lt;br /&gt;
tex.putImage(img);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;void draw() {&lt;br /&gt;
off.beginDraw();&lt;br /&gt;
off.background(255, 0, 0);&lt;br /&gt;
if (useGL) off.beginGL();&lt;br /&gt;
off.image(tex, 0, 0, width, height);&lt;br /&gt;
off.fill(0);&lt;br /&gt;
off.ellipse(mouseX, mouseY, 20, 20);&lt;br /&gt;
if (useGL) off.endGL();&lt;br /&gt;
off.endDraw();&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;image(off.getTexture(), 0, 0);&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>applyMatrix() method dont implemented</title><link href="https://sourceforge.net/p/glgraphics/bugs/22/" rel="alternate"/><published>2011-10-05T18:59:29Z</published><updated>2011-10-05T18:59:29Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netdfad68aba0fb19aeed9da2434c8e2ca290fda30d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;applyMatrix() and setMatrix() methods dont implemented&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GL state bleed</title><link href="https://sourceforge.net/p/glgraphics/bugs/21/" rel="alternate"/><published>2011-09-21T03:18:54Z</published><updated>2011-09-21T03:18:54Z</updated><author><name>Andres Colubri</name><uri>https://sourceforge.net/u/acolubri/</uri></author><id>https://sourceforge.net81824097670a1b15f8daec375900e43e449d6099</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The OpenGL state expected by Processing should be completely restored after endGL() is called. See the issue with point sprite size described at the end of this thread:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://forum.processing.org/topic/trianglemesh-and-glmodel-problems" rel="nofollow"&gt;https://forum.processing.org/topic/trianglemesh-and-glmodel-problems&lt;/a&gt;#25080000001147007&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>P2.0: NoClassDefFoundError for PGraphicsOpenGL$ImageCache</title><link href="https://sourceforge.net/p/glgraphics/bugs/20/" rel="alternate"/><published>2011-08-03T11:43:27Z</published><updated>2011-08-03T11:43:27Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.neta48d1ddc2ff3ec349e6fdccffa38954b12c527fe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey Andres,&lt;/p&gt;
&lt;p&gt;with Processing 2.0 (200) from SVN and latest GLGraphics (release or test) i get:&lt;/p&gt;
&lt;p&gt;Exception in thread "Animation Thread" java.lang.NoClassDefFoundError: processing/opengl/PGraphicsOpenGL$ImageCache&lt;/p&gt;
&lt;p&gt;for all examples i tested.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br /&gt;
Florian&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>texture.getbuffer(int[]); memory problems</title><link href="https://sourceforge.net/p/glgraphics/bugs/19/" rel="alternate"/><published>2011-05-15T03:18:52Z</published><updated>2011-05-15T03:18:52Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netc68e39783dca876f552ccf4036d16e973a7b56c7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hi, &lt;br /&gt;
it seems, memory use increase at each getbuffer if it's done too fast (i' mean too many in one draw() execution)&lt;br /&gt;
ex:&lt;br /&gt;
for(int cplan=0; cplan&amp;lt;nbslice;cplan++){&lt;br /&gt;
plan[cplan].getBuffer(bii) ; ...&lt;br /&gt;
}&lt;br /&gt;
Thanks a lot for this great library&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>wglShareLists error</title><link href="https://sourceforge.net/p/glgraphics/bugs/18/" rel="alternate"/><published>2011-04-13T15:14:47Z</published><updated>2011-04-13T15:14:47Z</updated><author><name>Andres Colubri</name><uri>https://sourceforge.net/u/acolubri/</uri></author><id>https://sourceforge.net15aa58b522fad1213a574c006a48eb58da0b5c16</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Use of GLTextureWindow objects with latest pre-releases of Processing leads to a "GLException: wglShareLists(0x20000, 0x20001)" error. &lt;/p&gt;
&lt;p&gt;More details in this thread:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://forum.processing.org/topic/glexception-wglsharelists-failed-error-code-0" rel="nofollow"&gt;http://forum.processing.org/topic/glexception-wglsharelists-failed-error-code-0&lt;/a&gt; &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GLCGShader setTexParameter() doesn't work</title><link href="https://sourceforge.net/p/glgraphics/bugs/17/" rel="alternate"/><published>2011-01-12T07:01:03Z</published><updated>2011-01-12T07:01:03Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net89ac254692b28494debfd489c16aca85a88150c9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It calls cgSetParameter1i() internally whereas I think it should call cgGLSetTextureParameter().&lt;/p&gt;
&lt;p&gt;In the "CGshader" example, commenting out the line: shader.setTexParameter("decalMap", 0); has no effect. I assume this must be bound elsewhere (perhaps in GLModel?)&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>