How do you use the karma uniform volume material preset?

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

Evan
User Avatar
Member
119 posts
Joined: 12月 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: 2月 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 - 2024年9月21日 11:45:59

Attachments:
preset.PNG (75.5 KB)

Thanks,

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

Evan
User Avatar
Member
113 posts
Joined: 6月 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: 2月 2016
Offline
Thanks again!
Thanks,

Evan
  • Quick Links