2 Oct 2004 02:49
Choice between old and new API
Yann Morvan <morvany <at> cs.tcd.ie>
2004-10-02 00:49:48 GMT
2004-10-02 00:49:48 GMT
I am doing research in computer graphics and have been using the old HOpenGL to try ideas. Recently I've wanted to use 2D convolution and discovered it wasn't supported in HOpenGL 1.5. I am a bit constrained by time (I have a Ph.D. to finish) and I wanted to know what would be the easiest between: -learning how to build the old HOpenGL 1.5 API and then adding the bindings for the convolution functionnalities -or porting my existing code (which is around a few thousand lines) to use the new most recent API, provided it supports texturing and convolution Unfortunately I am developping under windows XP, using the cygwin environment. If I have to compile the latest version of the GHC distribution to get those functionnalities, I am worried that it may prove very time consuming. Assuming that this is not a problem, how different is the new API from the old one ? Will the changes I'll have to make to my old code be merely cosmetic or more in depth ? Thank you for your help. Yann Morvan
> Unfortunately I am developping under windows XP, using the cygwin
> environment. If I have to compile the latest version of the GHC
> distribution to get those functionnalities, I am worried that it may prove
> very time consuming. Assuming that this is not a problem, how different
> is the new API from the old one ? Will the changes I'll have to make to my
> old code be merely cosmetic or more in depth ?
As almost always, the answer is somewhere in between: The new API is much
more symmetric and centred around OpenGL's notion of state variables. If
you know OpenGL quite well (as you obviously do when you use rather uncommon
things like convolution), you should have no real problems switching to the
new API. Documentation for the bleeding edge stuff can be found at
> [...] I guess a good start would be to
> -know what implementation of OpenGL works best with HOpenGL under windows
The OpenGL implementation should really not matter at all, the only issue
I'm aware of is tessellation under any WinDoze: Microsoft's DLL only supports
an ancient GLU version, so someday I'll have to find a workaround. It doesn't
seem to be mission-critical for anybody so far, so I was simply too lazy
fixing this.
> -place the corresponding files where fptools will look when configuring
RSS Feed