Help with L-system mycelium model

   6024   3   1
User Avatar
Member
36 posts
Joined: Oct. 2007
Offline
Hi!

I'm modeling a mycelium using an L-system (see attached scene). When it reaches a certain generation I want it to start “dying” from the centre as in the attached image, while still growing outwards.

I've tried to use the delete SOP in different ways but can't really make it work.

Some input would be great!

Thanks, Fredrik

Attachments:
mycel_all.gif (8.8 KB)
lsystem mycelium.hipnc (184.0 KB)

User Avatar
Member
1145 posts
Joined: July 2005
Offline
You could paint a colour the defines the areas that you want to die and use that to create a group that would be used in a delete sop.
“gravity is not a force, it is a boundary layer”
“everything is coincident”
“Love; the state of suspended anticipation.”
User Avatar
Member
1533 posts
Joined: July 2005
Offline
Heya Fr3drik,

Peter's suggestion will work great, but I thought i'd throw another option out there.

If you intend to render to your lsystem as curves (with a width attribute), you could also create another piece of geometry with a width attribute of 0, and attribtransfer your width attribute to your cell geometry – as you xform your geometry up (giving the illusion of decay from the center).

Best,

G
User Avatar
Member
36 posts
Joined: Oct. 2007
Offline
Thanks for your answers!

I'll give it a go and let you know the results.

Best, Fredrik
  • Quick Links