Viewing items tagged with: Bullet Physics

Please Log In or Register

Smash it, Shoot it, Break it

In this application, the text is dynamically created in 3D by using ofxDelaunay triangulation and then extruding along the text outline. I tested it on 5 fonts, two of them being rather complex outlines and it worked with a good amount of accuracy. There is a breakdown of the 3D text creation process at the end of the video, although it is not very descriptive, you get the general idea.

Both the decomposition of the dynamic text and loaded 3D models is done on the fly and is based on the examples provided by Bullet.

Didn’t spend too much time on the sounds as you can probably tell.

Bullet Spheres Destruction

When spheres touch each other or the boxes, they become more red. The spheres gather to make the outline of a bullet and then are shot into the pile of boxes. Once the boxes are touched by a sphere, they become deactivated, not glowing any longer. The spheres then form the letters ‘OF’ toward the end of the video.

Runs in real time without the glow filter, which is not very apparent in this video. With the glow filter shown in this video, it stays around 50 fps.

Created with OpenFrameworks
using the Bullet 3d physics library