Sign in to follow this  
markr

[web] WebGL low level library wanted

Recommended Posts

Hi,

What I'd really like, is a low level WebGL library which provides some (approximate) equivalents of the operations that we had under OpenGL 1, a fragment shader which approximates (at least some of) the OpenGL 1 fixed pipeline, and a vertex shader which approximates the OpenGL1 transformation system, and some of the glu functions.

Basically, I'd really like to be able to do things like we can in OpenGL 1:

gluOrtho
gluPerspective
glFrustum
the matrix functions
glLoadIdentity

And parameters
glColor
glFog
Lighting functions
etc
something equivalent to the texture functions (gltexcoord, gltexmode etc)
---

I realise that these things are all POSSIBLE now, but that they effectively require writing shaders and setting shader variables instead of the fixed-pipeline way. It is more complicated :)

I don't think it's necessarily a good idea for such a library to duplicate exactly the ogl1 transform, lighting and texture model, but something reasonable which is easy to use.

--

What I don't want is some complicated rendering library or game-engine which takes over everything.

Any ideas?

Mark

Share this post


Link to post
Share on other sites
hi,

i am doing webgl for a while now.

If you still want to stay low level and no fancy engines/frameworks you can use glMatrix (i use: glMatrix-0.9.5.min.js atm) just google it, it provides alot of primairy vec3, mat3, mat4 and quad functions, have heard this library is the fastest around. It also provides perspective, frustum lookat, ortho

Futher on you got the fancy engines/frameworks like: C3DL, Copperlicht, GLGE, SceneJS, Three.js and LOTS more (http://ffwd.typepad.com/blog/2011/04/webgl-what-flavor-is-your-engine.html)

Good lessons at: learningwebgl.com (and a good blog with links to other projects on the web around webgl)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this