Re: [PyOpenGL-Users] Extensions, etc
Brought to you by:
mcfletch
From: Brian H. <pyo...@br...> - 2003-08-12 04:37:51
|
* Mike C. Fletcher <mcf...@ro...> [2003-08-11 23:09]: > Writing the .i file is not a particularly difficult task (there's a lot > of samples in the interface directories), but it requires effort by a > developer for every extension so supported. Ok - Why though? Maybe I am too naive with this but can't this be automated as well? AFAIK you have to expose the enumerations and the functions, both of which you have access to from the specs, no? > Even more restrictively, it > requires that the developer *have* that extension on their machine so > that they can *test* it. My old Radeon 7500 has very few of the Whoa - I wasn't expecting that... Testing that the extension is callable is part of the build process? I would think that having the function ptr exposed would be all you'd need to do. > >Also, as I understand it, PyOpenGL supports OpenGL 1.1 which > >is quite old... Are there plans to update to say OpenGL 1.3? 1.4? > > > OpenGL 1.3 and 1.4 are just a collection of extensions to OpenGL 1.1, so > it's really the same question. You could AFAIK write the entire OpenGL > 1.3 or 1.4 extension-set on top of PyOpenGL 2.0.1 w/out needing to > upgrade the core (unless you discover a bug in the process, of course). > Note: for any real-world programming these days, you'd need to take the > extension-based approach anyway (since most users *don't* have OpenGL > 1.3/1.4 drivers installed (I've never even *seen* one), and it will Gotcha -- Makes sense. Just use the extensions instead of the core. > likely be a few years before they do (unless Microsoft decides to write > one)). I don't think they're doing any new OGL drivers other than 1.1 AFAIK Unsuredly-yours, Brian > >Looks good though! > > > Thanks. Have fun, > Mike > > _______________________________________ > Mike C. Fletcher > Designer, VR Plumber, Coder > http://members.rogers.com/mcfletch/ > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users -- Willow: I knew it! I knew it! Well, not in the sense of having the slightest idea, but I knew there was something I didn't know. |