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
End face
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
But in Pointcloud, here is what I have first
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)
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.
Help with Hex2Obj
-
- Posts: 68
- Joined: Wed Nov 15, 2017 1:54 pm
Re: Help with Hex2Obj
Basically your counts and offsets are wrong. Use my values as a reference.
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.
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.
-
- Posts: 10
- Joined: Tue Aug 14, 2018 10:36 pm
Re: Help with Hex2Obj
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.
"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.
-
- Posts: 68
- Joined: Wed Nov 15, 2017 1:54 pm
Re: Help with Hex2Obj
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.
Try practicing a bit more, and I am sure you will get the hang of it.
Try practicing a bit more, and I am sure you will get the hang of it.
-
- Posts: 10
- Joined: Tue Aug 14, 2018 10:36 pm
Re: Help with Hex2Obj
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.
Thanks.
-
- Posts: 68
- Joined: Wed Nov 15, 2017 1:54 pm
Re: Help with Hex2Obj
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
-
- Posts: 10
- Joined: Tue Aug 14, 2018 10:36 pm
Re: Help with Hex2Obj
Yes ofcourse, because that's the first models so it's 0, I'm confused but I will get it