PDA

View Full Version : Matracies/arrays...


Gibbz
11-26-2005, 04:26 AM
Ok, been a while since i covered arrays in highschool.

Now i have some arrays, id like to be able to perform some functions on them. For example move/rotate/scale

Ok. so i have 3 arrays
an array for the vertex number, an array for x position and an array for the y positions.
Is there an easy way to translate these arrays ready to move the vertexes ot the new positions?
Can i choose to scale from the center of my selection etc?

-Vormav-
11-26-2005, 05:07 AM
Look through this page:
http://gpwiki.org/index.php/3D:Matrix_Math
It covers a lot of how to handle matrices for 3d transformations.
Here's another one:
http://www.euclideanspace.com/maths/algebra/matrix/
Doing things like scaling from certain points requires manipulation of the Matrix, but it's definitely doable.

Gibbz
11-26-2005, 05:12 AM
ok, i just wrote my own little script to do it anyway, thanks ill take a look still :)

Gibbz
11-29-2005, 07:23 AM
Cool, does anyone have links to using matracies in maxscript, some tutorials or examples?

Cheers

CGTalk Moderation
11-29-2005, 07:23 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.