Damn_daniel Posted September 5, 2023 Share Posted September 5, 2023 Hi guys! Can somebody point me which are a the steps to guide the heightfields with pyro like in this example: https://www.instagram.com/p/Cwxgh43N7GG/?img_index=5 Is there anyway to advect heightfields with pyro or they're just using the pyro sim as a mask and the shapes are just an animated noise. Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Librarian Posted September 5, 2023 Share Posted September 5, 2023 (edited) @Damn_daniel make this in DOP (play with setting's ) and import field's , use Primitive Properties SOP node (volumes(change to height field) then you can use heigtfield SOP's nodes to mask end endless possibility.. and if you search here on forum you have examples. Edited September 5, 2023 by Librarian Quote Link to comment Share on other sites More sharing options...
Damn_daniel Posted September 6, 2023 Author Share Posted September 6, 2023 Hey @Librarian! Thanks for you answer, but not sure if I undestood correctly. Your screenshot is showing different parmaters of the pyro sim that can be used to guide the heightfields and you're saying that then I can convert each one of this gas fields masks as a heighfield usign the primitive SOP node? Is this what are you suggesting or I'm wrong? Can you point where I can find these examples, please? Quote Link to comment Share on other sites More sharing options...
Librarian Posted September 6, 2023 Share Posted September 6, 2023 one of many ways . Quote Link to comment Share on other sites More sharing options...
Damn_daniel Posted September 6, 2023 Author Share Posted September 6, 2023 (edited) Thanks @Librarian! Now I undestand it better. Anyway, do you mind share the hip file? It will very helptful. Edited September 6, 2023 by Damn_daniel Quote Link to comment Share on other sites More sharing options...
Librarian Posted September 8, 2023 Share Posted September 8, 2023 @Damn_daniel here its file's for Lazy Peoples . . Master these files and use after Heightfield flow Sop. to import into any field ..Have Fun. Quote Link to comment Share on other sites More sharing options...
vinyvince Posted September 10, 2023 Share Posted September 10, 2023 (edited) @Librarian What you are doing here looks interesting but like most of the time you confuse me! Was picking your word here and trying your idea with the flowfield, and see if i could inject a custom velocity field compute from a DOP to the flowfield (i.e heightfield slump with compute flowfield tick off as i was hoping it could take my own) But no success so far. I haven't got the time to dive into OpenCL , so so far my quick try to dive into the slump node code didn't payoff, like for example to not follow the gradient descent but the cross of this vector... So yeah didn't manage to replicate what i understand you did here; will give another try next week Edited September 10, 2023 by vinyvince Quote Link to comment Share on other sites More sharing options...
Librarian Posted September 11, 2023 Share Posted September 11, 2023 @vinyvince "A scalar is an entity which only has a magnitude – no direction. Examples of scalar quantities include mass, electric charge, temperature, distance, etc. A vector, on the other hand, is an entity that is characterized by a magnitude and a direction." If you have Time. Copy that first picture and you gonna see this. I never said that i use velocity ..Be water my Friend Quote Link to comment Share on other sites More sharing options...
vinyvince Posted September 11, 2023 Share Posted September 11, 2023 You too much hardcore for me Tesan . In my case i would like so that why i created 3 scalar fields named flowdir.x flowdir.y, flowdir.z... Im still lack experience manipulating variable @dPdx and @dPdy, and advecting a heighfield scalar field, and i don't see anyone talking about too Lol so either im the only one who don't know or we are several Lol But i stubborn , i will have see later on . What should i understand if i named my field like yours? I don't see the flowfield SOP using curl,divergence or gradient to guide the mask "advection" in opencl @Librarian Quote Link to comment Share on other sites More sharing options...
Librarian Posted September 12, 2023 Share Posted September 12, 2023 (edited) @Damn_daniel masking in Height values float value = @height % chf("spacing"); float min = chf("spacing") - (chf("line_width") / 2); float max = 0 + (chf("line_width") / 2); if(min <= value || value <= max) { @mask = 1; } SrBugArg.hiplc Edited September 23, 2023 by Librarian 6 2 Quote Link to comment Share on other sites More sharing options...
vinyvince Posted September 18, 2023 Share Posted September 18, 2023 (edited) Damn it as so straighforward haha! this is really really cool mate , awesome finding Tesan ! @Librarian Edited September 18, 2023 by vinyvince 1 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.