octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: offscreen rendering with gl-render - pls advice


From: Shai Ayal
Subject: Re: offscreen rendering with gl-render - pls advice
Date: Mon, 18 Jan 2010 09:10:09 +0200



On Mon, Jan 18, 2010 at 3:28 AM, Michael D Godfrey <address@hidden> wrote:
On 01/17/2010 01:43 PM, Shai Ayal wrote:
1. Is it possible to link different oct files against different versions of libraties? -- i.e link offscreen_backend.oct to OSMesa and fltk_backend.oct to the system's GL? That would certainly solve the problem.
2. If not, another possibility is to compile OSMesa so that all OpenGL functions have the mgl prefix instead of the usual gl prefix (i.e. mglBegin instead of glBegin). This together with some scripted way to make a m-prefixed version of gl-render (to be called mgl-render of course!) might be a solution (all be it a very ugly one).

Does anyone else have any other ideas or recommendations?

Shai
The mesa3d web page (http://www.mesa3d.org/)
claims that mesa implements the openGL specification.
Therefore, is a third possibility to just switch to mesa? 

If you are running linux on a graphics card other than nvidia or ati, chances are you are using mesa. But this does not solve the problem: OSMesa functions shadow the Mesa functions -- thus the reliance on linking order stated in the blog post you found. The functions have the same name.

Shai

reply via email to

[Prev in Thread] Current Thread [Next in Thread]