Craft Animations Craft Director Studio


Craft DirectInputLink

›› Using Craft DirectInputLink
›› Input Settings
›› Config Settings


Craft DirectInputLink is your link between the 3D program and your input device (a joystick, keyboard, 3dxMouse etc). Objects are steered and moved in real time with natural motion. Craft DirectInputLink can be used to add motion to previously animated objects. Some examples of what Craft DirectInputLink can be used for are moving a character's head, extending/retracting landing gear on an airplane, and steering a gun turret on a tank.

Craft DirectInputLink

›› Using Craft DirectInputLink

Warning Optimizing the scene
It's wise to optimize the scene before starting to recording the animation. The scene is optimized by decreasing the amount of polygons shown during the recording. This is achieved by hiding objects not crucial to the part of the scene to be animated. Another tip is to use Craft Bounding Poly, which temporary lowers the amount of polygons for selected objects and allows for a smoother recording.
  1. Create a Craft DirectInputLink.
  2. Configure the controls for Craft DirectInputLink (analog input device is recommended). Click on Input settings under the Tool menu in Craft Director Studio's main window.
  3. Craft DirectInputLink can be used to animate the landing gear of an airplane.
    Position Craft DirectInputLink so that the ActuatorMesh has approximately the same position as the object that will be linked/parented to it.
    Craft DirectInputLink rigging
  4. Link/parent the RelativeCageMesh to the airplane.
  5. Link/parent the landing gear to the ActuatorMesh.
  6. Make sure that Craft DirectInputLink is selected in the Tool control list and click on Input settings under the Tool menu.
  7. Configure an input device for Pitch (Up/Down). Close the Input settings window.
  8. Make sure that Craft DirectInputLink is selected in the Tool control list and click on the Configure button in the Craft Director Studio interface.
  9. Check the box next to Pitch (Up/Down) Keep Trinary State This enables the landing gear move up/down at the press of one single button, and remain in the up or down position once you have moved them. Close the Configure window.
  10. It is highly recommended that you optimize your scene by hiding all unnecessary polygons (especially any high-poly models). Not doing this may cause the animation to go slowly and hack.
  11. Press Record in Craft Director Studio's main window to start recording Craft DirectInputLink. Use the input device you have designated for Pitch (Up/Down) to extend and retract the landing gear. Craft DirectInputLink's movements are saved in real time as the recording progresses. Press Stop to stop the recording.
    Craft DirectInputLink Keep Trinary State
  12. Unhide the models again.
  13. Render.
› Back to top

›› Input settings

Forw/Backw Transl

Moves the ActuatorMesh forward or backward.
Craft DirectInputLink Forw/Backw Transl

Right/Left Transl

Moves the ActuatorMesh right or left.
Craft DirectInputLink Right/Left Transl

Up/Down Transl

Moves the ActuatorMesh up or down.
Craft DirectInputLink Up/Down Transl

Yaw (Right/Left)

Rotates the ActuatorMesh right or left.
Craft DirectInputLink Yaw

Pitch (Up/Down)

Rotates the ActuatorMesh up or down.
Craft DirectInputLink Pitch

Roll (Right/Left)

Rolls the ActuatorMesh right or left.
Craft DirectInputLink Roll

Spinner...

Spinners enables the change of parameter values with an input controller in real-time.

› Back to top

›› Config settings

General Modes

Hide Helpers
Hides the helper objects.

Hide Helpers during Recording
Hides the helpers during recording.

Hide Camera
Hides the camera.

Input Property Parameters


Craft DirectInputLink has many different possibilities for types of motion. This article will explain principles that are applicable to all directions of rotation and translation. At the end of the article a few concrete examples will be given.

There are three axes of motion: Forward/Backward, Right/Left and Up/Down. There are also three types of rotation corresponding: Yaw, Pitch and Roll. In each case you have the option of checking two boxes called Keep Trinary State and Integrate. The input settings are given the names 'Forw/Backw Keep Trinary State' or 'Pitch Up/Down Integrate'. The principles are the same.

There are then four different possibilities for these check-boxes. In the following explanations (0) indicates that a given check-box is not checked, and (1) indicates that it is checked.

  • Keep Trinary State (0); Integrate (0)
    The ActuatorMesh will shift between the maximum and minimum values at a non-constant speed - i.e. you control it manually in real time. The ActuatorMesh can move between the maximum and minimum values, but cannot move beyond them. A maximum value of 1 will allow the ActuatorMesh to move to the edge of the RelativeCageMesh.
  • Keep Trinary State (1); Integrate (0)
    When only the Keep Trinary State box is checked, the ActuatorMesh moves automatically between the minimum and maximum values. The motion will take the form of acceleration/deceleration depending on what response factor has been chosen (lower response factor = more gradual acceleration/deceleration).

    When the control assigned to the particular translation or rotation is moved in the primary direction* the ActuatorMesh will move from the minimum to the maximum. When it is pushed in the secondary direction* the ActuatorMesh moves back to the minimum.

    *The primary and secondary directions are included in the name of the particular translation or rotation: Pitch Up/Down has a primary direction of up and secondary direction of down.
  • Keep Trinary State (1); Integrate (1)
    When both Keep Trinary State and Integrate are checked, the ActuatorMesh simply begins translating or rotating at a constant speed once the control is moved.

    • Move the control one direction, and the ActuatorMesh will begin to translation or rotate in one direction. It will continue endlessly until it receives other input.
    • Move the control the opposite direction and the translation/rotation will stop.
    • Move the control in the second direction again and the ActuatorMesh will begin to move 'backwards' (i.e. rotating or translating in the opposite direction as it did at first) at a constant speed until it receives other input.
  • Keep Trinary State (0); Integrate (1)
    When only the Integrate box is checked, the ActuatorMesh can move freely. This allows you to move an object around in any direction manually - at a non-constant speed.

Examples

  • Landing Gear: When you retract landing gear, they should stay retracted until you extend them. Use the Pitch Up/Down function. To rotate the landing gear. The Maximum value is given in radians, so 1.5708 is equal to 90 degrees. Check the Pitch Up/Down Keep Trinary State box but NOT the Pitch Up/Down Integrate box. At the touch of one button, the gear will begin to rotate upwards at a constant speed, and stop when they reach 90 degrees. You can then adjust the Pitch Up/Down Change Limit to match the actual speed that your particular model's landing gear ought to have when retracting or extending.
  • Gun Turret: Usually you will only want to assign an input device for yaw and pitch. This will give you the normal movement of a gun mounted on a turret. Check the Integrate boxes. The gun will move around as you move it and stay put when you stop moving it.

Forw/Backw Transl Response Factor
This is a value for how fast the ActuatorMesh reacts to user input. This input property can even be used to create a slow-down effect when the input value suddenly changes to zero - instead of the animated motion suddenly stopping. You do this by assigning a value less than (1). The ActuatorMesh will also slow down when it nears the limit of its particular path of motion, i.e. the top or the bottom. If Forw/Backw Transl Integrate box is checked, there will be a slight slow-down when you release the input device, before the ActuatorMesh stops.

Forw/Backw Transl Maximum
The maximum value for how far the ActuatorMesh can be moved forward or backward. If the Forw/Backw Transl Integrate box is checked, this value changes instead to the maximum speed. Craft DirectInputLink Forw/Backw Transl Max
The picture shows different Forw/Backw Transl Maximum values when the Transl Integrate box is not checked.

Forw/Backw Transl Change Limit
Limits the ActuatorMesh's speed. If the Forw/Backw Transl Integrate box is checked, this value will instead determine the acceleration rate.


Right/Left Transl Response Factor
This is a value for how fast the ActuatorMesh reacts to user input. This input property can even be used to create a slow-down effect when the input value suddenly changes to zero - instead of the animated motion suddenly stopping. You do this by assigning a value less than (1). The ActuatorMesh will also slow down when it nears the limit of its particular path of motion, i.e. the top or the bottom. If Right/Left Transl Integrate box is checked, there will be a slight slow-down when you release the input device, before the ActuatorMesh stops.

Right/Left Transl Maximum
The maximum value for how far the ActuatorMesh can be moved to the right or left. If the Right/Left Transl Integrate box is checked, this value changes instead to the maximum speed. Craft DirectInputLink Right/Left Transl Max
The picture shows different Right/Left Transl Maximum values when the Transl Integrate box is not checked.

Right/Left Transl Change Limit
Limits the ActuatorMesh's speed. If the Right/Left Transl Integrate box is checked, this value will instead determine the acceleration rate.


Up/Down Transl Response Factor
This is a value for how fast the ActuatorMesh reacts to user input. This input property can even be used to create a slow-down effect when the input value suddenly changes to zero - instead of the animated motion suddenly stopping. You do this by assigning a value less than (1). The ActuatorMesh will also slow down when it nears the limit of its particular path of motion, i.e. the top or the bottom. If Up/Down Transl Integrate box is checked, there will be a slight slow-down when you release the input device, before the ActuatorMesh stops.

Up/Down Transl Maximum
The maximum value for how far the ActuatorMesh can be moved upward or downward. If the Up/Down Transl Integrate box is checked, this value changes instead to the maximum speed. Craft DirectInputLink Up/Down Transl Max
The picture shows different Up/Down Transl Maximum values when the Transl Integrate box is not checked.

Up/Down Transl Change Limit
Limits the ActuatorMesh's speed. If the Up/Down Transl Integrate box is checked, this value will instead determine the acceleration rate.


Yaw (Right/Left) Response Factor
This is a value for how fast the ActuatorMesh reacts to user input. This input property can even be used to create a slow-down effect when the input value suddenly changes to zero - instead of the animated motion suddenly stopping. You do this by assigning a value less than (1). The ActuatorMesh will also slow down when it nears the limit of its particular path of motion, i.e. the top or the bottom. If Yaw (Right/Left) Integrate box is checked, there will be a slight slow-down when you release the input device, before the ActuatorMesh stops.

Yaw (Right/Left) Maximum
The maximum value for how far the ActuatorMesh can be rotated right or left. If the Yaw (Right/Left) Integrate box is checked, this value changes instead to the maximum speed. Craft DirectInputLink Yaw Max
The picture shows different Yaw (Right/Left) Maximum values when the Transl Integrate box is not checked.

Yaw (Right/Left) Change Limit
Limits the ActuatorMesh's speed. If the Yaw (Right/Left) Integrate box is checked, this value will instead determine the acceleration rate.


Pitch (Up/Down) Response Factor
This is a value for how fast the ActuatorMesh reacts to user input. This input property can even be used to create a slow-down effect when the input value suddenly changes to zero - instead of the animated motion suddenly stopping. You do this by assigning a value less than (1). The ActuatorMesh will also slow down when it nears the limit of its particular path of motion, i.e. the top or the bottom. If Pitch (Up/Down) Integrate box is checked, there will be a slight slow-down when you release the input device, before the ActuatorMesh stops.

Pitch (Up/Down) Maximum
The maximum value for how far the ActuatorMesh can be rotated upward or downward. If the Pitch (Up/Down) Integrate box is checked, this value changes instead to the maximum speed. Craft DirectInputLink Pitch Max
The picture shows different Pitch (Up/Down) Maximum values when the Transl Integrate box is not checked.

Pitch (Up/Down) Change Limit
Limits the ActuatorMesh's speed. If the Pitch (Up/Down) Integrate box is checked, this value will instead determine the acceleration rate.


Roll (Right/Left) Response Factor
This is a value for how fast the ActuatorMesh reacts to user input. This input property can even be used to create a slow-down effect when the input value suddenly changes to zero - instead of the animated motion suddenly stopping. You do this by assigning a value less than (1). The ActuatorMesh will also slow down when it nears the limit of its particular path of motion, i.e. the top or the bottom. If Roll (Right/Left) Integrate box is checked, there will be a slight slow-down when you release the input device, before the ActuatorMesh stops.

Roll (Right/Left) Maximum
The maximum value for how far the ActuatorMesh can be rolled right or left. If the Roll (Right/Left) Integrate box is checked, this value changes instead to the maximum speed. Craft DirectInputLink Roll Max
The picture shows different Roll (Right/Left) Maximum values when the Transl Integrate box is not checked.

Roll (Right/Left) Change Limit
Limits the ActuatorMesh's speed. If the Roll (Right/Left) Integrate box is checked, this value will instead determine the acceleration rate.

› Back to top

Copyright © 2006 Craft Animations & Entertainment. All rights reserved.

Craft Animations AB
Stena center 1D
SE-412 92 Gφteborg
Sweden
Phone +46 31 772 80 86
Fax +46 31 772 80 91
www.craftanimations.com
info@craftanimations.com