Jump to content
  • Advertisement
Sign in to follow this  
markr

[web] WebGL low level library wanted

This topic is 2597 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!