Author Topic: A little over the top; Bubble Study Prt Deux  (Read 2823 times)

0 Members and 1 Guest are viewing this topic.

Offline DMerz III

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 825
  • David Merz the Third
    • MerzTheThird
A little over the top; Bubble Study Prt Deux
« on: September 30, 2018, 02:04:10 pm »
Back for a 2nd entry. Something a little closer to my daily grind.

Modeled by me in Blender3D.
Features in KS8 being leveraged:

- OpenVDB support (using a smoke sim frame to drive the bubble density on the liquid beer (see below)
- Bubble geometry cranked super high (+72 ray bounces) to get the foam head over the top and outside nice and fluffy
- Mug/Liquid beer is modeled with the new liquid interaction of course (nested dielectric workflow).
- Spotlight off the back wall utilizing the fall off perimeter and turning off "constant light output"
- Photographic Image style w/ some curves

Attachments in order of appearance.
-Full Res Beauty
-Crop @ 100% (1:1 1080)
-MatGraph + .vdb explaination for bubbles
-Raw output from KS (with image style) scaled to 1920





Offline Eugen Fetsch

  • Sr. Member
  • ****
  • Posts: 265
    • www.camomiles.de
Re: A little over the top; Bubble Study Prt Deux
« Reply #1 on: September 30, 2018, 02:39:37 pm »
Cool idea to use vdb for density. And a great image!

Offline DMerz III

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 825
  • David Merz the Third
    • MerzTheThird
Re: A little over the top; Bubble Study Prt Deux
« Reply #2 on: September 30, 2018, 02:46:18 pm »
 :) Thank you thank you! I accidentally stumbled into that. I had a .vdb for scattering medium, and plugged it into the bubbles node to see what would happen...and it worked.

I didn't think it was possible because when I try to load a texture via the density map slot, it doesn't give me a .vdb option. I could only get it to work once I obtained the .vdb for a scatter medium node in the graph.
Hope that makes sense. Not sure if devs intended to allow for this...but it def works.

Offline LM6

  • Sr. Member
  • ****
  • Posts: 299
  • instagram.com/lm6_p | lm6-p.tumblr.com
    • LM6
Re: A little over the top; Bubble Study Prt Deux
« Reply #3 on: October 01, 2018, 01:24:06 am »
Ive tried everything but not this, great discovery and great image  :)

Offline DriesV

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2412
  • Product Specialist at Luxion
Re: A little over the top; Bubble Study Prt Deux
« Reply #4 on: October 01, 2018, 02:53:31 am »
Just in time for Oktoberfest!

Original application of VDB textures indeed.

Dries

Offline DMerz III

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 825
  • David Merz the Third
    • MerzTheThird
Re: A little over the top; Bubble Study Prt Deux
« Reply #5 on: October 01, 2018, 08:23:20 am »
Ive tried everything but not this, great discovery and great image  :)

Thank you very much! Appreciate your work as well!

Just in time for Oktoberfest!

Original application of VDB textures indeed.

Dries

Cheers, Dries!

Offline bdesign

  • Hero Member
  • *****
  • Posts: 795
Re: A little over the top; Bubble Study Prt Deux
« Reply #6 on: October 01, 2018, 04:38:48 pm »
David, this is awesome, creative thinking! I had thought about VDBs with Bubbles and Flakes, but didn't try it the way you did :) Bravo! Great image, too!

Cheers,
Eric

Offline mattjgerard

  • Hero Member
  • *****
  • Posts: 1504
Re: A little over the top; Bubble Study Prt Deux
« Reply #7 on: October 02, 2018, 06:55:24 am »
What does the geometry for the foam look like? Just trying to get an idea of what the bubble geometry in KS is doing to it.

Clay Render?

Offline DMerz III

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 825
  • David Merz the Third
    • MerzTheThird
Re: A little over the top; Bubble Study Prt Deux
« Reply #8 on: October 02, 2018, 08:29:55 am »
What does the geometry for the foam look like? Just trying to get an idea of what the bubble geometry in KS is doing to it.

Clay Render?

You want all of my secrets!? Haha, ok, so yes, there's a lot going on in this render. But there are only 4 parts (aside from the backdrop, the physical lights, and the ground).

The mug is a solid part, the liquid beer is a solid part (nested into the glass walls), the foam overflow is one object, and there are 'large' bubbles that are manually modeled and placed into the foam. They also cut into and remove the geometry of the foam overflow mass.
This was done in the modeling phase. The foam overflow (outside the glass) is a liquid shader with a LOT of bubble geometry via Keyshot.
Since the liquid shader has an IOR outside of 1 (air) the bubbles get treated as they would in reality (in reality, bubbles are just air trapped inside of liquid). The beer inside the glass is using a similar treatment, however I wanted to vary the density of the bubbles mapped inside the solid, which is where the .vdb comes into play.







Offline mattjgerard

  • Hero Member
  • *****
  • Posts: 1504
Re: A little over the top; Bubble Study Prt Deux
« Reply #9 on: October 02, 2018, 11:20:51 am »
ok, that's the part that I was wondering about, the larger bubbles. In my tests, I couldn't get the larger bubbles breaking the surface to look like they were still whole, the just made a hole in the surface of the geometry.

thanks for that!

Offline DMerz III

  • KeyShot Beta
  • Hero Member
  • *****
  • Posts: 825
  • David Merz the Third
    • MerzTheThird
Re: A little over the top; Bubble Study Prt Deux
« Reply #10 on: October 02, 2018, 12:54:05 pm »
No problem.  ;)

The way I am interpreting it, the bubble geometry is like setting a particle scatter to volume or a domain, so it won't really break outside of the confinement of the original mesh. This manual method was my hack to elevate the look I was going for.