Alias|Wavefront

OpenAlias Version 8.0 Plugin Documentation


This README file describes the useful plugin examples supplied with Alias
version 8.0 (as opposed to the programmer example plugins which can be found
in README_PROGRAMMER).

Section 1: Plugin-quick start
=============================

The quickest way to get started with plug-ins is to copy the .AliasPluginsList
in $ALIAS_LOCATION to $HOME/.Alias/AliasPluginsList. 
This will cause several of the examples to be loaded automatically
when Alias is started.

Section 2: Useful Plugins
=========================


blanim.plugin
------------------

  Installs Into: 
        Palette -> Object Edit -> blanim

  User Notes:
    The blanim plugin allows the user to perform weighted blending of
    transformations for a target object with n-number of source objects.
    It achieves this by building expression channels based on the
    translation, rotation or scale of the source objects.  Each parameter is
    weighted against a slider's x translate value.   Sliders are automatically
    newed for each source object.

    A wire file called "Walk2Run" is provided which includes two skeletons,
    one keyed for walking, the second for running.  The middle skeleton has
    no expressions or animations.  Play back the animations to watch the
    movements.
    
    Workflow:

    After installing, the plugin can be launched from the
    object edit menu.  The user will be prompted to select a target
    object.  After choosing, the user can pick n-number of source objects
    and press go to complete the expression building.  N-number of source
    object sliders are newed and can be relocated after being created
    at the universe's origin.
    
    The user can bring up a dialog to select which parameters, translation,
    rotation, or scale will be used in generating the expression.  The
    length of the slider can also be adjusted.  By default rotations
    are selected.
    
    BEWARE: ALL SELECTED OBJECTS, THE TARGET AND SOURCES, MUST HAVE SIMILIAR
    HIERARCHIES.
    
    Uses:
    
    This is a way of blending between two or more animations for a
    skeleton or some other hierarchy.  It comes in part from the need to
    blend a character's motion captured data with corrective
    animation to move the character's arm 3 inches to the left (and as
    such is an alternative to the 'double dag' technique).  It is also
    useful for blending between two sequences that a given character is
    animated to do, e.g. go from a walk cycle to a run cycle.

     This plug-in was produced by VisionMAKER Inc. under contract
     to Alias|Wavefront.

     VisionMAKER Inc.
     3105 North 17th Street
     Arlington, VA 22201
     dhunt@ix.netcom.com
     aktaylor@ix.netcom.com
     (703)-351-7948
     The plugin Specialists for Alias.


snapj.plugin
------------------

  Installs Into: 
        Palette -> Object Edit -> snapj

  User Notes:
     This plugin allows you to easily add a new joint
     whose pivot point is snapped to the location of the
     nearest pivot in your existing world.  When this plugin
     is activated, you are prompted to add a joint:
     
       Add Joint (snap to pivot)...
     
     Now, when you click in any window, a new joint will be
     added to the system.  As you move the mouse around, the
     joint will continue to snap to the nearest pivot point,
     until the mouse button is released.  If there are no
     objects in your system, the joint will move around in
     freeform (no snapping).  Also, if the control key is
     held down before dropping the joint, the joint will move
     around in freeform (snapping is disabled).
     
     The joint will snap to the pivot of any leaf nodes, or any
     node that is a joint.  It will not snap to lights and cameras.
     
     Also, when the joint is snapped to a pivot, the pivot
     is automatically added as a point constraint to the new
     joint.
     
     By bringing up the option box, the default behavior of this
     plugin can be modified.  Here, you can turn off the automatic
     point constraint creation, and also modify the behavior
     of the point constraint.

     This plug-in was produced by VisionMAKER Inc. under contract
     to Alias|Wavefront.

     VisionMAKER Inc.
     3105 North 17th Street
     Arlington, VA 22201
     dhunt@ix.netcom.com
     aktaylor@ix.netcom.com
     (703)-351-7948
     The plugin Specialists for Alias.



jointlib.plugin
------------------

  Installs Into: 
        Palette -> Object Edit -> jointlib

  User Notes:
     This plugin allows you to set limit information
     for existing joints by picking items from a joint
     library.  For example, you can set an existing
     joint to have limits like an ELBOW by simply
     picking elbow from the joint library.  Compare
     this to hand typing in the values for up to 24
     limit fields, and you can see that the joint library
     plugin can save you considerable time.
     
     When you click on the joint library PLUGIN
     button, a panel pops up that contains the following
     information:
     
       - the currently selected object
         - joint info for that object if it exists
       - a list of predefined joint types
     
     While the panel is up, you can enter pick->joint mode,
     and then select an existing joint.  The limit information
     for that joint will now be displayed in the panel, and
     if this joint is from the joint library, it will tell
     you which predefined joint type it is.  You can change
     the joint type by double clicking on a joint from the
     list in the panel.
     
     The list of predefined joint types is contained in the jointlist
     file.  By default, the plugin looks for the jointlist file in the
     following directories:
       - $HOME/jointlist.
       - /tmp/jointlist
       - pluginlocation/jointlist
     To add new joints to the joint library, edit the jointlist
     file, and follow the instructions at the top of the file.
     NOTE: the format of the jointlist file is very strict.
     
     This plug-in was produced by VisionMAKER Inc. under contract
     to Alias|Wavefront.

     VisionMAKER Inc.
     3105 North 17th Street
     Arlington, VA 22201
     dhunt@ix.netcom.com
     aktaylor@ix.netcom.com
     (703)-351-7948
     The plugin Specialists for Alias.

     
bake.plugin (formerly useExpr.plugin)
-----------------

  Installs Into:
        Menu -> Animation -> Bake  ("ap_animwinds")

  User Notes:
	This plugin allows the user to create keyframed animations for objects
	that are animated through expressions or constraints.  The resulting
	keyframe curve is 'baked' into the channel of the object, and the expression
	or constraint is deleted.  When an expression is baked, the keyframed
	animation replaces the expression.  When a point constraint is baked, the
	translation channels of the constrained DagNode are animated.  When an
	orientation or aim constraint is baked, the orientation channels are animated.

    The option box allows the user to define which objects should be
	examined ('All' or 'Active'), whether to bake constraints and/or expressions,
	the hierarchy of the sampling and the time range and sampling rate.
	
	Note: OpenAlias does not currently support prompt line entry from
	plugins, so the 'Prompt' option does nothing.


doChannels.plugin
-----------------

  Installs Into:
        Menu -> Animation -> Capture Performance  ("ap_animwinds")

  User Notes:
    This plugin allows the user to use the mouse to control two animatable
    parameters of a selected object.  The parameters are the Translate, Rotate,
    and Scale in the X/Y/Z directions.  This setup is configurable from the
    option box.
    
    When the plugin is run, recording does not start until the mouse button
    is clicked once.  This means that the user can practice moving the object
    before actually recording the motions.  Once the mouse button is clicked,
    all movement is recorded as keyframes.  Click again to stop recording.


useMidi5.3.plugin or useMidi6.2 or useMidiOut6.2
------------------------------------------------

  Installs Into:
        Menu -> Animation -> Shuttle Cmds - Midi  ("ap_animwinds")

  User Notes:
    This plugin allows the user to capture performance information from
	an external Midi device and record the animation for specified
	objects.  The connections between Midi channels and the object's
	animation channels must be established using the setDevice plugin.

    There is a sample wire file (robot.final.midi) included on the 3DCD
    which has been setup to handle input from a Midi device.

	You will probably want to run in "Absolute mode" which should be 
	selected from the Options dialog box. To deactivate the plugin hit a
	mouse button or the ESC key. Note that MIDI occassionally blocks so
	you may have to generate an extra MIDI event after a mouse click or
	when the ESC key is hit to deactivate the plugin.

	The useMidiOut6.2 plugin is designed to work with the Uptown System-one 
	motorized MIDI faders. During playback and scrub operations, the motorized 
	faders will automatically adjust to match the current wire model. This 
	plugin must run in "Absolute mode" and works primarily with the 
	robot.final.midi wire file. 

	See Alias|Wavefront's web page for MIDI information.

    
setDevice.plugin
----------------

  Installs into:
		Menu -> Animation        

  User Notes:
	The setDevice plugin works in conjunction with the useMidi plugin.
	It is used to assign a MIDI channel and animation transformation (e.g.,
	X,Y,Z translate, rotate, scale) for a given selected object/model.

	To use, first select the object you want to assign. Launch the setDevice
	plugin with the Option box. Select from the "parameter mapping" pop-up
	(X, Y, Z translate, rotate or scale). Next select the desired "channel
	mapping" value. This will correspond to the physical MIDI slider number.
	Finally, if necessary, adjust the offset and scale factors. Note that the
	range of MIDI values will range from 0 - 127.

	This configuration data is stored with the model as "blind data" and
	will be used by the useMidi plugin.

sunShine.plugin
---------------

  Installs Into:
        Menu -> Animation -> Sun Shine  ("ap_animwinds")

  User Notes:
    This plugin will use information given to in to determine the location of
    the sun and generate a directional light to simulate it.  By activating the
    option box, the settings can be changed in two ways.  If the Time/Location
    option is chosen, the sun's position will be calculated based on the month,
    day, hour, minute, and the latitude specified.  In the Altitude/Azimuth
    selection, the altitude of the sun (in degrees from the ground), and the
    azimuth (the altitude of the sun at its maximum point during the day).


surf.plugin
-----------

  Installs Into:
        Palette -> Object Edit -> Fractal Surface  ("mp_objtools")

  User Notes:
    This plugin generates a fractal-based mountain.  Numerous parameters can
    be set to modify the final result.  In the order presented in the option
    box, they are:
        Subdivisions:    The number of times each edge of the mesh will be cut
                         in half.  Thus, setting subdivisions to 2 will result
                         in a 4x4 grid, while setting it to 6 results in a 32
                         by 32 surface.  In other words, this is the complexity
                         and resolution of the fractal surface.
        Seed:            The pseudo-random number used to generate the surface.
                         A given seed will always result in the same fractal
                         surface, if the other parameters are kept constant.
                         Changing the seed will give varying surfaces.  It is
                         best to experiment with a few values to find the best
                         surface for your application.
        Taper %:         This parameter defines the smoothness of the resulting
                         surface.  Low values yield jagged, erratic surfaces,
                         while high values result in smooth, gently sloping
                         landscapes.
        Size X/Y:        Sets the length of the sides of the surface.  One
                         corner of the generated surface is always at (0,0),
                         while the opposite corner is defined by these two
                         parameters.
        Variance X/Y/Z:    The maximum amount of change that a particular vertex
                         may go through.  It is recommended that the Z variance
                         be significantly larger than the X and Y variances.
        Level 1:         The Z-value below which the surface is shaded a rocky
                         brown colour (sand).
        Level 2:         The Z-value below which the surface is shaded a bright
                         green colour (grass).
        Level 3:         The Z-value below which the surface is shaded grey 
                         (rock).
                         Above this value, the surface is snow-coloured.
        Level Jitter:    Sets how precisely the above colour settings are
                         adhered to.  This gives a more "natural" look to the
                         surface.


tree.plugin
-----------

  Installs Into:
        Palette -> Object Edit -> Fractal Tree  ("mp_objtools")

  User Notes:
    The fractal tree plugin generates a pseudo-random realistic-looking tree
    using a polygon mesh.  The tree is generated centred at the origin, and
    a variety of parameters affect its final shape.  The option box controls
    are:
        Seed:            The random number seed used in generating pseudo-
                         random numbers.  Different values will result in
                         different trees.
        Max Branch Limit:    The number of times a tree limb can branch.
        Bend:            The maximum amount of curve along a branch.
        Fork Angle:      The angle with which a branch will split.
        Branch Frequency:    The probability that a branch will split at a
                         given point.
        Gravity:         A negative value will tend to make the tree point
                         upwards, while a positive value will "pull" the tree
                         downwards.
        Grow Length:     The final length of branches.
        Trunk Taper:     The percentage of the size of the bottom end of the
                         branch segment that the other end of the segment is
                         (how quickly the branches go from trunk to twig).
        Minimum Branch Size:    If a branch gets smaller than this, it ends.
        Twist Angle:     Maximum twisting that a branch segment will go
                         through.
        Type of Leaves:  Not implemented.

    As always, the best way to determine the effects of these setting is to    
    try them out yourself.

    NOTE: Be careful setting high recursion depths. Too great a depth will
    result in Alias quitting or core dumping from lack of memory.


tree2.plugin
------------

  Installs Into:
        Palette -> Object Edit -> Fractal Tree  ("mp_objtools")

  User Notes:
    The fractal tree plugin generates a pseudo-random realistic-looking tree
    using cylindrical surfaces.  The tree is generated at the origin, and
    a variety of parameters affect its final shape.  The option box controls
    are:
        Seed:           The random number seed used in generating pseudo-
                        random numbers.  Different values will result in
                        different trees.
        Max Branch Limit:    The number of times a tree limb can branch.
        Bend:           The maximum amount of curve along a branch.
        Fork Angle:     The angle with which a branch will split.
        Branch Frequency:    The probability that a branch will split at a
                        given point.
        Gravity:        A negative value will tend to make the tree point
                        upwards, while a positive value will "pull" the tree
                        downwards.
        Grow Length:    The final length of branches.
        Trunk Taper:    The percentage of the size of the bottom end of the
                        branch segment that the other end of the segment is
                        (how quickly the branches go from trunk to twig).
        Minimum Branch Size:    If a branch gets smaller than this, it ends.
        Twist Angle:    Maximum twisting that a branch segment will go
                        through.
        Type of Leaves: Not implemented.

    As always, the best way to determine the effects of these setting is to    
    try them out yourself.  Note also that the parameters have the same effect
    as the do in tree.plugin.

    NOTE: Be careful setting high recursion depths. Too great a depth will
    result in Alias quitting or core dumping from lack of memory.


resetTransforms.plugin
----------------------

  Installs Into:
        Palette -> Object Edit -> Reset Transforms  ("mp_objtools")

  User Notes:
    This plugin provides a quick methodology to reset an object's
    transformations.  Translations and Rotations are set to 0 and Scale
    transforms are set to 1.0.  From the option box, it is possible to turn
    on or off any or all of the three basic transformation types (Translate,
    Rotate, Scale).  Also, resetTransforms can be told to only ascend or
    descend the Dag node hierarchy by way of the option box.

xpaint.plugin
-------------

  User Notes:

    The xpaint plugin launches the Xpaint palette based paint package
    from a menu item. It allows the user to specify an Alias Quantizer
    format palette file and an image, both of which will be loaded into
    Xpaint.


nullobj.plugin
-------------

  Installs Into:
        Palette -> Objects -> Null Object  ("al_object_create")

  User Notes:
	This plugin supports the creation and placement of a Null Object
    primitive.  A Null Object is a dag node with a selection handle and
	nothing else (eg. no geometry). This plugin allows placement of null
	objects in the same manner as the objects in Palette -> Objects ->
	Primitives (eg.  the object is picked, snapping is supported, etc.)

    The main use of this plugin is for animators wishing to create null objects
    with selection handles.


