From: Alex F. <ale...@gm...> - 2010-02-17 12:50:50
|
Hi there, My program is happily linking to the nvidia OpenGL implementation for its normal onscreen rendering. I would like within a small part of this program to use the offscreen rendering capabilities of OSMesa. If I link to both /usr/lib/libGL.so and /usr/lib/libOSMesa.so then I get strange results: either my offscreen-rendered images are blank or GL crashes, depending on which order I do the linking. My first question is: is this even supposed to work? If so I will investigate further and post much more detailed info about what's going wrong. If not, is there any other way that I can get both 3D acceleration for onscreen rendering and (un-accelerated) offscreen rendering working in the same binary? Thanks in advance, Alex |