orangeduck / Corange

Pure C Game Engine
http://www.youtube.com/watch?v=482GxqTWXtA
Other
1.82k stars 200 forks source link

ani files #75

Open molekel opened 2 years ago

molekel commented 2 years ago

I really like your engine :) Pure C ... nothing else to be said.

One Question: https://github.com/orangeduck/Corange/blob/master/demos/rendering/assets/imrod/imrod.ani How did you create the .ani files ? Everything else is Wings 3D .. but Wings cant do .ani? correct me if I'm wrong.

Best wishes molekel

blogdron commented 2 years ago

*.smd *.skl *.ani its all just separated SMD data https://developer.valvesoftware.com/wiki/Studiomdl_Data

This game engine works with file formats, so the usual cmd is divided into three, skeleton, vertices and animation. Wings (as far as I know) does not know how to work with animation and in general with SMD in principle.

You need an editor that can work with smd (modeling/animation)for example blender + https://developer.valvesoftware.com/wiki/Blender_Source_Tools . http://steamreview.org/BlenderSourceTools/ instal this plugin in blender

Copy imrod.smd and imrod.ani in other directory, rename to imrod-model.smd and imrod-animation.smd go to import open imrod-model.smd you see model. go to import open imrod-animation.smd and play animation on blender bottom bar. imrod.wings just source model by .

If you export back for Corange, all files have .smd file extension. You just need rename animation file in .ani.

p.s. I hope I made it clear, sorry for my bad english