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

Learn how error monitoring with Sentry closes the gap between the product team and your customers. With Sentry, you can focus on what you do best: building and scaling software that makes your users’ lives better.

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.

What’s the best way to boost the efficiency of your product team and ship with confidence? Check out this ebook to learn how Sentry's real-time error monitoring helps developers stay in their workflow to fix bugs before the user even knows there’s a problem.


Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}