Page 29 of 29

Re: Extracting simple models

Posted: Fri Nov 22, 2019 9:37 pm
by shakotay2
Your vertex block 32x16220 exceeds the file size. Lowering the FVFsize to 6 doesn't give a proper mesh, though.

You're better of to search for some point clouds at first.
.
MG_son00_0_gpu.png

Re: Extracting simple models

Posted: Sat Dec 14, 2019 2:14 am
by ajspeed11
Hey can anyone help with this one please.
test.png
I've found Face indices at thiee addresses

3328
3394
3432
36BC

I think these are the addresses of the vertices
3780
37B0
37E0
36BC

I'm not quite sure what i should use for step 2

Any help would be appreciated thanks

https://drive.google.com/open?id=1sHIs9 ... ZkGTSx6QrO

Re: Extracting simple models

Posted: Sat Dec 14, 2019 9:51 am
by shakotay2
ajspeed11 wrote:
Sat Dec 14, 2019 2:14 am
I think these are the addresses of the vertices
3780
37B0
37E0
36BC
well, no, that doesn't make any sense to me. Did you have a look at the hex bytes at file offset 0x3780? 192 only and lots of zeroes.
There's many floats in the file (at 0x150C for example) which you don't seem to have recognized.
.
truck_LOD5-tmd.png
(one submesh only)

calculating the face indices count:
0x3370 - 0x3328 = 72 dec. = 36 x 2 -> 36 indices

Re: Extracting simple models

Posted: Sat Dec 14, 2019 5:53 pm
by ajspeed11
Hey shakotay2,

I'm still trying to gain an understanding of this process. I thought I'd found vertices at those addresses as there appeared to be a pattern to me at least XD

Thanks for the help. I'll do some more investigating and see if i can progress now you've guided me in the right direction.

Thanks for you help.

Re: Extracting simple models

Posted: Mon Dec 16, 2019 10:51 pm
by ajspeed11
Hey shakotay2,

After following your advice I managed to get the meshes from LODs 5,4 and 2

I found that the vertices start after this sequence '010000010000000000000000'
So I did a search for this in the LOD3 and got 695 hits.

I tried the first one which produced this mess, however it does appear to have similar shapes to those from LOD 2.
test.png
I also Looked over LOD 1 and that had 754 hits for the sequence above =/

Any suggestions how I could progress?

Thanks

https://drive.google.com/open?id=1CNzSM ... OrnyYH-zGC

Re: Extracting simple models

Posted: Tue Dec 17, 2019 9:23 pm
by shakotay2
ajspeed11 wrote:
Mon Dec 16, 2019 10:51 pm
Any suggestions how I could progress?
Sooner or later you need to code some lines (see my Make_Obj project)
shakotay2 wrote:
Mon Mar 06, 2017 11:01 am
Or use Noesis (python) for example.
Meanwhile you could search/care for the bigger vertex blocks.

(Offsets between the start offsets of the 010000010000000000000000 sequences vary, it's 0x80, 0x100 or greater.)
.
rtruck_LOD1-ea3.png
.
For LOD3 you could search for 000001000200, there's 45 findings. Get end address and max FI count of each FI block, then try to find suiting vertex blocks. (FI = face indices)

Re: Extracting simple models

Posted: Wed Dec 18, 2019 1:32 pm
by ajspeed11
Hey shakotay2,

Thanks for the fast response and for taken the time to look over these files again.

Re: Extracting simple models

Posted: Tue Jan 07, 2020 10:07 pm
by Hell Inspector
I was just wondering if you could possibly help me with this model from Wallace & Gromit TCOW cause I don't know anything about hex stuff and maybe you can like teach me certain stuff about it. https://cdn.discordapp.com/attachments/ ... tor_US.ovl

Re: Extracting simple models

Posted: Wed Jan 08, 2020 9:39 am
by shakotay2
Hell Inspector wrote:
Tue Jan 07, 2020 10:07 pm
I was just wondering if you could possibly help me with this model from Wallace & Gromit TCOW cause I don't know anything about hex stuff and maybe you can like teach me certain stuff about it.
well, I'm very busy with my own projects. I wrote a tutorial (click tut button in hex2obj) to help people help themselves.
(From a quick glance I'd say this .ovl contains animation data.)

Re: Extracting simple models

Posted: Wed Feb 19, 2020 8:56 pm
by Mediocrity
What about this. It's a cylinder with 24 vertices from toy story 2 labeled "paint" but I don't see the face indices.
paintfile2.png

I tried the fake option but no success unfortunately. By the way, where could I find more info on indices. I can get point clouds mostly on some games but I don't know how to identify indices that don't look at least similar to the ones used in the tutorial.
Here is the file if you need it: https://drive.google.com/open?id=14YsgD ... xaSOdJszqA
Thanks.

Re: Extracting simple models

Posted: Thu Feb 20, 2020 11:25 am
by shakotay2
I don't even see a cylinder. :D
What I get is this:

Code: Select all

# 0x4a: verts= 24
v 127.000000 -66.000000 119.996094 
v 66.195313 49.230469 67.585938 
v 127.000000 66.996094 119.996094 
v 67.195313 49.230469 67.585938 
v 127.000000 66.996094 119.996094 
v 67.195313 49.226563 66.585938 
v 127.000000 -66.000000 119.996094 
v 67.195313 49.230469 67.585938 
v -20.007813 56.996094 97.617188 
v -100.000000 -126.441406 -99.804688 
v 64.503906 -56.000000 0.000000 
v 94.503906 43.000000 0.000000 
v 0.000000 -56.000000 127.246094 
v 119.996094 -66.000000 127.125000 
v 0.000000 -56.000000 127.246094 
v 119.996094 -66.000000 127.125000 
v 0.000000 56.996094 127.246094 
v 119.996094 66.996094 127.125000 
v 0.000000 56.996094 127.246094 
v 119.996094 66.996094 127.125000 
v 52.070313 4.000000 -56.000000 
v 119.996094 -66.000000 0.000000 
v 52.070313 4.000000 -110.996094 
v 0.000000 -56.000000 0.000000 

Re: Extracting simple models

Posted: Thu Feb 20, 2020 10:14 pm
by Mediocrity
Well...I'm stumped. I can't seem to get the values you posted. This is what I'm looking at.
Screenshot (315).png
I can get point clouds of the other models using similar settings but that's as far as I get. Thanks for looking at it. I'll keep trying.

Re: Extracting simple models

Posted: Fri Feb 21, 2020 11:25 am
by shakotay2
Mediocrity wrote:
Thu Feb 20, 2020 10:14 pm
Well...I'm stumped. I can't seem to get the values you posted.
sorry, I used the box.all file with big endian.
This is what I'm looking at.
I see. Could be a matter of using another tri strips algorithm for automatic creation of face indices.

Current solution is this (f a b c, f b c+1 c):
# autocreated tristripped face indices
f 1 2 3
f 2 4 3
f 3 4 5
f 4 6 5
f 5 6 7
f 6 8 7
f 7 8 9
f 8 10 9
f 9 10 11
f 10 12 11
f 11 12 13
f 12 14 13
f 13 14 15
f 14 16 15
f 15 16 17
f 16 18 17
f 17 18 19
f 18 20 19
f 19 20 21
f 20 22 21
f 21 22 23
f 22 24 23

Re: Extracting simple models

Posted: Fri Feb 21, 2020 11:28 pm
by Mediocrity
I was wrong. There are 48 vertices. There's a pattern of 4 vertices followed by 16 bytes of other data and the pattern repeats. I guess the vertices are grouped per face. Maybe that's why there's no face index. Sounds like it can be done by someone with the knowledge (me?) if the pattern is consistent in the other files.