Wednesday, August 13, 2014

Monday, August 11, 2014

Extrusion Expression + Test Render + Problem

subCurve2.maxValue = Main_Ctrl.translateX/110;


subCurve2.minValue = Main_Ctrl.translateY/10.1;


So, I have extruded a polygon using curves and I want it to extrude along the line. I have to use the minValue and maxValue.

My First Test Render

Currently, it seems my expressions went out of hand. So, I have to use "Set Driven Keys" for Extrusions.

Wednesday, August 6, 2014

Finalising the Model + Some Expressions

Placing and changing the colour of the ground plane for better contrast
I have one master to control them all.

I started with one expression.

Inner_Wall.translateY = Main_Ctrl.translateX/10;

Inner_ScrewTower.translateY = Main_Ctrl.translateX/10;
Inner_ScrewTower.rotateY = Main_Ctrl.translateX*5;

pPipe3.translateY = Main_Ctrl.translateX/10;
pPipe3.rotateY = Main_Ctrl.translateX*2;
pPipe1.rotateY = Main_Ctrl.translateX*-2;

SmallHouses_Base01.rotateY = Main_Ctrl.translateX*4;
SmallHouses_Base02.rotateY = Main_Ctrl.translateX*-2;
SmallHouses_Base03.rotateY = Main_Ctrl.translateX*3;
SmallHouses_Base04.rotateY = Main_Ctrl.translateX*-1;
SmallHouses_Base05.rotateY = Main_Ctrl.translateX*5;
SmallHouses_Base06.rotateY = Main_Ctrl.translateX*-2;
SmallHouses_Base07.rotateY = Main_Ctrl.translateX*1;

if (frame < 77)
polyExtrudeFace3.localTranslateZ = Main_Ctrl.translateX/10;

pCylinder4.rotateY = Main_Ctrl.translateX*5;
pCylinder6.rotateY = Main_Ctrl.translateX*-5;

Outer_Gears.rotateZ = Main_Ctrl.translateX*5;
Inner_Gear.rotateY = Main_Ctrl.translateX*-5;
This expressions consists of main control translating on the X-axis. And, it will corresponds to either rotating in Y-axis and translating in Y-axis.
An answer to solve the overshooting in translating
Some of my models went up too far, so I have to limit them in the attributes. In addition, some cannot be adjusted using limitations. So, I have to slow down the translating by using Inner_Wall.translateY = Main_Ctrl.translateX/10;





Monday, August 4, 2014

Expressions Time!

pCube1.translateY = Main_Ctrl.translateY*0.5;
pCube2.translateY = Main_Ctrl.translateY*0.25;
pCube3.translateY = Main_Ctrl.translateY*1;
pCube4.translateY = Main_Ctrl.translateY*0.75;

pCylinder4.translateY = Main_Ctrl.translateY*1;
pCylinder6.translateY = Main_Ctrl.translateY*1;

pCube5.translateY = Main_Ctrl.translateY*0.5;
pCube6.translateY = Main_Ctrl.translateY*0.25;
pCube7.translateY = Main_Ctrl.translateY*1;
pCube8.translateY = Main_Ctrl.translateY*0.75;

Inner_TallTower02.translateY = Main_Ctrl.translateY*0.55;
Inner_TallTower03.translateY = Main_Ctrl.translateY*0.35;
These expressions are basically for the small towers. However, this round will be different. I want it to start halfway through the animation.

I used if (frame >= ##) expression. Still won't work. So, I have to translate my Main control in Y-axis halfway through the animation.

Same as the previous expressions, the models translates up too fast. I have to tone it down using Main_Ctrl.translateY*0.35;

Here's my other expressions:
group1.translateY = Main_Ctrl.translateX*0.005;
group2.translateY = Main_Ctrl.translateX*0.01;
group3.translateY = Main_Ctrl.translateX*0.01;
group4.translateY = Main_Ctrl.translateX*0.02;

LeftHouses.translateY = Main_Ctrl.translateX*0.02;
RightHouses.translateY = Main_Ctrl.translateX*0.02;
pPipe11.rotateY = Main_Ctrl.translateX*2;
pPipe12.rotateY = Main_Ctrl.translateX*-2;
pCone1.rotateY = Main_Ctrl.translateX*2;
pPipe12.translateY = Main_Ctrl.translateX/25;
pCone1.translateY = Main_Ctrl.translateX/10;

pPipe15.rotateY = Main_Ctrl.translateX*-2;
pPipe14.rotateY = Main_Ctrl.translateX*2;
pCone2.rotateY = Main_Ctrl.translateX*-2;
pPipe14.translateY = Main_Ctrl.translateX/25;
pCone2.translateY = Main_Ctrl.translateX/10;