Dandelion R&D

Comments on work in progress
Post Reply
Pancho
Posts: 659
Joined: 19 Sep 2010, 11:28

Dandelion R&D

Post by Pancho » 12 Aug 2013, 16:58

I recently started to rebuild a dandelion image I did some years ago in LW. Everything so far is based on ICE. I managed to solve some aspects of the project in terms of being able to animate the whole thing, but there are still some areas which need refinement and ideas to solve certain issues.



This is the first test in order to ensure that the fibres stay attached to the end of the seeds. The fibres also get deformed by forces which result in the movement of the seeds.

Pancho
Posts: 659
Joined: 19 Sep 2010, 11:28

Dandelion R&D

Post by Pancho » 12 Aug 2013, 17:00



Second video with a test for a global wind force effecting all plants on the final meadow. The stems are strands with about 10 segments. The cylinder as a placeholder for the flower is on a second point cloud which tracks the movement of the final segment of the stem strand.

Pancho
Posts: 659
Joined: 19 Sep 2010, 11:28

Dandelion R&D

Post by Pancho » 12 Aug 2013, 17:05



In this video I do have a rotational force applied to the stems which is supposed to rotate the seeds in such a fashion that the fibrous end is pointing upwards and the thick ending of the seed is pointing downwards.

This is kind of experimental. There also seems to be a kind of leak, as the swinging stops even without a damping force applied after a few seconds. The wind force is currently not included in the swinging movement.

I wonder whether strands would make this force easier to manage. Right now this force is based on the angle of the seed and the gravity, resulting in a force tangentially to the seed direction.

Pancho
Posts: 659
Joined: 19 Sep 2010, 11:28

Dandelion R&D

Post by Pancho » 12 Aug 2013, 17:12

Does anybody has an advice for checking intercollision of the seeds and collision between the seeds and the flower head? I do own Momentum 3, but never used it so far. So I do have no idea whether this would be the way to go or if some other kind of rigid body simulation if suitable too.

Also, how would this collision simulation go together with the other forces currently applied?

User avatar
gustavoeb
Moderator
Posts: 587
Joined: 21 Jul 2010, 00:33
Skype: gustavoboehs

Re: Dandelion R&D

Post by gustavoeb » 12 Aug 2013, 17:58



you could try neighbouring forces like Alan does for his baloons... a lower force might get you something a bit more flexible / less rigid.
dont know how would you couple that with the strands in the end though... but it is probably doable
Gustavo Eggert Boehs
Blog: http://www.gustavoeb.com.br/

Pancho
Posts: 659
Joined: 19 Sep 2010, 11:28

Re: Dandelion R&D

Post by Pancho » 12 Aug 2013, 18:02

Oh! Great! The video is finaly up. Just saw the teaser some time ago.

Thanks! I'll take a look. Wow. 55min.....

User avatar
gustavoeb
Moderator
Posts: 587
Joined: 21 Jul 2010, 00:33
Skype: gustavoboehs

Re: Dandelion R&D

Post by gustavoeb » 12 Aug 2013, 18:14

lol... zap through until you find where he uses neighbouring forces...
basically he just scale the forces according to the size and all. nothing fancy but works wonders
Gustavo Eggert Boehs
Blog: http://www.gustavoeb.com.br/

Pancho
Posts: 659
Joined: 19 Sep 2010, 11:28

Re: Dandelion R&D

Post by Pancho » 12 Aug 2013, 22:27

I just checked one of the example scenes in the SI folder "Strand dynamics hair". I got rid of the collision nodes and another one which goes in the iteration node as well, reduced the strand segments to one. Also the damp force is disabled. So it's only gravity working on the strands.

Everything looks like expected: Each strand swings like a pendulum, but not for very much longer. After 20-30 pendulum movements each strand comes to a stop. For my current purpose this might be good enough, but to understand what's going on under the hood: Where's the energy leak? Actually it should continue to swing till the end of days (at least till I switch off the computer). Anybody an idea whether it's the verlet integration or the length constrain?

Cheers!

User avatar
Mathaeus
Posts: 1778
Joined: 08 Jun 2009, 21:11
Location: Zagreb, Croatia
Contact:

Re: Dandelion R&D

Post by Mathaeus » 12 Aug 2013, 23:36

Pancho wrote: Everything looks like expected: Each strand swings like a pendulum, but not for very much longer. After 20-30 pendulum movements each strand comes to a stop. For my current purpose this might be good enough, but to understand what's going on under the hood: Where's the energy leak? Actually it should continue to swing till the end of days (at least till I switch off the computer). Anybody an idea whether it's the verlet integration or the length constrain?

Cheers!
I'd say, don't confuse yourself with comparison to real world, in case of verlet/spring stuff. It's like taking the Phong specular as reflection model. It's just similar to some point, that's all.
There's good (and short :) ) video tut by Todd Akita about springs, published in early ICE days. There are two opposite forces, taken from comparison of current and previous frame, that's everything. More strand segments - more turns through the time. If you want it to swings longer, theoretically you can set the drag(damp) force to slightly negative, but there's risk of multiplying the movement into indefinite. Surely there's float point precision problem as well, which kills or exaggerates the movement.

About collision (at least, 'test collision with surface' node) - strand segment ( or point) is left to penetrate into object, closest location on surface is tested. Point normal of surface is tested, compared with direction ( using dot product) - if it's considered inside, strand segment is just pushed back to closest location. This means, in case of fast movement, strand segment can pass through the object - or in case of less fast, it can be pushed to opposite side.

Post Reply

Who is online

Users browsing this forum: No registered users and 85 guests