Author Archive

EWGL-matrices   1 comment

Hey there, As many may already know, I’ve started writing EWGL-Matrices. It is the fastest 4×4 matrix library around . Although it is the fastest around, it still can be increased in speed by removing the object matrix and just use methods like mjs does. And Even that library could get faster if needed. (I [...]

Posted March 25, 2010 by ewgl in webGL

Tagged with , ,

matrices   1 comment

hello there again, It has been a while but now I can finally present you guys something that works. It is a matrix library that is somewhat fast (actually it isn’t as fast in google chrome as I hoped) but it still will be 2 to 3 times faster than Sylvester for nearly every function [...]

Posted February 19, 2010 by ewgl in webGL

uniforms   6 comments

Hey there, I am still not a regular blogger but I hope I can change that. So now I am going to talk about uniforms. As many know, uniform variables are used to specify things that change for each VBO and not for each vertex. That means many uniform variables are normally used in a [...]

Posted January 11, 2010 by ewgl in webGL

new WebGLFloatArray overhead   6 comments

I did some research on “new WebGLFloatArray”. As it is used (in every example), everytime a uniform matrix is updated. And of course I came to the conclusion that it uses too much memory. Here is an example from learningwebgl. function setMatrixUniforms() { var pUniform = gl.getUniformLocation(shaderProgram, “uPMatrix”); gl.uniformMatrix4fv(pUniform, false, new WebGLFloatArray(pMatrix.flatten())); var mvUniform = [...]

Posted December 20, 2009 by ewgl in webGL

Tagged with , ,

Hello world!   Leave a comment

this is a blog meant for webgl additions and for lessons around EWGL.

Posted December 7, 2009 by ewgl in Uncategorized

Tagged with

Follow

Get every new post delivered to your Inbox.