StefanStavrev

08-10-2006, 03:26 PM

I work in Maya and i am learning MEL but this is a general programming question :)

Is there a site on the web where i could find math equations for object primitives.

Equations or relationships between the vertices of objects.

For example for the icosahedron :

These rectangles are defined by the Golden Ratio. This ratio is considered to be the ideal ration of width to height of any rectangle. How it interacts with our icosahedron stems from the fact that the Golden Ratio is a number relating to the interaction of a triangle and a circle. This means that we can use the Golden Ratio to define our vertex locations. The equation for the Golden Ratio is shown in Equation 6.1.

From this, we can derive our 12 vertex locations, where x is the Golden Ratio:

(+/– 1, 0, +/– x)

(0, +/– x, +/– 1)

(+/– x, +/– 1, 0)

Thanks for your time

Is there a site on the web where i could find math equations for object primitives.

Equations or relationships between the vertices of objects.

For example for the icosahedron :

These rectangles are defined by the Golden Ratio. This ratio is considered to be the ideal ration of width to height of any rectangle. How it interacts with our icosahedron stems from the fact that the Golden Ratio is a number relating to the interaction of a triangle and a circle. This means that we can use the Golden Ratio to define our vertex locations. The equation for the Golden Ratio is shown in Equation 6.1.

From this, we can derive our 12 vertex locations, where x is the Golden Ratio:

(+/– 1, 0, +/– x)

(0, +/– x, +/– 1)

(+/– x, +/– 1, 0)

Thanks for your time