Introduction |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The Animation Master Python script plug-in allows folks to write their own programming scripts to create and change content in Animation Master v9.0. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Installation and Setup |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
To use the plug-in you need the following:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
What can it do? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The plug-in attempts to borrow some of it's core ideas from
Pixar's RenderMan interface language. Currently the plug-in
is only available in a model window, but in time should be able to work
in the action, choreography components as well. Future capabilities include
scripting materials and importers/exporters.
The current programming API supports the following:
Hop over to the tutorial section for step by step guides. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
API Documentation |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tutorials |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - Absolute Beginners - 3D Artist Article #45 - Using Attributes - More Transformations |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Downloads |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - The Animation Master Python Script Plug-in v0.1 (A:M v9.0 Tut 4 and 5 ) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - The Animation Master Python Script Plug-in v0.4a (A:M v9.0 Tut 6+) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The examples below are based
on something that either I made up, made specifically for the 3D Artist
A:M script article or based loosely off the excellent
3d paramteric site by
Chris Sinclair &
Martin Kraus
. Also used as reference were
examples from Mike's
Isosurface Tutorial. More examples will be added as the plug-in
expands in capability and contributions.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cube |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Surface |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cube 5x5 Matrix (3D
Artist Example) FOR SCRIPT PLUG-IN VERSION 0.1 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cube 5x5 Matrix
(adapted 3D Artist Example) FOR SCRIPT PLUG-IN
VERSION 0.2+ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Log Spiral (3D Artist
Example) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parametric: Cylinder |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parametric: Paraboloid |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parametric: z = x*x |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parametric: z =
sin (x*x + y*y) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parametric: 3
Half Spheres |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parametric: Bipolar
Cylinder (sort of) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parametric:
Flower Box (something I made up by fiddling around) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parametric: Bohemian
Dome |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Parametric: Conical
Spiral |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Log Spiral Colour
FOR SCRIPT PLUG-IN VERSION 0.3+ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Surface in Colour
FOR SCRIPT PLUG-IN VERSION 0.3+ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Version 0.4a (08192001): * New surface commands: - surface_add_row(x,y,z,[x,y,z]+) - surface_set_closed() * Enhanced surface_begin command: - surface_begin(name) * New group commands: - group(name) - group_copy(name, new_name) - group_extrude(name, new_name) * New spline commands: - spline_begin() - spline_begin(name) - spline_add_point(x,y,z) - spline_set_point(pos,x,y,z) - spline_attach_points(name0,name1,pos0,pos1) - spline_set_point_peaked() - spline_set_point_smooth() - spline_set_point_in_gamma(value) - spline_set_point_in_alpha(value) - spline_set_point_in_magnitude(value) - spline_set_point_out_gamma(value) - spline_set_point_out_alpha(value) - spline_set_point_out_magnitude(value) - spline_set_peaked() - spline_set_smooth() - spline_set_in_gamma(value) - spline_set_in_alpha(value) - spline_set_in_magnitude(value) - spline_set_out_gamma(value) - spline_set_out_alpha(value) - spline_set_out_magnitude(value) * New colour attribute commands: - colour_ambiance(value) - colour_diffuse_fall_off(value) - colour_specular_size(value) - colour_specular_intensity(value) - colour_roughness(value) - colour_roughness_scale(value) - colour_transparency(value) - colour_density(value) - colour_refraction(value) - colour_translucency(value) - colour_reflectivity(value) - colour_reflectivity_fall_off(value) - colour_radiance(value) - colour_glow_radius(value) - Better error handling and error detection in surface commands. - More bug fixes to attribute stack Version 0.3b (08132001): - Rebuilt as non debug binary - Worked around a Python API bug Version 0.3a (08122001): * New surface attribute commands: - surface_attribute_row (row) - surface_attribute_column (column) - surface_attribute_cell (row, column) - Group named surface[num] is created for each surface - Colour attributes work for a whole surface - Colour attribute stack now works |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Links |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||