Shop Mobile More Submit  Join Login
DAZ|Studio Bubble Tutorial by Cei-Ellem DAZ|Studio Bubble Tutorial by Cei-Ellem
I decided to figure out how to render a bubble in DAZ|Studio, via the Reality plugin through LuxRender. To my surprise, it wasn't as hard as I had feared it would be, but it did require a little research and one custom texture to accomplish the look I was going for.

To create the effect for yourself:
  1. Select the surface of the figure you wish to make a bubble. For my image, I used a sphere primitive, so there was only on surface. For more complex figures (like Genesis), there may be multiple surfaces you'll need to select, or some you may have to set to "null" in Reality in order for it to render correctly, like the jaw and mouth surfaces of most figures (usually hidden by the face surface, but since the bubble is translucent, it'll show through and look... well, weird).

  2. Set the Lux Material to "Glass," then copy the settings in the image. I looked up the index of refraction (IOR) and film thickness of soap bubbles, so this will save you the work of finding it yourself.

  3. Make sure Glass Type is set to "Architectural." This gives the best bubble effect. Otherwise, it looks more like a glass sphere than an airy bubble.

  4. Set your Reflection and Transmission colors to white, then select a multicolored texture for your Reflection Map. For your convenience, I will share the texture I made for the reflection map (circled in red on the image; see below for a link). You know how bubbles have all those pretty colors? Setting a psychedelic reflection map is a good way to simulate this. It's easy enough to make your own in your paint program of choice: swirl around a rainbow gradient over a pale yellow background, then blur to taste. You can also find images of bubble solution online, but I find this works best (and avoids copyright issues).

  5. Leave all other settings ALONE! This is important: KEEP THE OPACITY AT 100%! Yes, bubbles are translucent, but the Lux Material takes care of that for you, so there's no need to mess with the opacity (otherwise, it looks like a poorly superimposed picture).

  6. Render as usual. Render your scene as you normally would.


On a side note, in my experience, shiny objects like bubbles, plastic, metal, etc. tend to benefit from IBL lighting, because it gives them more scenery to reflect back.

I hope you found this tutorial useful!

Reflection Texture:


A comparison of the bubble with and without the reflection texture applied:
Add a Comment:
 
:iconxgnyc:
xgnyc Featured By Owner Feb 18, 2014  Professional Digital Artist
Wonderful! Thank you for sharing!
Reply
:iconcei-ellem:
Cei-Ellem Featured By Owner Feb 18, 2014  Hobbyist Writer
You're welcome! Thanks for the :+fav:!
Reply
:iconxgnyc:
xgnyc Featured By Owner Feb 19, 2014  Professional Digital Artist
:thumbsup:
Reply
:iconhera-of-stockholm:
Hera-of-Stockholm Featured By Owner Aug 6, 2013
Thanks!
Reply
:iconcei-ellem:
Cei-Ellem Featured By Owner Aug 6, 2013  Hobbyist Writer
You're welcome ^_^. Thank you for the :+fav: as well!
Reply
:icongunnersteve3d:
GunnerSteve3D Featured By Owner Aug 2, 2013  Hobbyist Digital Artist
Really cool effect....thx for sharing :)
Reply
:iconcei-ellem:
Cei-Ellem Featured By Owner Aug 2, 2013  Hobbyist Writer
You're very welcome ^_^
Reply
:iconeveryburn:
EveryBurn Featured By Owner Aug 2, 2013  Hobbyist Digital Artist
This is a great tutorial.  Mbinz, as usual, imparts incredible depth of knowledge, and I am always thankful for the commentary.  That being said, I really like the effect here, and will use your tutorial in replicating my own bubbles!  Thanks!
Reply
:iconcei-ellem:
Cei-Ellem Featured By Owner Aug 2, 2013  Hobbyist Writer
Thank you ^_^. I initially made this as an experiment for when I work on future renders: a friend of mine has a character who, as my sister put it, "Glindas" inside of a bubble on occasion. I anticipate rendering a scene with that at some point.

And yes, :iconmbinz: is awesome like that.
Reply
:iconmbinz:
mbinz Featured By Owner Aug 2, 2013
The bubble looks very realistic, but I suspect the colours in the bubble are more from the texture rather than the thin film setting. As the bubble has a thin film setting that would apply a constant thickness to the thin film, that setting will likely only give a limited colour palette (usually one colour); in real life it is the fact that the thickness of the bubble varies as the bubble surface moves by wind or gravity etc... (i.e. the thin film thickness is not constant which gives rise to the variation in colour bands - the different colours actually represent the thickness of the bubble film at that point on the bubble). The reflection texture is then simulating this variation in thickness rather than being directly caused by the film.
The reason it looks strange when set to non architectural glass is that the sphere primitive gives a solid sphere, so with the index of refraction set to 1.33 it acts like a glass lens, where as a bubble is a hollow sphere.

Still a very pleasing result in simulating the bubble!

It would be interesting to see how well a modelled bubble would work; not sure if the bubble wall thickness could be modelled to be sufficiently thin to cause the thin film effects; I know someone has made a prism image that splits the light, but it also required a mod to the exported text file sent to lux... What would be interesting would be having the ability to apply a map to the thin film itself, so that the film thickness varied by the amount of the texture, then the colours would be generated by the actual variation in thin film thickness and light conditions!

en.wikipedia.org/wiki/Soap_bub… en.wikipedia.org/wiki/Iridesce… en.wikipedia.org/wiki/Thin-fil…
Reply
:iconcwichura:
cwichura Featured By Owner Aug 2, 2013  Hobbyist Digital Artist
FWIW, the thin film colour and index can both be textured; Reality is what is limiting you to a single constant for these values.

As for modelling the very thin wall of a true bubble, this might not be so hard using the geometry shell feature in Studio.  Create your bubble, shape it a bit with some D-Formers, and then apply a shell to it and set the offset is something tiny like .01 or .001.
Reply
:iconmbinz:
mbinz Featured By Owner Aug 3, 2013

I would not be surprised if that was the case; can you link to any info that shows how to do that for the thin film? (either by editing one of the files or some such?) - is this also an ability possible via Blender?

I also guess the 'shell' feature is a studio 4 feature, and I must admit to not having installed 4 yet (4.6 is it now I think?)

Thanks for the additional info, would be interested to see more on this! `)

Reply
:iconmbinz:
mbinz Featured By Owner Aug 3, 2013

P.S. I did find this blenderartists.org/forum/showt… but although the colour does change, it still does not look 'real'... there are some good ref photo's of bubbles on DA... fav.me/d4tzmve fav.me/d1a74kg fav.me/d4exvel

...I would love to get the effect of the iridescence on dragon fly wings, etc!

Reply
:iconcwichura:
cwichura Featured By Owner Aug 3, 2013  Hobbyist Digital Artist
Geometry shells were added in 4.5.  And yes, 4.6 is the current version now.  Personally, I find 4.6 pretty reliable; they fixed most of the bugs I reported when 4.5 came out fairly quickly.  I use shells A LOT.  They are easily the most powerful tool added in 4.5 that most users don't even know exists, much less how to use...

LuxBlend supports ALL features of LuxRender, since that's the exporter that the Lux devs themselves maintain, and they always make sure it supports everything.

To edit the files Reality generates, you'd look in the .lxm file for the MakeNamedMaterial of the surface in question.  You'll see that it has specified the film as "color film" [r g b] and index as "float filmindex" [f].  If you change those from "color film" to "texture film" or "float filmindex" to "texture filmindex", you can point them at any arbitrary texture of the appropriate type (e.g., film needs a colour texture, filmindex needs a float texture).  You can load a colour texture by duplicating what Reality generates for Kd, for example, and specifying the desired image file.  For float textures, duplicate what Reality generates for Ks and set to desired file.
Reply
:iconcei-ellem:
Cei-Ellem Featured By Owner Aug 2, 2013  Hobbyist Writer
I actually tested it without the reflection map first, which is how I realized I needed it; for the IBL I used, the difference is very slight, but still noticeable. It's one of those subtle things that you know is wrong when you look at it, but just can't put your finger on it until it's pointed out. I started my quest to make a bubble by trying to find tutorials online, and like you mentioned, most of them required some downloadable mod, and none of them were for DAZ (which is the program I work in). I think I have a bubble model, but it's just a regular object, so to speak, with a transparency map to mimic the translucency (it's an old one, designed for DAZ and Poser).

It would be neat to have a bubble model that acted like a bubble when light hit it. Save some time too, at least in set up. I imagine render time would be interesting, just like when you render mirrors or shots through water.
Reply
Add a Comment:
 
×
Download PNG 1000 × 1376

:iconcei-ellem: More from Cei-Ellem





Details

Submitted on
August 1, 2013
Image Size
925 KB
Resolution
1000×1376
Link
Thumb
Embed

Stats

Views
1,591 (1 today)
Favourites
34 (who?)
Comments
15
Downloads
36
×