Skip to main content
GameDev.net gamedev.net
🔒 Locked 🎮 Unity

.gla file format

Started by cameron syam Aug 28, 2006 at 9:45 AM 2 replies 1.5k views
Original Post
cameron syam
cameron syam
hi all, i made an almost full .glm/.gla reader-viewer. i have 1 problem: i cant decompress the bones/quaternions at the end. i know each one's length 14 bytes and i think it stores position and quaternion. can anybody help me? thx:) [Edited by - cameron syam on August 28, 2006 10:18:05 AM]
Bob Janova
Bob Janova
14 bytes sounds like XYZ XYZW (or the other way around) as shorts. But is there not documentation for this sort of thing?
IndyJones
IndyJones
You should download the JK2 SDK (i'm sure you can find it with google) and take a look at the matcomp.h and matcomp.cpp files.
The JK2 SDK contains a little bit more information on the MDX format than the JK3 SDK.
(Also take a look at the anims.h, animtable.h and animtable.cpp files when you want to do animated MDX model rendering)

Hope that helps!

Edit: Here is a link. Try the JK2 Editing Tools (don't know if the files are in both SDKs).
cameron syam
cameron syam
thx 4 helping;)
i've found a short sourcecode & its solved the problem...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.