Over a million developers have joined DZone.

Smooth 3D wobbly cube with VBO rebuffering: CubicVR.js

DZone 's Guide to

Smooth 3D wobbly cube with VBO rebuffering: CubicVR.js

· Web Dev Zone ·
Free Resource

CubicVR, a 3D engine written in C++, was ported to JavaScript using WebGL, and shown off by a pretty awesome tech demo (Flight of the Navigator) at Mozilla's Web o' Wonder:


Flight of the Navigator


Now the engine's creator, Charles Cliffe, has dived deeper into WebGL and created an impressively smooth-wobbling cube implementing dynamic VBO rebuffering (see OpenGL spec here):


wobbly cube


The new demo takes better advantage of WebGL's awesome: if you've got a good GPU, the wobbly cube implementing the VBO extension should run much faster than the Flight of the Navigator.

The project is on github, and is worth poking around.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}