We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › Low color depth in OpenGL
Page Index Toggle Pages: 1
Low color depth in OpenGL (Read 460 times)
Low color depth in OpenGL
Feb 19th, 2008, 9:02am
 
Hello,

There is a strange problem where OpenGL is displaying at a low color depth.  The graphics card is ATI x1400 on a Dell PC.  

Is this something that is adjustable through GL commands?  Or is it the same thing as Bug 337 - http://dev.processing.org/bugs/show_bug.cgi?id=337 - which seemed to be written off as an ATI driver problem?  I have updated the driver.

The effect is noticable in this basic test program, so its not a product of any esoteric GL functionality I'm doing.

Code:

import processing.opengl.*;
import javax.media.opengl.*;
PImage s;

void setup()
{
size(640,480, OPENGL); //Image looks low-color with GL
//size(640,480, P3D); //Image looks fine with P3D

s=loadImage("image.png");
}


void draw(){
image(s,0,0);
}

Thanks for any info!
Re: Low color depth in OpenGL
Reply #1 - Feb 20th, 2008, 2:35am
 
Although Bug 337 states that this problem relates specifically to video, in reality it seems to apply to all the graphics when using ATI default driver in OpenGL.  

But..

The problem goes away with the use of the third-party drivers from http://www.omegadrivers.net/ .

Hopefully this will help someone like it helped me.  Later!
Page Index Toggle Pages: 1