Mzigaib Posted September 15, 2011 Share Posted September 15, 2011 (edited) I am trying to render smoke with pyro but I m having jumpings on the texture noise even with the dual rest turned on I am also using billowy smoke shader, anyone else having this problem? Obs: Using Houdini 11.1. Thanks. Edited September 15, 2011 by Mzigaib Quote Link to comment Share on other sites More sharing options...
efx Posted September 15, 2011 Share Posted September 15, 2011 Hi, I am not using H11.1 yet. And I am wondering are you sure that H11.1's billowy smoke supports dual rest?? ~H11.0., it does not so. Cheers Quote Link to comment Share on other sites More sharing options...
Mzigaib Posted September 15, 2011 Author Share Posted September 15, 2011 Hummm, theres no option for dual rest, how could i make this work inside the shader? Thanks for the feedback. Quote Link to comment Share on other sites More sharing options...
lukeiamyourfather Posted September 15, 2011 Share Posted September 15, 2011 Hummm, theres no option for dual rest, how could i make this work inside the shader? Thanks for the feedback. Use the Pyro shader which supports dual rest fields out of the box. The dual rest functionality can be ported to other shaders and renderers but why reinvent the wheel? If you decide to add the functionality essentially the shader should always be looking at the field that isn't resetting and fade back and forth between them as the reset alternates. Quote Link to comment Share on other sites More sharing options...
Mzigaib Posted September 15, 2011 Author Share Posted September 15, 2011 (edited) Use the Pyro shader which supports dual rest fields out of the box. The dual rest functionality can be ported to other shaders and renderers but why reinvent the wheel? If you decide to add the functionality essentially the shader should always be looking at the field that isn't resetting and fade back and forth between them as the reset alternates. Thanks for the feedback! I would like to port this for a VOP VEX shader because 1st I would like to learn 2nd I still not good with code so using vop shop is easier to me, I didn't test it yet but can you tell me if i can get the same results with the pyro shader comparing to billowy smoke shader? Thanks. Edited September 15, 2011 by Mzigaib Quote Link to comment Share on other sites More sharing options...
efx Posted September 15, 2011 Share Posted September 15, 2011 if you want to make custom billowy smoke, you can use inline code inside If Do noise and write like below, float drw = ($frame-$start)%$rate; float bw; drw = smooth(0,$rate*0.5,drw) - smooth($rate*0.5,$rate,drw); bw = lerp($noise2,$noise,drw); $out = bw; $frame is current frame ($FF) $start is start frame $rate is reset every frame you can also see code from pyro shader and you can find very similar code. or you can build without inline code like this pic chaos1 connected to noise1 with rest1 chaos2 connected to noise2 with rest2 Hope this helps Cheers 2 Quote Link to comment Share on other sites More sharing options...
Mzigaib Posted September 15, 2011 Author Share Posted September 15, 2011 Thank you very much, I'll try it soon as I can but I get your explanation realy helpful. I'll let you soons as I tzry it. Cheers! 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.