Making animated models

Previous topic - Next topic

Scott_AW

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.
Current Project, Orbital Contract Defense
http://gamejolt.com/games/adventure/code-name-ocd/9887/

BlackShadow now open source/resource(requires duke3d)
http://gamejolt.com/games/adventure/black-shadow-3d/9885/

Hemlos

If im not mistaking, you can only create one frame per .ddd.
Bing ChatGpt is pretty smart :O

Scott_AW

Well thats a shame, anyway of combining DDD files into one with frames?
Current Project, Orbital Contract Defense
http://gamejolt.com/games/adventure/code-name-ocd/9887/

BlackShadow now open source/resource(requires duke3d)
http://gamejolt.com/games/adventure/black-shadow-3d/9885/

matchy

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.  :(

Kitty Hello

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.

Scott_AW

@Matchy - Can't do that, the models are being created by the program, not externally.

@Kitty Hello - That would be wonderful.
Current Project, Orbital Contract Defense
http://gamejolt.com/games/adventure/code-name-ocd/9887/

BlackShadow now open source/resource(requires duke3d)
http://gamejolt.com/games/adventure/black-shadow-3d/9885/

matchy

Oh I see  :bed: and X_OBJSTART does need a frame number which would be very good.

Schranz0r

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:
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Kitty Hello

That's really a big piece of a construction site. Maybe if I have summer holidays.