Alright here is my question...I know how to read MCIN chunk and get the offsets for all the MCNK chunks.
Jumping to each offset it extracts the MCVT table which I believe is like this in hex
/0x00/ MCVT label - (4bytes)
/0x04/ size of MCVT chunk (in bytes) - (4bytes)
/0x08/ first float for vertice height at 0,0 - (4 byte FLOAT)
/0x0C/ second float vertice height at 1,0 - (4 byte FLOAT)
it extracts all the floats and writes just the 9x9 (outer vertices) into data (It does extract this info correctly!) when I create a matrix for each chunk it displays them pretty well, but I cant get it to position the chunks properly....
I have it loading chunks in following order:
00 16
01 17
02 18
03 19
04 20
05 21
06 22
07 23
08 24
09 25
10 26
11 27
12 28
13 29
14 30
15 31
and so on in columns of 16 chunks....
but here is what happens
-wireframe (since i dont support texture yet nor even plan on it right now)-
looks like my engine not properly reading some float addresses like WoW would?
any info or advice would help right now its pissing me off![]()