Friday, March 13, 2015

Day 5 - Lsystem

Lsystem

Today I began my day by doing the bonus Lsystem. My first impression of Lsystem is that it could create trees and my knowledge about it is quite limited too. So throughout this tutorial, I learned a lot of more stuff about Lsystem! Firstly, I began to experiment on some really simple expression. To me, I felt that Lsystem looks like coding and we need to type a lot of complicated stuff. But I've also read through the PDF that Mr Ari gave and it's very useful. So therefore, I noted down some important expression that will help me in doing Lsystem.

Commands
2D
F - Move forward one step and draw
+ - Turn right "x" degrees (which is where we set our values>angles)
- - Turn left "x" degrees
f - Forward one step and do not draw
H - Move forward half a step and draw
h - Move forward half a step and do not draw
! - multiply current thickness by s.(s)
" - multiply current length by s.(s)
; - multiply current angle by s.Default angle scale
~(a) - Pitch/Roll/Turn random amount up to "a" degrees.

3D
+,- - Rotate Right,Rotate Left
&,^ - Pitch Up,Pitch Down
\,/ Roll Clockwise, Counter Clockwise


I began doing some Lsystem! I tried to create a triangle which was really simple and I get it.


Next, I move on to do a star.


I learned that by increasing the generation, we can change the shape and from a star, it began a snowflake.


If we are seeking for more shapes, we can simply add a revolve node.


After that, I started to create a tree branch and also making it tilt like it's not CG made.



Then I created a maple leaf like.

And I test render out.

Continuing, I tried out some weird shape and trying to add sphere;circle inside which I find it really cool.



Lastly, trying on to make another type of tree. This tree looks like those money tree to me.

No comments:

Post a Comment