Author Topic: Liquid seems bad  (Read 4604 times)

0 Members and 1 Guest are viewing this topic.

Offline Zvi

  • Full Member
  • ***
  • Posts: 242
Liquid seems bad
« on: March 24, 2016, 11:52:44 pm »
The liquid in the bottle seems bad. I'm attaching screenshots with the liquid and the glass settings.

Offline Chad Holton

  • Hero Member
  • *****
  • Posts: 1370
    • Portfolio
Re: Liquid seems bad
« Reply #1 on: March 25, 2016, 07:25:42 am »
What does it look like with the glass hidden and a polished metal applied instead of liquid?

Offline Zvi

  • Full Member
  • ***
  • Posts: 242
Re: Liquid seems bad
« Reply #2 on: March 25, 2016, 08:19:21 am »
What does it look like with the glass hidden and a polished metal applied instead of liquid?
Like this.

Offline Chad Holton

  • Hero Member
  • *****
  • Posts: 1370
    • Portfolio
Re: Liquid seems bad
« Reply #3 on: March 25, 2016, 08:39:27 am »
Not quite sure, but it looks like it needs to be smoothed out in the modeling software or something. What modeling software was used to create this?

Offline Speedster

  • Hero Member
  • *****
  • Posts: 2616
Re: Liquid seems bad
« Reply #4 on: March 25, 2016, 09:59:23 am »
Is there a tiny "gap" between the liquid geometry and the inside of the glass?  That's mandatory.  Can be very small, like .001" or so.  If both surfaces are in intimate contact, just scale down the liquid body by about 0.995% or so.
Bill G

Offline richardfunnell

  • Sr. Member
  • ****
  • Posts: 379
  • ID Rendering + KeyShot Workflow
    • My page
Re: Liquid seems bad
« Reply #5 on: March 25, 2016, 10:36:44 am »
Your best result will come from modeling your scene using surfaces, not solid bodies. Or if you do model with solids, break out your individual faces to get the most control over your surface IOR values for the front and back.

Adding a gap between your glass & liquid will give you an incorrect result, since that doesn't exist in real life. I'm attaching an image I found on the forum some time ago (apologies to the original poster for missing credit, I can't find the thread!) that helps break the process down.

This was also a topic specifically addressed in a webinar for transparent materials, you can watch it in the link here:
https://youtu.be/HlxF9peYod0?t=33m52s

Offline Zvi

  • Full Member
  • ***
  • Posts: 242
Re: Liquid seems bad
« Reply #6 on: March 26, 2016, 11:50:34 am »
Not quite sure, but it looks like it needs to be smoothed out in the modeling software or something. What modeling software was used to create this?

I'm using Maya. Why is it related to smoothing?

Offline Zvi

  • Full Member
  • ***
  • Posts: 242
Re: Liquid seems bad
« Reply #7 on: March 26, 2016, 11:51:48 am »
Is there a tiny "gap" between the liquid geometry and the inside of the glass?  That's mandatory.  Can be very small, like .001" or so.  If both surfaces are in intimate contact, just scale down the liquid body by about 0.995% or so.
Bill G

Yes, there is gap.

Offline Zvi

  • Full Member
  • ***
  • Posts: 242
Re: Liquid seems bad
« Reply #8 on: March 26, 2016, 12:02:50 pm »
Your best result will come from modeling your scene using surfaces, not solid bodies. Or if you do model with solids, break out your individual faces to get the most control over your surface IOR values for the front and back.

Adding a gap between your glass & liquid will give you an incorrect result, since that doesn't exist in real life. I'm attaching an image I found on the forum some time ago (apologies to the original poster for missing credit, I can't find the thread!) that helps break the process down.


Thank you for the important information. This scene is based on the tutorial you recommended. That's why in the outside refraction index of the liquid I put the value 1.5. There is no reason to break the model of the liquid to parts if it is wrapped with the same material - glass.
This was also a topic specifically addressed in a webinar for transparent materials, you can watch it in the link here:
https://youtu.be/HlxF9peYod0?t=33m52s

Offline Chad Holton

  • Hero Member
  • *****
  • Posts: 1370
    • Portfolio
Re: Liquid seems bad
« Reply #9 on: March 27, 2016, 07:34:17 am »
At first, it looked unsmooth but after looking at it again, I think you have some normals flipped.

Offline Zvi

  • Full Member
  • ***
  • Posts: 242
Re: Liquid seems bad
« Reply #10 on: March 27, 2016, 12:55:40 pm »
At first, it looked unsmooth but after looking at it again, I think you have some normals flipped.

You were right. Thank you.
 And thanks to everyone who bothered himself offering his help.
 Even those who claimed that the problem was the gapless were right. There were places of contact between the liquid and the glass.
 Again, thanks to everyone!

Now it looks like this.