Posts

Showing posts with the label load

Fragment and Vertex Shaders: My Way To Load

I have finally received the fifth and amazing version of the OpenGL SuperBible book and I have already started digging into it, really well done for what I can tell. The book is mainly focused on " real OpenGL development ", something surely more suitable for tough C/C++ developers rather than Web Monkeys like me but since the book includes an OpenGL ES 2.0 related part, and since latter spec is basically what we can find in WebGL , it's always better start learning what's next knowing history and background of the used technology ... and here I am :-) Something Already Wrong I am not completely sure about " who started this techniques ", John Resig with his micro template inside script nodes with a type text/html may be the indirect responsible for a sort of growing " monster " we can see in almost every WebGL related example ... HTML Embedded Shaders, the Web 3.0 NO-GO Let me pass the therm, but 3D websites are not that far away from reality...

Opera Detection Revamped?

I am surfing in a nightmare of problems with IE and Opera right now ... all these problems come from sessionStorage implementation ... I am almost there, but right now just think about this question: How to know if onload and unload event are supported without firing them? Apparently, it has never been that simple! Object.prototype.toString .call(window.opera) === "[object Opera]" ; Enjoy P.S. Prototype Framework uses this trick since version 8, I had no idea about that! Good one!