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: Michael D Godfrey
Subject: Re: offscreen rendering with gl-render - pls advice
Date: Sun, 17 Jan 2010 17:28:14 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0

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? 

The ugliness of option 2 above seems pretty serious.
It also appears that switching backends for offscreen
use would tend to lead to confused states.

The current Mesa 7.6  is part of the base Fedora release.

Michael



reply via email to

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