Page 1 of 1

Issue with characteristics of a mesh to use as a volume domain

Posted: Mon Sep 21, 2020 9:49 am
by Clockmaster77
Hi, I am trying to set a simple cube, and also other simple meshes, as domains for smoke data or for auto step function in homogeneous and heterogeneous volume nodes. The picker simple doesn't accept the cube and the other meshes as domains. Not talking about more complex meshes.
Which are the characteristics of a volume domain mesh? I am missing something?

Moreover, once setted the smoke domain correctly, how I can use it to generate static volumetric objects?

P.S.: the same meshes works as open VDB files domains in Blender. I'm confused.

Re: Issue with characteristics of a mesh to use as a volume domain

Posted: Mon Sep 21, 2020 11:43 am
by B.Y.O.B.
The domain needs to have a smoke modifier:
https://github.com/LuxCoreRender/BlendL ... oke.py#L17
https://github.com/LuxCoreRender/BlendL ... __.py#L457

Can you upload a small example file that demonstrates the issue? How are you loading the smoke data?
I guess the picker should include a check for something else, or be removed?

Re: Issue with characteristics of a mesh to use as a volume domain

Posted: Mon Sep 21, 2020 7:35 pm
by Clockmaster77
Please excuse my incompetence with Python coding. How can I use these Python code into my Blender/LuxCoreRender setup?
Attached a simple setup where I used a .vdb file that I found on the Web. With VDB giles the domain works. I wish I could do the same with the unlinked (for now) smoke NODE.

I am very interested in what LuxCoreRender and Blender can achieve with volumetrics, so I wish I can learn how to use it properly.

I have attached a screenshot of my very primitive setup and the related blender file.
Thank You very much for your help

Re: Issue with characteristics of a mesh to use as a volume domain

Posted: Mon Sep 21, 2020 8:31 pm
by Clockmaster77
Very wrong setup (bad inputs), but much better results, in this VDB there is also a temperature value and I plug it into emission, obtaining something more realistic.

Re: Issue with characteristics of a mesh to use as a volume domain

Posted: Tue Sep 22, 2020 12:48 am
by B.Y.O.B.
We have the OpenVDB node for .vdb files, the smoke node is intended only for smoke simulations done in Blender (using the Blender smoke modifier).

Re: Issue with characteristics of a mesh to use as a volume domain

Posted: Tue Sep 22, 2020 7:12 am
by Clockmaster77
Thanks 😊
I will set a simulation in blender and if I have other doubts I will reply here.
Bye

Re: Issue with characteristics of a mesh to use as a volume domain

Posted: Tue Sep 22, 2020 10:10 am
by Clockmaster77
Hi! Just set up the smoke domain with a Blender smoke simulation, and all went ok. Very basic setup screenshot attached.
and the Flame, Heat, Temperature, Color, and Velocity input, where they can be plugged to obtain best effects? Maybe to a color ramp?
Thanks again and bye