ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Sep 25, 2018 11:35 pm

All times are UTC




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Help with Hex2Obj
PostPosted: Thu Aug 16, 2018 12:27 am 

Joined: Tue Aug 14, 2018 10:36 pm
Posts: 9
Hi,

I have more or less understood how it works but I think I must miss something.

Here, I'm selectioning the Start and End face adresses :

Start face
Image

End face
Image

Then, I'm more or less sure than the FVF size is 48 because it works well, I tried others (20...52...100 etc.), 48 is the only size I get a result.

The models I get
Image

But in Pointcloud, here is what I have first
Image

Just for test, I increased the vertices count and here is what I have and what I what (but even, the model seems not complet)
Image

Can you tell me what am I doing wrong please ? (I don't mind the UV for now)

I attached the file I'm using, you can see the value on the images.


Attachments:
character_000.7z [883.9 KiB]
Downloaded 6 times
Top
   
 Post subject: Re: Help with Hex2Obj
PostPosted: Thu Aug 16, 2018 1:06 am 

Joined: Wed Nov 15, 2017 1:54 pm
Posts: 51
Basically your counts and offsets are wrong. Use my values as a reference.

Image

You vertex count is wrong. Also you can't just load any index data with any vertex data. It is true that there are indices starting at 0x112C50, but they are not the indices for the vertices at the start of the file. As you can see in my screenshot, the indices start at 0x1ABE0.

Once you get the counts correct, you should be fine.


Top
   
 Post subject: Re: Help with Hex2Obj
PostPosted: Thu Aug 16, 2018 2:11 am 

Joined: Tue Aug 14, 2018 10:36 pm
Posts: 9
I have trouble understanding, I can not do as with the hat? I should always use the first indice I find to make the other submeshes?

"the indices start at 0x1ABE0", so I use 0x1ABE0 in the start adress of face and then I find the "end adress" of the all file and make calcul from there ?

I'm not an english speaker so I surely misinterpreted what you said.


Top
   
 Post subject: Re: Help with Hex2Obj
PostPosted: Thu Aug 16, 2018 2:24 am 

Joined: Wed Nov 15, 2017 1:54 pm
Posts: 51
What I am trying to say is that you have to find the correct vertex data for the index data you are loading. In your example you were trying load the indices at 0x112C50 with the vertices at 0x0. The vertex data for those indices starts at 0xE5170. So it should be like this.

Image

Try practicing a bit more, and I am sure you will get the hang of it.


Top
   
 Post subject: Re: Help with Hex2Obj
PostPosted: Thu Aug 16, 2018 12:55 pm 

Joined: Tue Aug 14, 2018 10:36 pm
Posts: 9
Ah ok, I was ignoring the start adress of vertices because I didn't need them for the Hat, now I know I need them (but why not with the hat ?).

Thanks.


Top
   
 Post subject: Re: Help with Hex2Obj
PostPosted: Thu Aug 16, 2018 1:20 pm 

Joined: Wed Nov 15, 2017 1:54 pm
Posts: 51
Liddius wrote:
Ah ok, I was ignoring the start adress of vertices because I didn't need them for the Hat, now I know I need them (but why not with the hat ?).

What do you mean? They start at 0 :D


Top
   
 Post subject: Re: Help with Hex2Obj
PostPosted: Thu Aug 16, 2018 1:26 pm 

Joined: Tue Aug 14, 2018 10:36 pm
Posts: 9
Yes ofcourse, because that's the first models so it's 0, I'm confused but I will get it :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited