Shader OpenGL Library - 3.4.7

Ian Mallett (geometrian)

Tags:

Description

Hello,

My first OpenGL Library uses fixed function OpenGL, which is all very well and good, unless you want
to do anything complicated. That's where this comes in. It is still in heavy development, but already it has some nice features:

The whole thing is, of course, free, so long as no one tries to pass this whole thing off as theirs.

No tutorials yet, due to the "beta" nature of this project. The demo, which can be eaily modified to create these screenshots, shows normal mapping
and parallax mapping to good effect. See the title bar on top for the controls. The screenshot on the top left is a normal map with a gold
material, the top right is the same object with a different normal map and parallax mapping, and the bottom is a cube's face with yet another normal
map.

NOTE: there are some known pending issues with this library on some ATI cards. I'm fixing them ASAP. Most NVidia cards should be fine.

Screenshot

Releases

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

November 11, 2009 1:49pm - Ian Mallett - nickname: (geometrian)

I think because this test used vertex arrays. See the new version, currently, glLib Superbeta.

September 16, 2009 9:03am - Ryan Goodrich - nickname: (rygoody)

the test.py runs reallllyyyy slow for me, like 2 fps

And I have a gtx260. Any idea whats going on here? It says it loaded with no errors.

December 26, 2008 9:22pm - Ian Mallett - nickname: (geometrian)

I hope so :)
Update on development: Shadowmapping is now more-or-less working. There are a few problems with self occlusion, but I'm working on those. I manually implemented shadow2DProj() so that the coder can choose between default = shadowed or default = not shadowed--it's ATI/NVidia independent. Speaking of, I'm still working on compatibility for ATI, and I've made some good progress. Most of you with newish ATI cards shouldn't have a problem when the next release rolls around, though I think some flow-controls might anger earlier cards. Happy holidays everyone!

December 14, 2008 6:36am - Nathan Woodward - nickname: (thedalailama)

It'll be interesting to see what people make with this library. Could be that pygames get a bit prettier.

December 11, 2008 11:23pm - Ian Mallett - nickname: (geometrian)

Message to pygame.org: html code in comments should work too.
Update on development: Parallax occlusion mapping, or POM (as opposed to just parallax mapping) is working. POM eliminates most of the minimal artifacts parallax mapping presents--the surface looks truly 3D. On a somewhat related note, I'm also adding self-shadowing to POM, so now 2D surfaces can have realistic-looking 3D structures and self-shadowing on a 3D surface which doesn't even exist :D ...

December 11, 2008 9:57am - Luca Fabbri - nickname: (keul)

The video is impressive! I will not rate this because I don't use OpenGL right now :-(
I think you must paste this working ling in the project description instead of those stupid solo-plintext comments!

December 10, 2008 1:20am - Ian Mallett - nickname: (geometrian)

<a href="http://www.youtube.com/watch?v=Os3j0M8UCtQ">Here's a movie of a demo.</a> Let's test hyperlinking!