On the HtoA (Houdini to Arnold) mailing list I found a new Arnold shader, which can create a thin film interference, which is common in soap bubbles. See documentation and example renderings there.
I was interested if someone has tried to render soap bubbles in Cycles (the GI renderer within Blender) and found two forum entries on blenderartists.org:
- How to make a bubble material - LuxRender and Cycles
- Cycles - Wavelength Nanometer to Color NodeGroup
Here is a little scene I created using the NanometerColor node group:
I modified my Blender multi-exporter to detect HDR lighting within Blender and the first renderer to pick that up is Luxrender. I haven’t used the thin film parameter of the Luxrender glass material yet, but the HDR lighting works fine now:
To improve the image above I added a couple of things (by hand for now). First, the part where both bubbles overlap in pixel space is too dark. This can be improved by raising the ray depth (which wasn’t specified at all in the above example):
Similar to the Cycles node graph I use some noise to perturb the thinfilm nano meter setting:
That make’s it look a bit more like the Cycles counterpart:
I have problems using the same bubble model with Arnold using the standard shader, because I end up with internal reflections and refractions, but I will post an update in case I find a solution.