Notifications
Clear all
[Closed] assigning values to vertexes
Feb 20, 2009 8: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
1 Reply
Feb 20, 2009 8:40 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.