GSoC Roundup Episode Four: Let’s Get Physical

The 2021 Google Summer of Code projects have just wrapped up, concluding ten weeks of Blender development over eight projects helmed by students and supervised by members of the Blender development team. This is the fourth post in a four-part series exploring what the students have achieved during this year’s development stint.

Episode Four: Let’s Get Physical

The summer is firmly in the rearview mirror now, meaning the 2021 GSoC overview series is coming to an end. While the third post in the series looked at the Curve and Knife tool projects, this fourth and final post will go through the two GSoC projects dealing with the realm of physics and simulations, closing out this tetralogy with an (adaptively simulated and accurately visualized) bang. More specifically, we will be looking at the “Adaptive Cloth Simulator” project by Ish Bosamiya and the “Display simulation data for rigid bodies and cloth” project by Soumya Pochiraju.


Adaptive Cloth Simulator

You Can Keep Your Hat On

First up is the “Adaptive Cloth Simulator” project by Ish Bosamiya, with mentors Sebastian Parborg and Sebastián Barschkis. This was not Ish’s first GSoC rodeo, with the student participating in the 2019 edition, laying the groundwork for this year’s project by also working on adaptive cloth simulation. However, the initial plan of simply refactoring the 2019 code and pushing through with the project was dropped when Ish realized how far the general Blender code-base had evolved since then. This led Ish to completely rewrite the project from the ground up, laying up the groundwork for a potential merge with master.

As a result, Ish came up with a new mesh structure and implemented changes to the cloth modifier to become a non-deform modifier storing the previous frame, all efforts to implement new static and dynamic remeshing algorithms.

Static Remeshing

A new static remeshing implementation by Ish. Learn More.

Dynamic Remeshing and Sewing

Ish continued working beyond the initial ten weeks allocated to the GSoC on Dynamic remeshing and Sewing features based on user feedback. Learn More.

Mesh Analyzer Tool

Ish built a standalone Mesh Analyzer tool to aid with the development work over the GSoC period. Learn More.

Ish’s Mesh Analyzer Tool in action debugging static remeshing

Display Simulation Data for Rigid Bodies and Cloth

Show Me the Magic

Soumya Pochiraju ‘s project aiming at providing visual debugging tools that would be a great addition for physics work in Blender was also mentored by the two Sebastians. Over the summer, Soumya managed to implement displays for all the data mentioned in the initial proposal save for cloth springs, on account of time. This leaves the project with an impressive roster of new visualizations, which we will go through below.

Velocity, Acceleration, and Forces

Velocity, acceleration and forces acting on active rigid bodies are displayed in the form of color-coded vectors. Normal, effector and gravitational forces are in pink, frictional forces are in yellow and the resultant is in cyan. Learn more.

Normal, frictional, and net forces on a cube, displayed via Soumya’s implementation.

Collisions

The frame of the collision shapes lights up if an object collided with something within the past timestep. Learn more.

Colliding Boxes

Constraints

In collaboration with Sebastian Parborg, three ways were devised to visualize constraints: Slider, Hinge, and Piston. Learn more.

And more:

Keep in mind that all GSoC projects are developed in separate branches, meaning that all these features have not necessarily been merged with master. The ultimate landing (or not) of these patches lies in their overall quality and in the GSoC students’ motivation to pursue development and maintenance of their work beyond the GSoC weeks.


This is it for this year’s overview series. It’s been a pleasure covering what has proved to be an exceptional GSoC year, with a majority of the projects hitting their proposed goals and landing in master.

Find out more on these two projects on the links below:

3 comments
  1. When can we take a look on this goodies?
    So excited

  2. exciting stuff as alway, really hope these get merged into master at some point

  3. Woah, those additions look amazing!

In order to prevent spam, comments are closed 15 days after the post is published.
Feel free to continue the conversation on the forums.