catchyid Posted September 2, 2021 Share Posted September 2, 2021 hi, i need to fill a street with lava that is moving in one direction (plz see attached). To make the lava flow across the road and given the street is level, how should I do that? One solution is to adjust particles velocity in each frame (i.e. blend v such that on each frame 10% desired velocity, 90% existing velocity), would that work? if not, any other idea? I thought making the floor inclined or changing the gravity direction, but that would cause possible issues .... thx Quote Link to comment Share on other sites More sharing options...
AndreaDD Posted September 9, 2021 Share Posted September 9, 2021 Hi! If you don't want to change gravity direction, I think an inclined plane can work, or you can try to use POP force or POP wind to push your Flip. 1 Quote Link to comment Share on other sites More sharing options...
catchyid Posted September 24, 2021 Author Share Posted September 24, 2021 also a force node would work good here .... thx 1 Quote Link to comment Share on other sites More sharing options...
catchyid Posted September 27, 2021 Author Share Posted September 27, 2021 Another question regarding Lava, in the attached image below, the volume shape of the fluid indicates its high viscosity. Now my question: I have a large pool of Lava with many shots, and each shot is like 1 or 2 seconds, if I want to produce these viscous shapes, then I need to have super long preroll to make the sim naturally produce this viscous shapes per shot...Is this is the right way to go? Are there any cheats where I can give this viscous volume illusion without simming for so many frames? Thx Quote Link to comment Share on other sites More sharing options...
Atom Posted September 27, 2021 Share Posted September 27, 2021 What if you constructed a single longer lava flow to generate surfaced .bgeo files? Then grab a surfaced frame from that lava flow as the mesh populator for the shorter shots. 1 Quote Link to comment Share on other sites More sharing options...
catchyid Posted September 28, 2021 Author Share Posted September 28, 2021 17 hours ago, Atom said: What if you constructed a single longer lava flow to generate surfaced .bgeo files Thx My question here is : is there any other way to generate an initial (e.g. one frame only) convincing lava flow shape other than simming a heavy viscous fluid for so many frames? I am talking only about the first frame? this way each shot can have its own preroll and just sim for couple frames for that shot. Thank you ... Quote Link to comment Share on other sites More sharing options...
Atom Posted September 28, 2021 Share Posted September 28, 2021 (edited) I guess my point is that lava doesn't have to be a heavy sim. The example file on Houdini Blue print simulates fairly quickly. https://hdbp.io/fK0FtieT The detail in a lava shot is going to lean more on the materials rather than the surface generation. Edited September 28, 2021 by Atom 2 Quote Link to comment Share on other sites More sharing options...
catchyid Posted October 8, 2021 Author Share Posted October 8, 2021 Thx Atom Yup, I was able to generate the sim easily as you mentioned, thx a lot. On 9/28/2021 at 10:45 AM, Atom said: The detail in a lava shot is going to lean more on the materials rather than the surface generation. We are using an external renderer, so we develop the shader ourselves. I would need to enable rest/rest2 to get UVs on the Lava, right? If there is an article or a tutorial that discusses the general concept plz share it thx again Quote Link to comment Share on other sites More sharing options...
ryew Posted October 8, 2021 Share Posted October 8, 2021 (edited) Yes, you'd want to enable rest coordinates in order to have your texture coordinates stick to the lava for shader use; there is likely an example of using it somewhere onodforce, (I recall @Atom had one with a melting phone screen awhile back) and you can check out @toadstorm's overview of the overall concept on his blog https://www.toadstorm.com/blog/?p=312 In the case of lava, I don't believe you'd need full dual rest since the texture stretches by nature (someone please jump in and correct me if I'm mistaken) but worst-case you could have both enabled for safety and delete unwanted data in post. Edit: With regards to previous conversation about generating initial frames without sim; remember the FLIP sim in the end is merely a large point cloud which can be generated from any geometry input; given that the surface and shading of lava is at its simplest a lot of overlapped noise functions, you should be able to model the shapes you want and apply an appropriate texture prior to their input into the FLIP solver. Edited October 8, 2021 by ryew other info 1 Quote Link to comment Share on other sites More sharing options...
Jesper Rahlff Posted October 9, 2021 Share Posted October 9, 2021 8 hours ago, ryew said: I don't believe you'd need full dual rest since the texture stretches by nature (someone please jump in and correct me if I'm mistaken) I would say dual rest is quite useful. as stated previously by Atom a lot of the details you want will come from good shading and texturing. Dual rest will help you maintain a crisp look of your bump/ displacement on the surface 2 Quote Link to comment Share on other sites More sharing options...
ryew Posted October 10, 2021 Share Posted October 10, 2021 Thanks for the tip, @Jesper Rahlff - do you have any recent simple examples of this you could post to demonstrate? The H15 example mentioned in Houdini Blueprints is not using any rest coordinates and I've only used dual rest for Pyro texturing with single rest for melting/stretching FLIP so am unaware of the typical use there. I did find an old post by @toadstorm again here https://www.toadstorm.com/blog/?p=312 but it's 7 years back and a lot has changed since then so perhaps there is a more direct way to implement it now. 1 Quote Link to comment Share on other sites More sharing options...
toadstorm Posted October 12, 2021 Share Posted October 12, 2021 (edited) FLIP comes with built-in options for dual rest fields now... they've been there for a few years. My post is really old, but the concept behind dual rest fields hasn't changed... it's actually pretty similar to how flow map shaders work, if you're into shaders. You can find the options under Particle Motion > Rest on the FLIP Solver DOP. Edited October 12, 2021 by toadstorm 2 Quote Link to comment Share on other sites More sharing options...
Andrea Posted October 12, 2021 Share Posted October 12, 2021 It's not much different from using single rest fields, just in addition of that you have to consider the interpolation between the two rest fields and their resets. To interpolate two details attribute are created by the solver. They are called rest_ratio and rest2_ratio, which are basically values that describe how much the noise advected by rest1 and the noise advected by rest2 should be visible at a certain frame. About that, I think it's better you use higher values on "Frames between resets" on the Rest tab of the flip solver. Since usually it has to move slowly, you don't want to see any fast changing noise on the shader. 2 Quote Link to comment Share on other sites More sharing options...
Jesper Rahlff Posted October 12, 2021 Share Posted October 12, 2021 (edited) attached is an example of how it could be done. Keep in mind this is intended to be used with lower contrast images, for bump mapping etc and not a fully blown high contrast brick image. but it gets the point across I think. restratio_flipblend.hiplc Edited October 12, 2021 by Jesper Rahlff 3 1 Quote Link to comment Share on other sites More sharing options...
catchyid Posted October 12, 2021 Author Share Posted October 12, 2021 WOW, thaaaaaaaaaaanks everyone and special thanks Jesper Quote Link to comment Share on other sites More sharing options...
ryew Posted October 12, 2021 Share Posted October 12, 2021 Fantasic, thank you for providing some educational reference, Jesper! I really appreciate it, looking forward to checking this out Quote Link to comment Share on other sites More sharing options...
爱笑的菠萝 Posted December 4, 2021 Share Posted December 4, 2021 On 2021/10/12 at PM5点45分, Jesper Rahlff said: 附件是如何做到的一个例子。请记住,这旨在与低对比度图像、凹凸贴图等一起使用,而不是完全高对比度的砖块图像。但我认为这很重要。 restratio_flipblend.hiplc How to give mesh a correct UV use this method. Thank 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.