How about everyone posts his complete know-how about the .LZS model files to decrypt it evt. 100%? Are you afraid that you have to credit other people in your application? Shame on you...
Unknown1 structure has a pattern that could be hierachical data.
I had not looked at models with textures yet (UV-Coords in Color-data?)
ENEMY000.LZS - Yellow Pyramid
More detailed data follows tomorrow but first:
Now it's YOUR turn.
Hmmm I think this is one of many different objects, for example this gives you one object from cloud, I wonder if there is any way to determine the number of 'elements' in an object. Using FF7me for a reference helps emensly. As for credit.. I could care less, I just want to figure out the data.
Some things I do are embarasingly coded
However back to the orginal ENEMY000.LZS
It contains only 1 object yet has 5 sections.. I would assume from that information, that each collection (IE CLOUD.LZS etc). has a minimum of 5 sections. I know cloud.LZS has quite a few more parts than Just the first part. I wonder if that unkown information may be part of ithe mystery. I think I'll hunt through sections and see if I can find another part. If not then I think there must be some information in there regarding the number of parts. I suppose I can dump the data into a POV object and generate an image from rendering that.
The Triangles/ Quadrics list are offsets from the start of the verticies I noticed as well. this limits one to about 8192 vertices.. which is quite a few
this may also be why the vertex array begins with a byte count instead of a vertex count, so that the FF7 engine could determine if the object was too large for it to use.
I'll play some and let you know what I find/generate
Images removed because site is goneThe ordering of the polygon vertices isn't identical to POV's. So I suspect some 'tweaking' will be needed for POV to have things look about right. POV does not support 'coloring' of verticies either (sadly this means rendering it in POV could be very difficult).
Irregardless I have one section decoding and visable now. I am certain there are more objects I am going to have a look at the number of sections versus the number of parts FF7me shows. Acording to the author of that utility all the bone information etc. is in the file. Does cloud have one weapon type in battle all the time?
I need to play the 'used' vertices game I guess <sigh> and see what I can find out.
Cyb