New in-depth modeldef docs

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

New in-depth modeldef docs

Post by Nash »

Please look here: http://forum.drdteam.org/viewtopic.php?p=13577#13577

I've spent a lot of time compiling the above information to finally demistify models in GZDoom.

If there are any errors, please let me know.

Keywords for search engine:

model, models, modeldef, 3d, 3-d
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

I have updated the MODELDEF docs with the scaling functions, and also tidied things up here and there.

Hopefully most of the information is now correct...

... until a new, proper model definition support is added. >;)
User avatar
BlazingPhoenix
Posts: 488
Joined: Sun Aug 28, 2005 5:11
Contact:

Post by BlazingPhoenix »

THANK YOU Nash!, this is what I've been wanting for a while :D.
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

After researching the internet for the MD2 and MD3 specs, I notice that there're still some wrong information in the docs.

I'm a bit too tired to edit it right now (it's almost 5 in the morning here) so I'll do it tomorrow.

Basically, it's all about frame names VS frame indexes.
User avatar
Paul
DRD Team Admin (Inactive)
Posts: 1058
Joined: Thu Jun 30, 2005 13:30
Location: Poland - Grojec / Radom
Contact:

Post by Paul »

Nash or Graf or Dani, or someone competent for the matter. What's the "model index?"
Model <ActorName>
{
(...)
Frame <XXXX> <X> <model index> <"frame name">
}
Is it for the when several models are in a single model file? Or something else? I kindly ask for clarification.
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

There's no such thing as "several models in a model file".

There's only one model in each md2/md3.

If you are using only one object, just use model index 0.

This is only useful if let's say, you have the Imp's body in one file, and his hands in the other.
Locked

Return to “GZDoom”