Forum > Modelling and Animation

[QUESTION] MLIQ of WMO

(1/2) > >>

abdalrahman9:
Hello there Modcraft, i just have a few questions that i want to ask about MLIQ of a wmo. So here goes:

1: So for the heightmaps, i don't get what the first four bytes are referring to. From what i found it is trying to refer to UV map or another words texture coordinates of the vertices and the transparency. However, i don't understand how they are represented. Is each byte a specific information or every two bytes? Here is a picture to elaborate my misunderstanding:



2:Does anyone know what the types of the tiles are which come right after height maps? I have tried to play around with them but weird things happen when i do. Another pic for understanding:



If anyone knows any type of information that will be of great help. Thank you again for reading!!!

schlumpf:
Short answer: nobody knows.

The heightmap seems to be an array of {int16_t; int16_t; float;}.

The "types" look more like depth values than types.

abdalrahman9:
I see, well thanks for the reply. I will investigate more in depth and if i find anything i will reply back stating my findings! (Thanks for always answering my questions schlumpf!!)

schlumpf:

--- Quote from: "abdalrahman9" ---I see, well thanks for the reply. I will investigate more in depth and if i find anything i will reply back stating my findings! (Thanks for always answering my questions schlumpf!!)
--- End quote ---
I enjoy when people actually try to figure things out instead of blindly doing things, so whenever you have a question, ping me.

happyhack:
yo,
I did a lot of test about that stuff a long time ago, had made a txt file with all test reports and info I found out but in the end I didnt found the time to put it into the wiki... my bad. Im pretty sure i deleted that file now.
Anyway, if memory serves me well, the type was some kind of bit field.
I think the only effect i discovered were some bit was about hidding the vertice (thus each triangle including it was hidden). It was used when the liquid plane need not to be a square.
There were other flags used in blizzards WMO which didnt seem to have any effect.

Better check that though, was a long time ago, good luck !

Navigation

[0] Message Index

[#] Next page

Go to full version