Matt_K Posted August 31, 2012 Share Posted August 31, 2012 Hi everyone! Does anyone have any ideas on how to mix the colours pyro smoke sims? I have searched for info and tried a number of the example files relating to mixing volumes, mixing fluids etc, but just can't seem to get this right for Pyro2. What I would like to achieve is this: Have 2 or more sources that set the colour of the smoke generated from those sources, then where the smoke interacts, the colours should mix or combine, producing blended colours. I have tried using the sopvectorfield/gasadvectfield method, but I guess I'm missing something. If anyone has any pointers or can direct me to the best example file I could use as a starting point, I would be most grateful! I'm using Houdini 12.1.33 on Linux. Quote Link to comment Share on other sites More sharing options...
jkunz07 Posted August 31, 2012 Share Posted August 31, 2012 (edited) Hi everyone! Does anyone have any ideas on how to mix the colours pyro smoke sims? I have searched for info and tried a number of the example files relating to mixing volumes, mixing fluids etc, but just can't seem to get this right for Pyro2. What I would like to achieve is this: Have 2 or more sources that set the colour of the smoke generated from those sources, then where the smoke interacts, the colours should mix or combine, producing blended colours. I have tried using the sopvectorfield/gasadvectfield method, but I guess I'm missing something. If anyone has any pointers or can direct me to the best example file I could use as a starting point, I would be most grateful! I'm using Houdini 12.1.33 on Linux. Have a look at page 26 of Peter Claes pdf http://www.peterclaes.be/tutorials/pct_0007.pdf Scene files can be downloaded too http://www.peterclaes.be/tutorials/PeterClaesThesis/index.html Edited August 31, 2012 by jkunz07 Quote Link to comment Share on other sites More sharing options...
Matt_K Posted August 31, 2012 Author Share Posted August 31, 2012 Ah, many thanks! I found the page describing his thesis but wasn't able to get the example files. Much appreciated! Matt. Quote Link to comment Share on other sites More sharing options...
dobin Posted August 31, 2012 Share Posted August 31, 2012 -add a Cd vector field at SOP level using fluid source -in dops add a Cd vector field as well -add a gas advect field to advect the Cd by velocity -add gas difuse field to blend between colors -to see it in render add Cd field in your pyro import DOP I/O node at SOP level that's it here is an example: Pyro2_Color_Mix.hip 2 Quote Link to comment Share on other sites More sharing options...
Matt_K Posted August 31, 2012 Author Share Posted August 31, 2012 Thanks Dobin, That helps a lot! Much appreciated. Matt. Quote Link to comment Share on other sites More sharing options...
jkunz07 Posted September 1, 2012 Share Posted September 1, 2012 I haven't tried it, but I think adding vorticles would help mix the smoke a little faster. Quote Link to comment Share on other sites More sharing options...
Matt_K Posted September 2, 2012 Author Share Posted September 2, 2012 (edited) Hi again MrKunz! Will give the vorticles a go. Matt. Edited September 2, 2012 by Matt_K Quote Link to comment Share on other sites More sharing options...
johnLIC Posted February 26, 2015 Share Posted February 26, 2015 (edited) Thanks for all this. Super helpful. Here's a dumb question. How do I see the colors in the viewport? I was able to replicate all of this, and I can render the colors, but I can not see the colors in the viewport. ??? ( I am in Houdini 14 btw ) thanks Edited February 26, 2015 by johnLIC Quote Link to comment Share on other sites More sharing options...
prashantcgi Posted February 27, 2015 Share Posted February 27, 2015 (edited) Hi You can use volume visualization node Edited February 27, 2015 by prashantcgi Quote Link to comment Share on other sites More sharing options...
johnLIC Posted February 27, 2015 Share Posted February 27, 2015 Thank you!!! I will try it out tomorrow morning. Quote Link to comment Share on other sites More sharing options...
johnLIC Posted February 27, 2015 Share Posted February 27, 2015 So, I had the color mix working for a while yesterday, and now it's not working - I'm getting pretty pastel rainbow craziness. The data in the color channel is messed up - I'm rendering velocities or normals or something, I think. ???? Quote Link to comment Share on other sites More sharing options...
johnLIC Posted March 2, 2015 Share Posted March 2, 2015 Hi again - I couldn't get my rainnbows to go away, so I grabbed Dobin's file, and started to build on that. I have a new problem: I am using motionblur in the Fluid Source nodes, but the colors are not getting motion blurred. I have dots of color in smears of density. Can anyone help? I am attaching a file. pyro_colors.hip 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.