VoiceOfInsanity
07-12-2012, 11:55 PM
Hi,
I found some equations for calculating perspective transformations and so I thought I'd test how fast modern JS engines really are. I created a very simple 3D engine that uses pixel manipulation to project textures onto rotating 3D cubes. It doesn't use any WebGL so it should run on any browser.
http://ponycubes.html-5.me
(controls are w,s,a,d, space/c for up/down, q,e for rotation, and clicking and dragging the mouse to look around)
It seems to run fine, at least in chrome.
Do you think there is any point in playing around with 3d software renderers? Should I instead go with WebGL and hope that it will eventually be supported on all browsers?
I found some equations for calculating perspective transformations and so I thought I'd test how fast modern JS engines really are. I created a very simple 3D engine that uses pixel manipulation to project textures onto rotating 3D cubes. It doesn't use any WebGL so it should run on any browser.
http://ponycubes.html-5.me
(controls are w,s,a,d, space/c for up/down, q,e for rotation, and clicking and dragging the mouse to look around)
It seems to run fine, at least in chrome.
Do you think there is any point in playing around with 3d software renderers? Should I instead go with WebGL and hope that it will eventually be supported on all browsers?