L-System turtle commands

   4852   2   1
User Avatar
Member
6 posts
Joined: Feb. 2009
Offline
So I'm trying to vary the thickness of a tube in L-Systems for a school project. I tried using the ! command but when I add it to rules my tree breaks into pieces. Any help would be appreciated.

Blinky :shock:

Attachments:
lsysteminclass.hipnc (41.0 KB)

User Avatar
Member
696 posts
Joined: March 2006
Offline
I prefer to use the poly wire to make the skin of the lsystem rather than using the tube settings on the lsystem.

I wouldn't have expected that using a ! would change the probability in your rules :-/ I'm not sure if that's a bug or not.

Also, your last rule wasn't being used at all due to the way your probabilies were set-up.

Attachments:
lsysteminclass_634.hipnc (49.4 KB)

Stephen Tucker
VFXTD
User Avatar
Member
156 posts
Joined: July 2005
Offline
I dont see the tree breaking but I do see the bang command changing the tree, and I've always wondered if that's a bug. I figured it was part of the plant growth algorithm.

Blinky - if you use :0.5 on one rule, then you have to use it on all the rules or it wont evaluate correctly.
“In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.” - Douglas Adams
  • Quick Links