PDA

View Full Version : Solaris and pixels > 8 bits



02-25-2006, 05:26 AM
I have a simple glut program that creates a 512 x 1024 10 bit greylevel wedge image (max grey 1023) using GL_UNSIGNED_SHORTs. On Windows, I can use the SCALE operator (set to 64.0) to scale the max grey to 65535. On Solaris, this same code creates a black window. If I do the scaling in software, Solaris correctly displays the wedge. For 8 bit pixels, the Solaris BIAS and SCALE operators work correctly. Is there a fix (besides not running on Solaris)?

dorbie
02-26-2006, 02:18 AM
Please do not crosspost.