UV algorithm for help

Post questions about game models here, or help out others!
Post Reply
Roselle
ultra-n00b
Posts: 8
Joined: Thu Sep 18, 2014 9:51 am
Has thanked: 1 time

UV algorithm for help

Post by Roselle »

I got some data with H2O in this file, but UV gives me a headache, I found only at the beginning of the UV data, I cannot calculate the next position of the elements of the UV, can you help me?
H2O:
0x1f510 1482
UV: 0x235c0 99
0x8133 330

[II]0x200b0 180
0x? 99
0xc963 80

[III]0x20220 2640
0x? 99
0xdae3 936
You do not have the required permissions to view the files attached to this post.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4134
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1124 times
Been thanked: 2154 times

Re: UV algorithm for help

Post by shakotay2 »

Roselle wrote:I found only at the beginning of the UV data, I cannot calculate the next position of the elements of the UV, can you help me?
0x235c0 looks like a correct beginning; the other uv start addresses might require some fiddeling.

0x28858 looks like a block end - the delta is 0x5298 = 2643x8 dec.

sum of verts *2 = 2692 = (330+80+936)*2
That's not close enough to 2643 so another idea is needed.

(Factor 2 is "derived" from the fact that there's two normals blocks (0x106C3. 0x132A3))

Maybe try 0x2A230 as a starting address, or, or, or, dunno...
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Some things will never change. [roll]
"You quoted the whole thing, what a mess."
Post Reply