How do you use the karma uniform volume material preset?

   1284   7   2
User Avatar
Member
241 posts
Joined: Feb. 2016
Offline
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
241 posts
Joined: Feb. 2016
Offline
Still wondering about this : )
Thanks,

Evan
User Avatar
Member
118 posts
Joined: Dec. 2019
Offline
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
241 posts
Joined: Feb. 2016
Offline
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 - Sept. 21, 2024 11:45:59

Attachments:
preset.PNG (75.5 KB)

Thanks,

Evan
User Avatar
Member
113 posts
Joined: June 2020
Offline
Add a density attribute/value to your geo and it will work fine.
User Avatar
Member
241 posts
Joined: Feb. 2016
Offline
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 - Sept. 21, 2024 12:08:40
Thanks,

Evan
User Avatar
Member
113 posts
Joined: June 2020
Offline
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
241 posts
Joined: Feb. 2016
Offline
Thanks again!
Thanks,

Evan
  • Quick Links