|Page (1) of 3 - 07/24/04||email article||print page|
QuickTip: EZ AltimeterLinking different parameters with simple expressions
In order to create the EZ Altimeter, you can easily link expressions from one value to another, even if the values are not from the same descriptive parameter (like position=position). In this short exercise, we'll create an altimeter with the standard NUMBERS plugin and a single expression that requires no typing of additional commands.
First create a cube. I've cheated an only used 4 sides because I won't see the other sides from my comp camera. If you want to learn how to make a cube, you can use Digital Anarchy's Box Creator, or check the tutorial archives for methods to complete it manually.
Next, create a floor, wall and a couple of lights to your scene. I've also added a 3D camera in order to animate the scene as the top of the cube rises from the floor (using the scale parameter).
Next up, add a Null. Make sure to position the null at the floor level, at the bottom of your cube. This will ensure that when you scale the cube vertically, it will scale from the ground up.
Link the cube's faces to the Null using parenting. To do this, select the faces of the cube, then use the pick whip to select the Null as the parent.