[Sidefx-houdini-list] colour volumes by particles

Ron Schab ron.schab at gmail.com
Mon Jan 22 09:19:24 EST 2018

Hey Gerbrand,

sounds like you are almost there.
Instead of using three volume vops (which of course run through the pc open
three times) u can do it all in one V-Vop.

Before the Vop you will need to create three volumes named Cd.x, Cd.y and
Cd.z (you could do that with three NameSOPs, that you merge back in with
your initial density volume).
Then in ur VolumeVOP use ur PCOpen and PCFilter as it sounds like you have
already set it up and bind export that to CD.
Then you just call that in your volume shader (most - if not all - of the
volume shaders that ship with Houdini are set up to do so already)

hope that makes sense?


Ron Schab


US: +1 951-5527104 # 290
CA: +1 778-7830782 #176
       +1 6047101797 (mob)
GER: +49 892-1094212 #772
       +49 (0)1577 - 4096084 (mob)
UK: +44 (0)7511 295510 (mob)
AUS: +61 (0)449 136336 (mob)
NZ: +64 (0)21 0754 597 (mob)
Malaysia:+60 133969400 (mob)

On 22 January 2018 at 14:54, Gerbrand Nel <g at cannonballbunny.com> wrote:

> Hey guys
> For some reason I find this much harder than I think it should be.
> I would like to colour a volume based on the colour of the points inside
> the volume.
> In my head I should just run this through a attribute transfer, and maybe
> a attribute blur.
> This however only works in my head... -_-
> I made a setup that kinda works, but it's slow as hell.
> In this setup I create 3 volume vops. in each one I use a pcopen to read
> my colors on the points, and multiply the R, G and B with the density of
> the volume.
> I now sit with 3 volume that I put a red, green and blue shader on.
> Like I said, this works, but its slow, and wrong and bad and I'm ashamed :)
> How to in real life?
> Thanks guys
> Gerbrand
> ---
> This email has been checked for viruses by AVG.
> http://www.avg.com
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

More information about the Sidefx-houdini-list mailing list