Image
Top
Navigation
March 23, 2015 Cinema 4D

Generating bubbles

Phew. Only one year since the last post…

Inspired by Moritz Schwind’s CGI Bubbles (behance.net/gallery/22973143/CGI-Bubbles) I decided to implement Andrew Glassner’s paper (glassner.com/wp-content/uploads/2014/04/CG-CGA-PDF-00-11-Soap-Bubbles-2-Nov00.pdf) as well, only using Python though.

What came out is a Python Generator that generates three groups of two bubbles each, sticking to a “master” bubble with correct internal walls. They can move and scale along the surface too. The only real issue is the somewhat unpredictable boole behaviour in Cinema 4D, which can lead to flicker whilst scaling / regenerating the bubbles.