View Single Post
# 1 28-01-2006 , 07:57 PM
Forlax's Avatar
Subscriber
Join Date: Aug 2003
Location: Middlesbrough, UK
Posts: 73

Variable names and variable names!!!

Ok,,

MEL doesn't allow arrays/matirces of more than two dimensions....

I need a 'matrix' with 3 dimensions.....which I can't have....that contains a reference to (any) number of objects, the number of vertices of that object and the (x,y,z) positions of the vertices.

I need this so I can loop over each object, get each vertex and ultimately it's position and store them all to refer to them later on.

I thought about two variables....one two store each object and a matrix to store the vertex and position data. How can I 'link' them together???? I mean.....how can I create the object variables in one loop and then refer to those names in another loop to get the vertex data????

Anyone got any idea?

Sorry if this question is convoluted.


Thanks,

Forlax.

I used to be indecisive, but now I'm not so sure.

AIM: tomohawkcg
MSN: marc_d_thompson@hotmail.com