Page 1 of 2

Liquid Volumes

Posted: Tue Nov 13, 2018 12:04 pm
by Racleborg
Hi

Would someone please point me in the direction of a tutorial that explains how to setup volumes for objects such as a bottle with a liquid inside.

I've done sharlybg's excellent Beer advert tutorial, but can't see anything about the materials.

Thanks

Re: Liquid Volumes

Posted: Tue Nov 13, 2018 1:08 pm
by FarbigeWelt
Racleborg wrote:
Tue Nov 13, 2018 12:04 pm
Hi

Would someone please point me in the direction of a tutorial that explains how to setup volumes for objects such as a bottle with a liquid inside.

I've done sharlybg's excellent Beer advert tutorial, but can't see anything about the materials.

Thanks
Usually, I use internal volume with IOR node and clear volume for liquids with colors I define looking at view render instant results. And increase the priority compared to external volume like air but lower than the one of containers internal volume.

Re: Liquid Volumes

Posted: Tue Nov 13, 2018 1:18 pm
by B.Y.O.B.
Here's an example:

Re: Liquid Volumes

Posted: Tue Nov 13, 2018 1:30 pm
by Racleborg
B.Y.O.B and FarbigeWelt

Thank you

Re: Liquid Volumes

Posted: Tue Nov 13, 2018 4:22 pm
by Racleborg
Sorry. Forget post below. It's something to do with scaling :oops:

I've made this work nicely, thank you. I have joined all the meshes, which continues to work. However, when I start a new project and append, the volumes are no longer showing despite all materials and meshes still appearing correct?

This is also happening when I append from the Glass and Fluid example that you uploaded for me.

Thanks

Re: Liquid Volumes

Posted: Tue Nov 13, 2018 5:15 pm
by B.Y.O.B.
Racleborg wrote:
Tue Nov 13, 2018 4:22 pm
However, when I start a new project and append, the volumes are no longer showing despite all materials and meshes still appearing correct?

This is also happening when I append from the Glass and Fluid example that you uploaded for me.
I have tried, but I can not reproduce this.
Everything works here after appending.

Re: Liquid Volumes

Posted: Tue Nov 13, 2018 8:07 pm
by Racleborg
Hi B.Y.O.B

(I edited my last post)

I managed to get it to work by tweaking the Absorption down to 1mm in my original scene, then it works fine.

Maybe my Blender Scene setup is wrong somehow.

BTW. Thanks for the Fabric node fix (Beta 2)

Re: Liquid Volumes

Posted: Wed Nov 14, 2018 1:53 am
by pulgasari
Is it possible to simulate refraction through dissimilar liquids of different weights and refractive indexes, such as lightly colored oil and water?

Re: Liquid Volumes

Posted: Wed Nov 14, 2018 7:33 am
by B.Y.O.B.
Yes. And LuxCore will automatically compute the IORs of the volume boundaries.

Re: Liquid Volumes

Posted: Wed Nov 14, 2018 10:42 pm
by pulgasari
Index of Refraction? Thats pretty good because it is definitely visible in the real world situation. I am just blown away by the quality of some of the Lux renders I've seen here. I'm just a blender beginner. One cool thing, though, I finally got my GPU rendering working properly. On my unsupported distro. And it works great.

I'm still trying to sort out when I can use it and how. But, hey, its fun learning. Thank you all for an absolutely amazing tool.

In the past I have done lighting related things that I would like to explore simulating in the computer when I get a little better.

Am I right in that currently, many of the specular effects with prisms, etc, are not available in their full glory on the GPU, or am I just not getting how to do it as far as the rendering algorithms. Because they work for me on the CPU, but not the GPU.