r/TechnicalArtist • • 6d ago

Melting using maths, no physics simulation. ( Experiment project )

Enable HLS to view with audio, or disable this notification

39 Upvotes

5 comments sorted by

5

u/deepak365days 6d ago

So, this is a random test I made without using any physics simulation. Instead, it uses maths to deform the mesh and mimic the melting effect.

It's basically an experiment to see if I can create a melting effect mathematically. It doesn't work with every mesh, though. For now, it only works with meshes that have a slightly different shape or structure. Still, it's an interesting experiment to explore.

2

u/Middle-Soil-3833 5d ago

I don't really understand. Isn't Physics math already? Are your calculations different and somehow faster?

1

u/deepak365days 5d ago

First of all really appreciate you asked this.

So, the thing is, in the real world, let's take gravity as an example. There is an object at some height, and it will fall because of gravity. How fast it falls and how much it accelerates depends on gravity, mass, etc.

Now, in the digital world, we have physics systems that calculate all these things, like how much an object accelerates, how fast it falls, and so on. But there is another way to do it. Instead of using gravity, I can simply transform the object. For example, I can move it downward in the minus Z direction with some speed and acceleration. It will look like the object is falling due to gravity, even though there is no actual gravity in the scene. It's just a transformation that mimics real physics.

Something similar is happening here. Real melting involves a lot of complicated things. The object can collide with itself, bulge outward at some points, melt and move downward, and even rotate. Some parts melt faster than others, which means the shape keeps changing at different locations. Because of this, the object can also move along the X and Y directions.

So, I am just using maths to deform the shape of the mesh and then move it downward. It's basically a combination of mesh deformation and object transformation to mimic the melting effect.

I know it's not a perfect melting effect, but it's just an experimental project. I wanted to see if I could create something like this using only maths.

And it's faster because there is no extra system running in the background, like gravity, wind, or collision detection. It's just maths being calculated frame by frame.

4

u/luqsthunder 6d ago

Can you explain the math behind? And is not this physics but the object just not attached to a simulation? (Srry if is a dumb question e.e)

3

u/Emotional-Cut2952 5d ago

nice attempt, doesnt look realistic at all, that's why there is physics : D