Digit's Zsphere Widget Documention

Part III - Animation

UPDATED Version 2.7 9/29/02

 

Pose

The complexity of your Zsphere model and the MaxPose setting (Setup) will determine exactly how many poses you can have. To create a pose, select the Pose with the "+" and "-" button. Adjust your model then Press "Save Pose" to save it. Recall a specific Pose by selecting the Pose with the "+" and "-" button and press "Restore Pose" to recall that particular pose

"Place"
Draws selected pose on the canvas. **NOTE** This is the way you get your model on the canvas if you have lost focus of your model i.e. no longer have it in some edit mode.

Example:
Place pose 1 in layer one
Select layer 2 - note that you no longer have your model available
Select pose 2
Press "Place" to put Pose 2 in layer 2

Output

Skin - automatically skin the model when it is applied to the canvas

Best Render - automatically best render the canvas when the model is drawn

Auto - Automates the Export button and outputs all poses to sequential image files.

The "Export" button will create a numerically indexed image file of the canvas which is useful in many animation or gif programs to build a animation file. If the Pose number is "0" the export button will first ask you for a filename. enter a name with a 01 at the end so that the zscript can increment it.

For example.
Export pose 0
Asks for filename
I enter Testani01
export creates the file and makes Testani01.psd
Select Pose #2 and restore it
"Export"
export creates Testani02.psd and so forth
Open these files in your animation creator program and they are conviently indexed for you

.

 

File

"Save Data"
Create a Data file of your Model and all Poses to disk. Script will ask you for a Filename.

"Load Pose"
Use the dialog box to select the Pose file that you created with "Save Data". It will retrieve the Pose data and redrawn Pose 1 on the canvas. If the Pose file was created on a canvas that had a different Width and Height the script will ask you if you wish to "Rescale it". Answer yes to this to change all the poses to the same Ratio in the new canvas.

New Flipbook, F+, F-, Frames and Delay

Once you have exported some numerically indexed frames, or have some all ready on disk, enter the number if frames in the "Frame Slider" and the time delay 1 to 100 seconds between each slide. Then press the "Flipbook" button. The script will ask you for a filename. Select frame 01 of your animation and the script will display each in turn. It will stop at the end of the sequence and ask you if you want to continue.

Updated: It will check the input images Height and Width and give you the option of resizing the Canvas to match the image.

Updated - will cycle continuously until the mouse button is clicked

Added F+ and F- to cycle thru the Flipbook and fill the current layer. NOTE: you can use this for Rotoscoping, place a guide in the background and manipulate your model using it as a reference.

Pressing "Flipbook" again after a animation has been selected it will ask you if you want to use the same file. Say YES to replay the Flipbook or NO to select a new animation file.

Clear - Clear the canvas.

Tween

Morph between two poses and the script will automaticall interpolate and create the inbetween poses. This is on a zsphere by zsphere basis as well as the whole model. In other words the Model Position, Scale and Rotation will be tweened as well as each individual zsphere that the model is created from.

Example: Create a 10 pose animation from just 2 initial poses

1. Create Pose 1 and press Save Pose
2. Use the F- button to select pose 10
3. Move the model, rotate, size etc... Also use Transform Rotate or Move to change up the arms, legs etc... (if it has any)
4. Press Save Pose to save it in the pose 10 slot.
5. Since we want a total of 10 frames (1 and 10) enter 1 in the "Start" Slider and 10 in the "End" slider (default)

NOTE if your zsphere model is extremely complex you may not have enough room for 10 poses so take that in account for this example (you can change the number of Max Poses in Settings)

6. Press the "Morph" button to tween the inbetween frames!

7. Examine Pose 1 to 10 and see how you like the transformation

This feature, since it works in straight lines may or maynot be what you want but it is a good tool to use for some things, or you can let the tween do the big work for you and go back a correct any length problems etc.. that the model has.

 

Weld

Join two Zsphere meshes together easily with Weld. (see example below)

  1. Create Root Model and Press "Save Root"

  2. Create Child Model and Press "Save Child" this becomes your attachment

  3. Join the Child to the Root one of two ways. Restore your "Root" model by "Restore Root" and using the "Forward"/"Back" buttons select the node that you wish to attach the Child mesh to. Then press "Attach". This will connect the Child node to the Root mesh. You may wish to adjust Rotation, size etc... of the child section. when satisfied press "Save Root" again to save this information. The other way is to press "Mousepic" and use the mouse to select a node. The Child will then be attached to the node.

  4. If you need to adjust/rotate/size your child node press "Restore Child" to create it on the canvas. Make your needed changes and then press "Save Child" again.

 

Layer

New with Version 2.7

With the addition of Bruce Gregory's Animation Station I have used a number of its subroutines to add Layer animation and OnionSkinning to the Zsphere Widget.

Layer:

Turns Layer Mode ON/OFF when in Layer Mode pressing Pose +/- or entering a Pose in the Pose Slider will automatically select that corresponding Layer. Press Place to put the model on the canvas in the corresponding layer. Layer On will also change the EXPORT function to select the correct layer for output.

Onion:

Turns ON/OFF Onion Skin option. With it on everytime you select a Pose +/- or use the Pose Slider the preceding layer will be turned on in order to view the position of the preceding frame when in Layer mode.

NOTE: Also when the Onion switch is ON using the Place button to put the model on the canvas will use the preceding Pose. This allows you to manipulate the model to progress from that frame to the new frame. Be SURE to then Save Pose to record the change.

Animate:

In Layer mode pressing this button will cycle thru the current Pose Layers until the Mouse Button is clicked. The speed of the animation is controlled by the Flipbook Delay Slider (default delay is .25)

Example:

1.. Turn "Layer" on. The script will check for MaxPose number of layers and then create them if necessary. Import or Create a object that you wish to animate and save it as Pose 1

2. Turn on Onion, this will allow you to see the preceding frame while you adjust your model

3. Select Pose 2 by pressing Pose "+" The script should select/create layer #2 and you should still be able to see layer one.

4. Since Onion is on, pressing "Place" to put your model on the canvas will actually put the Preceding Pose on the canvas. You can now make changes to it based upon its relation to the preceding pose displayed on the screen. Be sure to press "Save Pose" to save your changes.

5. Continue on by pressing Pose "+" and select the next Pose. Again you will see that the preceding Layer is left on and using the "Place" button will reload that pose for your adjustments. Repeat this process until all layers/poses are created.

6. Press "Animate" to look at your animation layer by layer control the speed with the Flipbook Delay slider. When you are happy with it Color and Skin each layer and use the "Export" button with Layer and Auto on to save your Animation to disk. Note the example if you leave Onion on you will see that in your output.

 

Greg Smith's (Bruce Gregory) Animation Station

With Bruce's kind permission I include his script "Animation Station" into the Zsphere Widget and in because of his efforts it has greatly enhanced my Zsphere Widget which I very much appreciate.

 

Setup

Set the number of Max Poses or Frames. I would suggest a value between 10 and 30. Note. Pose Files created with a different number of Poses can't be read. (make note of the number before you save data so that you can re-configure the script.

NOTE: The file widget.zvr must be in the same directory as the script;

 

Back | Next