How do you use the karma uniform volume material preset?

   5130   8   3
User Avatar
Member
266 posts
Joined: 2月 2016
オフライン
How do you get this thing working? In what's new in houdini 20 it says there is a preset for rendering constant volumes. It doesn't work for me unless I go inside and change a few things.

Attachments:
help.PNG (104.1 KB)
Animation.gif (4.5 MB)
uvolume.hiplc (730.3 KB)

Thanks,

Evan
User Avatar
Member
266 posts
Joined: 2月 2016
オフライン
Still wondering about this : )
Thanks,

Evan
User Avatar
Member
128 posts
Joined: 12月 2019
オフライン
Hello,

Karma Uniform Volume Material is a preset around Karma Pyro Shader VOP, which expects a volume with fields like density, temperature, flame and scatter.

If you want to render a mesh as a uniform volume, you need to set a Uniform Volume property, either from Karma Material Properties VOP or from a Render Geometry Settings LOP, and use a Karma Volume VOP as a material.

Attachments:
KarmaUniformVolume.hiplc (720.9 KB)

Houdini Pipeline Supervisor @ TAT Studio
User Avatar
Member
266 posts
Joined: 2月 2016
オフライン
ObeidaZakzak
Hello,

Karma Uniform Volume Material is a preset around Karma Pyro Shader VOP, which expects a volume with fields like density, temperature, flame and scatter.

If you want to render a mesh as a uniform volume, you need to set a Uniform Volume property, either from Karma Material Properties VOP or from a Render Geometry Settings LOP, and use a Karma Volume VOP as a material.

Did you see the docs I posted? It says its for "rendering uniform constant volumes". Also, the preset automatically sets the uniform volume property. So it was intended for geometry, not volumes.

also did you see how I got the karma pyro shader working with the geo in my video? I just had to change a few things.

The uniform volume preset is a wrapper around the karma volume (which can be used for uniform volumes)

I wonder if this is just a bug?

(thanks for the reply)
Edited by evanrudefx - 2024年9月21日 11:45:59

Attachments:
preset.PNG (75.5 KB)

Thanks,

Evan
User Avatar
Member
153 posts
Joined: 6月 2020
オフライン
Add a density attribute/value to your geo and it will work fine.
User Avatar
Member
266 posts
Joined: 2月 2016
オフライン
freshbaked
Add a density attribute/value to your geo and it will work fine.

Thanks! That was it. Unfortunately it only seems to work with cpu (not xpu). But at least its working now. Thanks again.
Edited by evanrudefx - 2024年9月21日 12:08:40
Thanks,

Evan
User Avatar
Member
153 posts
Joined: 6月 2020
オフライン
evanrudefx
only seems to work with cpu (not xpu)

According to the docs XPU supports "Uniform Volumes" but only the Karma Volume VOP works currently.
User Avatar
Member
266 posts
Joined: 2月 2016
オフライン
Thanks again!
Thanks,

Evan
User Avatar
Member
162 posts
Joined: 9月 2017
オフライン
Quick question -- how did you guys add the density attribute? I am trying the same approach and placing a density attrib on my geo doesn't seem to be changing the uniform volume density.
  • Quick Links