A tree of sorts

2 Views
Find Similar (BETA)Download
Author name
Anette Rana
Source
Sketchfab
Polygon Count
1,905
Release Date
2016-10-17
License
CC BY 4.0
treeexperimentcoralcodemelcoralreefmaya2017melscriptmayatest

Asset Overview

The MEL script: int $loopRounds = 63; int $loopCounter = 0; // make initial shape polyCylinder -n "darwin0" -r .5 -h 4 -sx 5 -sy 1 -sz 1 -ax 0 1 0; move -r 0 -2 0 darwin0.scalePivot darwin0.rotatePivot ; for ($loopCounter; $loopCounter < $loopRounds; $loopCounter++) { select ("darwin"+$loopCounter); duplicate; move -r -os -wd 0 4 0; rotate -r -os -fo (rand(-30, 30)) 0 (-30); select ("darwin"+$loopCounter); duplicate; move -r -os -wd 0 4 0; rotate -r -os -fo (rand(-30, 30)) 0 (30); }