Hi everyone,
I used to remap the volume density by using a volume vop or a volume wrangle with the following line.
@density = chramp(“densityRemap”, @density);
However the ramp kind of flatten out the volume. Also, it uses less memory after the remapping.
1. Do anyone know how to correctly remap the density volume? And why would that happen?
2. There was a remap ramp in Pyro shader in H15 (see attachment) but I couldn't find it in H17.5.. I suppose manipulating density in the shader saves you time when you are look-deving. Because the geometry data isn't changed at all but only the shader does. Do you remap the density in shader? And how?
Thanks!
How do you remap volume density?
6178 2 0-
- yanfyyy
- Member
- 3 posts
- Joined: March 2018
- Offline
-
- hopeschroers
- Member
- 57 posts
- Joined: Nov. 2018
- Online
The density scale already multiplies the incoming density of the sim by that number. You could try editing the shader by adding a ramp parameter in there and multiplying that together to feed into the density scale.
But as far I'm aware the pyro shader node is not supported and is hidden in Houdini 18, idk about 17.5. https://www.sidefx.com/docs/houdini/nodes/shop/pyro.html [www.sidefx.com]
The image you have is the no longer supported shader in SHOP. The documentation says there is a supported Pyro Shader VOP node. There is a density scale in this one and a shape ramp like the one in the photo you have. https://www.sidefx.com/docs/houdini/nodes/vop/pyroshader.html [www.sidefx.com]
But as far I'm aware the pyro shader node is not supported and is hidden in Houdini 18, idk about 17.5. https://www.sidefx.com/docs/houdini/nodes/shop/pyro.html [www.sidefx.com]
The image you have is the no longer supported shader in SHOP. The documentation says there is a supported Pyro Shader VOP node. There is a density scale in this one and a shape ramp like the one in the photo you have. https://www.sidefx.com/docs/houdini/nodes/vop/pyroshader.html [www.sidefx.com]
Edited by hopeschroers - Dec. 22, 2019 01:11:21
-
- yanfyyy
- Member
- 3 posts
- Joined: March 2018
- Offline
hopeschroers
The density scale already multiplies the incoming density of the sim by that number. You could try editing the shader by adding a ramp parameter in there and multiplying that together to feed into the density scale.
But as far I'm aware the pyro shader node is not supported and is hidden in Houdini 18, idk about 17.5. https://www.sidefx.com/docs/houdini/nodes/shop/pyro.html [www.sidefx.com]
The image you have is the no longer supported shader in SHOP. The documentation says there is a supported Pyro Shader VOP node. There is a density scale in this one and a shape ramp like the one in the photo you have. https://www.sidefx.com/docs/houdini/nodes/vop/pyroshader.html [www.sidefx.com]
Thanks!
I found the Pyro shader in 17.5 afterward which has the ramp on it. I'll also try what you suggested. It's nice to know!
-
- Quick Links

