|
![](/i/fill.gif) |
I've been playing around with arrays(ver 3.6). You know how POV
handles arrays, one type of element per array. (float, vector, color,
...)I do a lot of animation. So some times I have several arrays that
are linked to one object. I usually made the arrays for each POV project
and handled the arrays individually.
I thought 'Why can't POV be more C++ like and use classes?' Well it
can't! I won't complain It's one great rendering tool!
But I can make a POV scrip that can produce a set of arrays that are
linked by name and use macros that treat those arrays as one virtual
array. I'm sure the idea isn't new.
Before I give the completed version to the POV community. What macros
would you like to be there?
I have: Put, Get, Trade, Copy, Sort, so far.
Put - Put values in virtual array
Get - Get values from virtual array
Trade - Trade one virtual array element with another
Copy - Copy one virtual array element with another
Sort - This lets you choose an array to use to
sort the rest of the virtual array. The
array you chose must have float values in it.
Final arrangement is from lowest to highest.
I'll put a copy of LinkMaker in P.B utilities
Your comments and suggestions are welcomed.
Post a reply to this message
|
![](/i/fill.gif) |