Bug #283

ivrender colors broken depending on Mesa3D version

Added by Jens Peter Lindemann almost 10 years ago.

Status:NewStart date:2014-07-10
Priority:HighDue date:
Assignee:Jens Peter Lindemann% Done:


Target version:-


Color problems on recent Debian-based linux systems (tested: Ubuntu 12.04 and 14.04, Debian 7.5). Older versions work as expected (tested: Ubuntu 10.04).

Red and blue color channels are swapped in the rendering output. This behaviour seems to appear between osmesa Debian/Ubuntu package versions 7.7.1 and 8.0.4.

Workaround: Create OSMESA GL context with OSMESA_BGR instead of OSMESA_RGB in the MesaOffscreenRenderer constructor code (line ivRender/LibRender/MesaOffscreenRenderer.cpp:43).

Also available in: Atom PDF