I'm currently working on a model generation program, I believe that model files can store animation frames, but I was wondering is it possible to to create a model with animation in code. I attempted it, but either I did something wrong or its not supported.
Basicly what I'm doing is generating a model, with an index as the frame number, saving to the same model each new model with a different index. This crashes the program.
If im not mistaking, you can only create one frame per .ddd.
Well thats a shame, anyway of combining DDD files into one with frames?
Export each frame separately (from 3ds max in my case) as .obj format series and convert them to a single animated .ddd format and it will work fine. :)
Single animated formats like .3ds converted to .ddd will crash. :(
I thought of that before. I'll add a parameter to X_OBJSTART, that lets you specify the animation frame you want to use.
Another option (so far) would be to write a .dda (ascii) file to a temp directory and read that.
@Matchy - Can't do that, the models are being created by the program, not externally.
@Kitty Hello - That would be wonderful.
Oh I see :bed: and X_OBJSTART does need a frame number which would be very good.
Quote from: Kitty Hello on 2010-Apr-09
I thought of that before. I'll add a parameter to X_OBJSTART, that lets you specify the animation frame you want to use.
Another option (so far) would be to write a .dda (ascii) file to a temp directory and read that.
Kitty, what about a new format for 3D? (i know its a lot of work, but in the future we realy need that!)
DDD-Files are to big compared to other animationframe based formats.
If i look at some devices (IPhone, GP2X) ddd-files are to big for...
PLS a new format! :happy:
That's really a big piece of a construction site. Maybe if I have summer holidays.