Masoud Posted April 16, 2022 Share Posted April 16, 2022 Hi guys, I would like to use the color channel of the Redshift's material volume node. 1) I created a vector point attribute called "absorption". 2) I added this attribute's name to the "Volume Rasterize Attribute", attributes list, to create a volume called "absorption" 3) In the "volume source" node of my pyro DOP, I added "absorption" as the source and target field (as vector type). 4) I add a "VDB vector merge" node before my pyro material node. 5) In the RS Volume material, I add "absorption name into the color channel. But it doesn't work..! How can I fix it? Thanks for helping. Absorption_01.hip Quote Link to comment Share on other sites More sharing options...
flcc Posted April 16, 2022 Share Posted April 16, 2022 After your vdbvectormerge there is only two volume : density and vel. Thus in the color channel field you can't use absorbtion, just density or vel. Quote Link to comment Share on other sites More sharing options...
Masoud Posted April 16, 2022 Author Share Posted April 16, 2022 Hi Fred, Your right, I add it, but it still doesn't work! Quote Link to comment Share on other sites More sharing options...
flcc Posted April 16, 2022 Share Posted April 16, 2022 (edited) What I do know is that the channel works the way you use it. Just enter the name of a volume that works to try. If you enter density, heat or temperature, which obviously must be present after the VDB conversion you will see that it works fine. Now I'm not really a pyro user. Just my two pence guess : I don't see where in the DOP network, the absorption volume is processed by the pyro solver. Maybe it's just that all the values are zero. In my opinion this is where you should look. Edited April 16, 2022 by flcc Quote Link to comment Share on other sites More sharing options...
Masoud Posted April 17, 2022 Author Share Posted April 17, 2022 Any more ideas? Quote Link to comment Share on other sites More sharing options...
Ziyad Posted April 17, 2022 Share Posted April 17, 2022 Hello, Like Fred suggested, your absorption vector attribute has 0 values, hence why it's not showing anything. Give the absorption attribute a value like {1,0,0} then use the Dop I/O node to import the volume fields including the absorption. You should then be able to see it working. Quote Link to comment Share on other sites More sharing options...
Masoud Posted April 18, 2022 Author Share Posted April 18, 2022 Hi Ziyad, Thanks for the reply. In the Volume Source, I turned the "Enlarge Fields to Contain Source" ON, and the problem was solved. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.