[Closed] spacewarp FFD box
does it works to you??? i still have the points unanimatable after executing your code. Maybe i’m doing something wrong. thanks anyway for your time. thanks.
try again, the function’s code has been updated.
I must have been on a non-zero frame when I tested it… fresh maxstart did fail it, took me a moment to realize it was because I was on frame zero. mutter
A quick poking at sliderTime fixes things
hey! it works perfectly now. Thank you so much ZeBoxx2, you’ve helped me a lot in my job.
I hope this help more people here too.
thanks again.
MAXSCRIPT HELP SAYS:
[left]The number of control points in a SpaceFFDBox created by MAXScript is always 4x4x4.
[/left]
[left]There is no method for assigning controllers to the FFD control points, nor is there a method for assigning the number or accessing the number of Length, Width, and Height points using MAXScript in 3ds Max.
[/left]
How can i create a SpaceFFDBox of 2x2x2 by maxscript?. this is starting to exasperate me.
hehe… figured you might ask that next.
‘fraid the news isn’t good on that one – there’s no UI mongering that you can do from within 3ds Max to change the number of points, as far as I could ever figure out; the basic problem being that you can’t set the value of the spinner in any way.
So, you’re back to…
A. save a library of FFD spacewarps with the number of segments you’d use, animate those, and merge the appropriate one from that library when needed
B. use the modifier (you already mentioned it’s not an option, though)
C. get somebody to add the appropriate maxscript access to the FFDmod source and compile that for you (anybody else that would need to work with your scripts would need to have that plugin as well)
D. use an external UI-mongering tool to set the spinner values.
I’m listing A first because that’s still the way I’d go about it.
thanks, you are right, i think i’m going to save a library to merge FFDs each time i need one. In fact we cant use the modifier beacuse an internal point cache tool problem.
thanks again for your help.
I thought I answered in this thread… weird…
There is no method for assigning controllers to the FFD control points, nor is there a method for assigning the number or accessing the number of Length, Width, and Height points using MAXScript in 3ds Max.
I was working with this kind of things last week, making some rolling balls to deform via FFD Space Warp. I was using math for converting from FFD CP local space to world space, so I could use some controllers to drive the points…
… until a coleague at the company asked me ‘why don’t you use Skin modifier for that?’. And, wow, it worked: skin the controls (i had spheres in the corners) to the FFD, and done. Fast, reliable, and it’s a lot easier to animate ‘outside’ the FFD Space Warp than inside.
thanks Iker for the idea, i’ll try this if in the future i’ve got to animate an FFD, but now it’s not the case. I needed to set controllers to the control points because i wanted to access the position of each one of them by maxscript.
I’ve bee doing a tool with some functions to copy one FFD form to another, invert the control points, save a FFD control points positions to a file and then load them into a new one…
This was because here in the studio we are creating the tecnology to our productions, and we’v decided to use FFD with the character eyes and with the head, and it’s very useful to have a tool to save the information in a file to rebuild this part of the rig if something fails.
I’ve been watching your autorig script and it looks very good and useful, i’m making one autorig too.
Congratulations for The missing Lynx, i’ve seen it and think is a great film, but you were at Ilion animation studios before, weren’t you?
What you’re trying to achieve sounds nice Hope you make it work soon!
Yep, I worked at Ilion for almost two years. After that, worked a little on the ‘Lynx’ movie and then I started to develop a new animation system from scratch. That’s what we’re using in the short-film we’re working on, and on our next movie as well.
Since you are working on an autorig too, maybe we can be in touch and exchange some ideas or impressions. Not a lot of MAX riggers to chat with…
Thanks for your kind compliment