PDA

View Full Version : assigning values to vertexes


urika
02-20-2009, 07:40 AM
hi,
my problem is a bit complicated but i'll try to explain..

i want to know if max script can assist me in assigning values to vertexes based on interpolation between specific vertexes - for instance :
if i have a rectangle and i assign a value (color for instance) to all four corners , is it possible to automatically set the values of the remaining vertexes using linear interpolation.

the objects are more complex then a rectangle of course..

thanks in advance

groutcho
02-20-2009, 10:26 AM
Maybe you should store a custom attribute on your whole object. In this custom attribute, you add some variables that store your vertices' attributes (such as color) and functions to determine the attribute of a vertex if it doesn't have one already.

CGTalk Moderation
02-20-2009, 10:26 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.