This topic shows how to use Max Creation Graph (MCG) to design a simple graph that produces an icosahedron.
The Max Creation Graph editor dialog opens. It consists of a menu bar and four windows: Available Nodes/Operators, Operator Description, Message Log, and the main graph window, currently with a single tab labeled "Untitled."
This creates an instance of the Icosahedron node in the editor window.
This node contains the basic functionality for creating an icosahedron object. Note that it has an input connector on the left side, labeled "radius (Single)," and on the right side an output connector, labeled "value (TriMesh)." (The function connector isn't used in this procedure.) As you can see, the logic flows from left to right. This is true of all MCG graphs.
As indicated by the labels, the node's input requires a single-precision floating-point decimal value, and the output requires a node that produces a triangle-based mesh object.
To complete the graph, you'll add and connect a parameter node that lets the user of your graph provide a value for the Radius parameter, and an output node to produce the geometry.
A Parameter: Single node appears in the editor window, already wired to the Icosahedron node's input connector. This is a handy shortcut for finding the Parameter: Single node, dragging it into the window, and then manually wiring it to the input connector.
In the next step, you'll use a different shortcut for finding a node whose name or type you already know.
A search window opens with a list of all nodes. Because you need an output node, you have a pretty good idea what to search for.
That's all you need to find matches with all nodes whose names begin with "Output." The list now shows only the five nodes that match this search criterion. Considering that this graph will create a geometry object, the choice is obvious.
The node is added to the graph editor window.
The result is a color-coded wire between the two connectors.
Validation shows that there are no major problems with the graph. To use its output, however, it's necessary to evaluate it.
The Message Log window now shows additional statements to the general effect that all is well.
Next you'll use the graph to create an icosahedron in the scene.
On the Object Type rollout, the Icosahedron button appears.
The axis tripod appears where you clicked, but no object appears. If you look at the Parameters rollout, you can see why: The object has a radius of 0.0.
Now you can see the icosahedron geometry. This is regular polygonal geometry, like most other objects in 3ds Max. You can use it in any normal way: Convert it to an editable format, apply modifiers and materials, and render it.
This new object type has become a part of your 3ds Max installation and will be available from now on. For more information about setting default values, transferring your objects to fellow 3ds Max users, and so on, proceed to the remaining lessons in this section.