Karma XPU Color for Volume

   4478   6   2
User Avatar
Member
186 posts
Joined: 11月 2015
オンライン
I am trying to achieve something like this in Karma XPU.

volume displacement in arnold [leegriggs.com]


Is there a way to do colored volumes with materialx and karma xpu yet?
Edited by chf - 2023年3月2日 12:27:56
User Avatar
Member
8177 posts
Joined: 9月 2011
オフライン
I think you're stuck with Mantra for volume displacement
User Avatar
Member
10 posts
Joined:
オフライン
If you are looking for how to render a color volume in Karma, there is a "color with Cd volume" check box on the pyro shader. It's a little confusing; if you are using "Pyro Bake volume" to set up your shader, and have the "Diffuse Volume" set to Cd in the bindings, the pyro shader it creates doesn't have "color with Cd volume" turned on by default.
User Avatar
Member
1 posts
Joined: 12月 2020
オンライン
Hmm, for me in h20 checking that box still wouldn't color my volume.
A workaround was using "Karma Pyro Shader" instead of the "Pyro Shader" created by "Pyro Bake Volume". The checkbox there works.
Thanks for the tip still.
User Avatar
Member
100 posts
Joined: 10月 2021
オフライン
yayitsyasuo
Hmm, for me in h20 checking that box still wouldn't color my volume.
A workaround was using "Karma Pyro Shader" instead of the "Pyro Shader" created by "Pyro Bake Volume". The checkbox there works.
Thanks for the tip still.


But the Pyro_Shader that comes with the "Pyro Bake Volumes SOP" does not work with XPU since its VEX based...
www.rehimi.de
User Avatar
Member
100 posts
Joined: 10月 2021
オフライン
You can find a working XPU shader that reads Cd volumes here:

https://www.sidefx.com/forum/topic/93012/ [www.sidefx.com]
www.rehimi.de
User Avatar
Member
100 posts
Joined: 10月 2021
オフライン
Sorry for spamming but actually this is much simpler now, then the shader I posted above. These materials read all in the Cd volume and to my surprise it doesn't even matter if they are 3 single float Houdini volumes or if they are VDBs!





Attachments:
karma_volume_custom.png (95.8 KB)
karma_pyro_smoke_material.png (142.0 KB)
karma_unform_volume.png (162.2 KB)

www.rehimi.de
  • Quick Links