PDA

View Full Version : 3dsMax script developer needed for database driven position animation


box01
03-26-2009, 06:04 PM
3dsMax script developer needed for database driven position animation



Hi guys we are looking for macscripters to help converting data from spread sheet to control/drive objects in max.





The requirements are





The spreadsheet will contain series of entities and their transformation(position/rotation) data over a period of time.
We need to load the spreadsheet into max and then apply the transformation to certain objects in the scene.
A simple straightforward interface in max is required. i.e., "load" and "apply" .




This is a initial development for one of our projects, if it works out well, we may expand the applications and possibly a long term development.



If interested please contact



lengxin@gmail.com.



Thanks

salced0x
03-27-2009, 07:35 PM
hi

i am interested in this script.
I need to import a data file with (xyz) coordinates and three rotations angles, and then with this information move a solid...

i have this script but it doesnt work well, if you can help me please

This Script will reset your scene, so save before running it.
resetMaxFile #noPrompt
s = sphere ()
spaz = s.pos.controller

-- Function Definition
fn AddKeysFromFile ctrl file =
(
local f = openFile file
t=0
while (not eof f) do
(
local x = addNewKey ctrl t
local a = [readValue f,readValue f,readValue f]
x.value = a
t += 10
)
close f
)

-- EVALUATE FUNCTION
AddKeysFromFile spaz "infiniti.dat"

con el archivo infiniti
-15.7436,9.4353,-11.2804
96.011, -150.876, 138.0289
-5.2103, -230.7725, 122.3503
29.9328, -212.5843, 9.2386
92.5178, -120.9492, -57.7814
-0.5455, 1.8896, 11.4197
-91.7734, 124.0946, 122.0455
-28.3564, 213.9283, 164.8463
4.4424, 231.2096, 84.569
-102.4511, 155.1786, -55.0066
-15.7436, 9.4353, -11.2804


thanksss

CGTalk Moderation
03-27-2009, 07:35 PM
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.