In past few months it became clear, that blogging is a necessity for me. I started writing a thesis and I want to share my mid results. The idea I came up with is comparison of WebGL and OpenGL performance, by writing two engines in C++ and JS simultaneously. I’m not going to write best engine ever, it’s not the purpose. I want to use similar techniques in both and check if WebGL is ready to use in gaming. I want to produce a simple answer like “WebGL is [N]x times slower (or faster!) in [area of use]”. If obtained number will be reasonably low, there is a chance that we will be playing awesome games in browser soon.
Mind that I’m not perfect JS programmer and not even mediocre with C++. I will appreciate comments on all techniques I use and as long as I can reproduce optimization in both languages, I’m willing to do so. I hope my advisor and university will let me publish code before defending my thesis.
I study two faculties at once, so my work will be divided into two categories – rendering and physics. Some topics I hope to cover:
- COLLADA import
- GPU accelerated math
- basic movement and numerical analysis
- collision detection
- skeletal animation
I hope it will be fun. Stay tuned.