Jump to content
richnosworthy

Up res coloured pyro sim?

Recommended Posts

Hey,

anyone had any luck with upres'ing a colour pyro sim in houdini?  I'm just using the shelf tools to get something going quick.  Colored smoke from my point coloured object works perfectly, but when i up res the container with the shelf tool, i lose the smoke colour - just goes black.  

Checking the details of the up res dop network, up res smoke object has cd and alpha enabled, the volume source is sourcing Cd as it was in the initial sim, but something not working quite right.  If you do the coloured smoke shelf tool and then the up res container shelf tool, you should see what i mean.

Anyone got this working?

thanks

  • Like 1

Share this post


Link to post
Share on other sites

the upres solver hasn't been updated for a while, you'll need to add 3 things:
- resize the Cd field
- source into Cd
- advect Cd (inside the upres solver, the advect_density1 node)

hope that helps.
 

  • Like 1

Share this post


Link to post
Share on other sites

Here is an example if you're interested.
for the lowres sim, I had to change the "color" Enable Solver DOP, it required Alpha, and I didn't want that.
for the upres, I just added "Cd" in the gasAdvect.
As a bonus, I added a scalar field name "cdl", it's used to store/set the length of Cd on every frame, it keeps the colors visible for much longer.
left: div size=0.2, right: div size=0.033 (6x upres)

5d9012c713f06_Screenshotfrom2019-09-2819-08-27.png.eb5cdf4a307ef82a4450f071d46b10ab.png

advect_Cd_bunker_001.hiplc

  • Like 8

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×