<div dir="ltr"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px">Hello everyone,</span><br><div><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px"><br></span></div><div><font color="#000000" face="Helvetica"><span style="font-size:12px">there are now some cool features in the Mantaflow branch! Here is my summary of this week:</span></font></div><div><font color="#000000" face="Helvetica"><span style="font-size:12px"><br></span></font></div><div><font color="#000000" face="Helvetica"><span style="font-size:12px"><a href="https://wiki.blender.org/index.php/User:Sebbas/GSoC_2017/Reports/Week_2">https://wiki.blender.org/index.php/User:Sebbas/GSoC_2017/Reports/Week_2</a></span><br></font></div><div><font color="#000000" face="Helvetica"><span style="font-size:12px"><br></span></font></div><div><font color="#000000" face="Helvetica"><div><span style="font-size:12px">= Week 2 =</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">This week was a great success. Besides smaller UI improvements I managed to get FLIP particles into the viewport.</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">=== What&#39;s been done ===</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">* As one of the goals of this GSoC is also to get closer to the master branch integration, I took care of a UI shortcoming. Previously there was only the option to set domain borders according to a few textual descriptions (e.g. all open, just vertically open). This is a bit limiting and so I implemented a &quot;check box&quot; layout.</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">* Cleanup in the cache. The introduction of multiple domain support broke some of the file loading. I fixed this and now caching should continue even if the playback was reset in between. Files names also look a bit nicer now.</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">* Console output cleanup (it had gotten to a point where the output was slowing down the simulation ...).</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">* The particle API that I worked on last week turned out to be a good foundation. The file IO worked correctly, I only needed to adjust particle positions (scale and translate them to match Blender world coordinates). After some fine-tuning (removing dead Mantaflow particles), I finally got them to show up in the viewport. So now, for your liquid simulations you can choose between caching FLIP particles or meshes!</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">=== Next up ===</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">* I would like to improve the FLIP particle option a bit:</span></div><div><span style="font-size:12px">** Add an option to have mesh and FLIP particles both at the same time.</span></div><div><span style="font-size:12px">** Add an option to control the Narrow-Band width. This way you will be able to control the amount of particles. It&#39;s especially useful for scenes where you not only want a surface with particles but the entire volume filled up.</span></div><div><span style="font-size:12px">** Take care of particle caching with liquid high-res option enabled.</span></div><div><span style="font-size:12px">** Import particle velocities. Mantaflow stores them in a separate array which I need to save and load (.uni files) similarly to the actual particle system.</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">* I discussed with Nils how to approach the secondary particles (tracer, drop, float). As a first step, I will experiment with an additional particle system in Mantaflow. This system will act as a &quot;droplet&quot; generator: Whenever a cell exceeds a predetermined threshold velocity, a new particle should be created and initialized there (i.e. set location and copy velocity from underlying velocity grid).</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">* Once particle generation works, I can apply velocities and external forces on them (advection step, add gravity). All in all, this setup should create first Mantaflow secondary particle effects.</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">* Since this is setup is experimental, I&#39;ll first build a working prototype in Mantaflow. I can later transfer it to Blender.  </span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">=== Questions ===</span></div><div><span style="font-size:12px"><br></span></div><div><span style="font-size:12px">* No</span></div><div style="font-size:12px"><br></div><div style="font-size:12px">Best wishes,</div><div style="font-size:12px">Sebastián</div></font></div></div>