Wednesday, July 20, 2011

Day 36

Today I continued with the ripple effect. I broke up my terrain as what Steven told me. And this was how it looked( after pre-fracturing it )



I started working in the center impact portion. And that portion also happens to have the most scattered points on it.

I re-did my entire system from before. And after doing it, I realised that after the ripple occured, my fractured pieces still continue to bounce.

Not knowing why, I consulted Eric for advice. He told me that the most logical reason he can think of is because I added a force to force the pieces up and I also added another force to force the pieces down. Hence, that results in the bouncing in mid-air effect.

He told me to try to work simple if I wanted to work with groups.

Hence, I sat down thought through how I wanted it to be.

And suddenly I realised, since I already defined color inside dops, why don't I use that group to force the pieces to go up and then add a gravity node and force the pieces down after that? It may sound the same, but the group which is created based on color takes in the pieces based on the color value. Which in this case is driven by the a torus-like shape which is animated against time. Hence, some pieces which are affected by the group will go out of the group once they lose their color values. Hence, I could have more control.

I proceed on in that direction. For the gravity force pushing the pieces down, I went with the same expression that groups the pieces based on their position data.

And I will post some test videos below.

Anyway, after making sure that looks decent, I proceeded on with the second layer of the terrain.



I realised that using the same settings for the smaller terrain portion will not work for the bigger one. More settings needed to be tweaked. Or maybe its because of the piece size. Who knows?

Anyways, I played with the glue value, put that to 0. I changed the rotational stiffness and the friction.

I also increased the force that pushes the pieces upwards and decrease the forces that pushes the pieces downwards. I just played with it and hopefully I could show Steven something decent if he comes in tomorrow.

No comments:

Post a Comment