Liquid Volumes

Use this forum for general user support and related questions.
Racleborg
Posts: 460
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Liquid Volumes

Post by Racleborg » 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

User avatar
FarbigeWelt
Donor
Donor
Posts: 863
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: Liquid Volumes

Post by FarbigeWelt » Tue Nov 13, 2018 1:08 pm

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.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
160.8 | 42.8 (10.7) Gfp | Windows 10 Pro, intel i7 4770K@3.5, 32 GB
2 AMD Radeon RX 5700 XT, 8 GB || Gfp = SFFT Gflops

User avatar
B.Y.O.B.
Developer
Developer
Posts: 2962
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Liquid Volumes

Post by B.Y.O.B. » Tue Nov 13, 2018 1:18 pm

Here's an example:
Attachments
glass_and_fluid_drawing.png
glass_and_fluid.jpg
glass_and_fluid.blend
(583.32 KiB) Downloaded 85 times
Support LuxCoreRender project with salts and bounties

Racleborg
Posts: 460
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: Liquid Volumes

Post by Racleborg » Tue Nov 13, 2018 1:30 pm

B.Y.O.B and FarbigeWelt

Thank you

Racleborg
Posts: 460
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: Liquid Volumes

Post by Racleborg » Tue Nov 13, 2018 4:22 pm

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

User avatar
B.Y.O.B.
Developer
Developer
Posts: 2962
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Liquid Volumes

Post by B.Y.O.B. » Tue Nov 13, 2018 5:15 pm

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.
Support LuxCoreRender project with salts and bounties

Racleborg
Posts: 460
Joined: Sat Apr 07, 2018 10:31 am
Location: UK

Re: Liquid Volumes

Post by Racleborg » Tue Nov 13, 2018 8:07 pm

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)

pulgasari
Posts: 8
Joined: Thu Sep 13, 2018 5:19 pm

Re: Liquid Volumes

Post by pulgasari » Wed Nov 14, 2018 1:53 am

Is it possible to simulate refraction through dissimilar liquids of different weights and refractive indexes, such as lightly colored oil and water?

User avatar
B.Y.O.B.
Developer
Developer
Posts: 2962
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Liquid Volumes

Post by B.Y.O.B. » Wed Nov 14, 2018 7:33 am

Yes. And LuxCore will automatically compute the IORs of the volume boundaries.
Support LuxCoreRender project with salts and bounties

pulgasari
Posts: 8
Joined: Thu Sep 13, 2018 5:19 pm

Re: Liquid Volumes

Post by pulgasari » Wed Nov 14, 2018 10:42 pm

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.

Post Reply