Hi I'm currently looking into L-System and one thing I'm stacking at getting first frame of emitting leaves frame as an attribute.
The reason why I'm trying to get the first frame is that I want to animate leaves(and flowers) randomly by somehow using expression.
And to do that, I was struggling to solver to get it by this way: http://takavfx-note.tumblr.com/post/131873068607/trigger-solver [takavfx-note.tumblr.com] but I failed to accomplish because points don't exist previous frame in this case.
Is there any ideas or better way?
Thank you.
Get first frame of emitting leaves with L-System
3298 4 0- takanori
- Member
- 8 posts
- Joined: 6月 2015
- Offline
- mestela
- Member
- 1803 posts
- Joined: 5月 2006
- Offline
- takanori
- Member
- 8 posts
- Joined: 6月 2015
- Offline
- mestela
- Member
- 1803 posts
- Joined: 5月 2006
- Offline
I'm sure there's a more elegant way than this, but see if this helps.
It's more complex than it needs to be, largely because I don't understand lsystem syntax at all, and wanted to do this in a more generic way.
To get the scale, I look at the transform of the leaf primitives generated by the lsystem, and extract a scale and orient that the copy sop understands.
To get the birth frame, I do a hacky solver sop. Its ugly.
-matt
It's more complex than it needs to be, largely because I don't understand lsystem syntax at all, and wanted to do this in a more generic way.
To get the scale, I look at the transform of the leaf primitives generated by the lsystem, and extract a scale and orient that the copy sop understands.
To get the birth frame, I do a hacky solver sop. Its ugly.
-matt
- takanori
- Member
- 8 posts
- Joined: 6月 2015
- Offline
-
- Quick Links