Login  Register

Re: requested graphics configuration

Posted by gouessej on Jan 17, 2013; 7:03pm
URL: https://forum.jogamp.org/requested-graphics-configuration-tp4027845p4027905.html

runiter wrote
Also, how can I request rgba of 10/10/10/2 which my graphics card seem to support:

117: GLCaps[wgl vid 0x76 arb: rgba 0xa/a/a/2, opaque, accum-rgba 16/16/16/16, dp/st/ms: 24/8/0, dbl, mono  , hw, GLProfile[GL3bc/GL3bc.hw], on-scr[.]]

Currently in your code of Ardor3D Jogl the maximum rgb seem to be 8bits each.
DisplaySettings only has 2 variables. I would need to modify the core API of Ardor3D to add 2 variables in order to do what you want or Renanse should clarify how to use colorDepth and alphaBits. If colorDepth handled the 3 first components and alphabits the very last one, I would be able to provide a fix, you would set colorDepth to 30 and alphaBits to 2.
Julien Gouesse | Personal blog | Website