THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/02/2003 at 10:27, xxxxxxxx wrote:
Cool. I can generate a plain text file (.txt). I haven't really nailed down the specifics of the format, because I had no way to bring it into Cinema. I guess in its simplest form, each object's data would be output to a separate file, but I guess it would be cooler to come up with a format that can take the whole scene and apply data to it.
I'm trying to figure out what would be the best delimeter, since I would most likely use commas in the vector definitions. (x,y,z) Maybe just a TAB or a SPACE?
anyway...I'm thinking line 1 is object name
line 2 starts data. (position vector then rotation vector) each line of data equals 1 frame in cinema. I should use scale vector also, but my initial use of this doesn't really need it.
Box01
p(200,0,0)[TAB]r(0,1,0)
p(190,0,0)[TAB]r(0,2,0)
p(180,0,0)[TAB]r(0,3,0)
etc....
This would be just fine for the single object per export method. The multiple object format would have to be a little more detailed.
perhaps with some sort of end of object characters:
Box01
p(200,0,0)[TAB]r(0,1,0)
p(190,0,0)[TAB]r(0,2,0)
p(180,0,0)[TAB]r(0,3,0)
***
Box02
p(0,100,0)[TAB]r(20,0,0)
p(0,110,0)[TAB]r(25,0,0)
p(0,120,0)[TAB]r(30,0,0)
***
Box03
etc.
Is any of this making any sense?
Thanks for your help
Gary