MDL

#21
I came up with a clever experiment / was able to setup a non-cyclical soft animation.

Some bytes I had thought looked like flags were actually the number of refresh frames to interpolate each animation frame. If that byte is set to 1 you essentially get a pose frame.

The difference values are stored in an odd way so that one byte diffs are always odd (upshifted one bit) ...even values change things, probably allowing for 16bit values (what I'd imagined those non-existent flags were for)

This entire file format has been incredibly convoluted. The amount of processing required in order to economize on file size is fairly astronomical.

Anyway, I think that's everything A-Z... soft lighting normals animation is probably out, but you never know. If not (and any file uses it) it should turn up.
Reply

#22
Made a new MDL tonight. Nothing fancy yet.


Attached Files
.mdl   dwarf.mdl (Size: 67.64 KB / Downloads: 121)
Reply

#23
This one has a texture. This was a bit of work to setup.

Also I'm now of the opinion that the vast majority of the seams in the texture mapping is because of a bug in the Som code. I'm pretty sure the 8bit integer uv components are being scaled by 1/256 instead of 1/255 which is the correct 0,1 mapping. The rest I think is just lazy artistry. It's possible the scale factor could be hunted down/corrected in the code.


Attached Files
.mdl   dwarf.mdl (Size: 323.68 KB / Downloads: 118)
Reply





Users browsing this thread:
2 Guest(s)