Viewing items tagged with: ofxBullet

Please Log In or Register

Sound Boards

Modulate your voice to create boards in real time. Size is based on volume and color is based on pitch. Then they drop onto a spinning circular saw that slices them. Using OpenFrameworks and ofxBullet for the physics.

Sound Board - Audio Visualizer using physics

Scream Splode

Over inflate using your voice until it bursts. The louder the noise, the bigger the explosion. In this recording, made it a lower volume to burst since screaming into the screen was causing the sleeping baby to stir.

Scream Slice

Experiment with using my voice to slice shapes. Shape size based on volume.

Extrude Sphere

Controlling the parameters and audio with ofxMidiParameter and a Midi keyboard.





ofxBullet Soft Bodies

OF Flag with ofxBullet Soft Bodies

OF Flag

Having some fun with soft bodies in ofxBullet

Audio Visualizer Study

Physics Audio Visualizer Study from Nick Hardeman on Vimeo.

Audio Reactive Visuals

Audio Reactive Visuals

Follow This!

Follow This! is a first person shooter game utilizing the Microsoft Kinect camera. Input a twitter search term to create birds, varying based on the loaded tweets. Once all of the tweets have been gathered, you are equipped with gatling gun arms. Aiming your arms in physical space is reflected in the game. Open your hands to fire and pulverize as many birds as possible, earning score multipliers for quick hits. You must blast an increasing minimum amount of birds to advance to the next level, if not, fail whale; game over.

Curious, having trouble, a debug screen displays the various digital images generated by the Kinect camera and provides some brief instructions / help.

Special thanks to Lauren Licherdell for Design / 3D Assets.
Thanks for all the help from the OF community!

The game uses the Kinect for user control

Level Begin screen

Users control their gatling gun arms independently by aiming their arms in physical space and fire by opening their hands.

Close up

Earn score multipliers by shooting birds in rapid succession.

Got a x2 Multiplier

When users have their hands closed, the guns do not fire.

User hands closed

The red rocket bird explodes into bird-seeking rockets when shot.

Explode Rocket Bird

Shoot birds quickly to get a kill frenzy.

Kill Frenzy and Rockets

Check out the top highscores.

High Scores Screen

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.


ofxBullet Examples from Nick Hardeman on Vimeo.

ofxBullet is an addon for OpenFrameworks for the incredible Bullet Physics library. Included are all of the primitive shapes; sphere, cone, capsule, box and cylinder. Joints are supported as well, between two shapes and a shape and a location. Collision events can be enabled to fire an event. The object passed contains information about the collision, including the two colliding objects, the location of the collision, etc. Mouse events can be enabled as well, and pass an event similar to the collision events. Mouse grabbing is also supported. The custom shape example illustrates passing a mesh from a loaded collada file (the OF logo) and building the bullet shape. This custom shape class also takes all of the primitives and supports multiple meshes.