meria.everheart Posted July 22, 2020 Share Posted July 22, 2020 Hi there. I've been trying to figure this out and I can't tell if there is Local Fluid Simulation or not. But I know the global mesh of water and stuff is simulated as a 2D grid with point particles positioned in the vertices of the mesh. And I was wondering if it was possible to use Local Fluid Simulation to for example, have a boat fill up with water after getting cracked hull and it starts to sink. Being able to make boats fill with water would be amazing. Link to comment
morbid Posted July 22, 2020 Share Posted July 22, 2020 Hi, we're not providing such feature out of the box. Water simulation is a procedural surface that is controlled with the specific shader. The focus was on realistic visuals and buoyancy, not fluid simulation. If you're looking for fluid physics it's better to think of custom implementations for the project. A good research will be required for sure. The easiest way, however, is using FiledSpacer to cut off the global water and add some particles and WaterMesh to simulate water level raising. Of course it's not a fluid simulation, but you said about boat being filled up. Thanks! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
meria.everheart Posted July 22, 2020 Author Share Posted July 22, 2020 Hi there. Thank you for this information. So with enough coding I could probably get fluid simulation to work? Link to comment
morbid Posted July 23, 2020 Share Posted July 23, 2020 In short — yes :) Time and resources for this depends on your expectation and requirements. I mentioned two possible ways: researching math and writing your own implementation for water and building visual effect with the standard objects. Thanks! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
werner.poetzelberger Posted July 23, 2020 Share Posted July 23, 2020 It is definitely possible to integrate custom solutions. I think, that Unigine is a very good platform for these tasks. We do that basically for each of our projects, as there is always need of custom stuff. e.g. here, we did our own 2d fluid simulation and volume rendering. http://www.johngerrard.net/western-flag-spindletop-texas-2017.html Best.w. 3 Link to comment
Recommended Posts