Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Help with Hex2Obj

Featured Replies

  • Author
  • Localization

Liddius, posted Thu Aug 16, 2018 12:27 am (37562)


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.
  • Author
  • Localization

akderebur, posted Thu Aug 16, 2018 1:06 am (37565)


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.
  • Author
  • Localization

Liddius, posted Thu Aug 16, 2018 2:11 am (37566)


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.
  • Author
  • Localization

akderebur, posted Thu Aug 16, 2018 2:24 am (37567)


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.
  • Author
  • Localization

Liddius, posted Thu Aug 16, 2018 12:55 pm (37585)


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.
  • Author
  • Localization

akderebur, posted Thu Aug 16, 2018 1:20 pm (37588)


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
  • Author
  • Localization

Liddius, posted Thu Aug 16, 2018 1:26 pm (37589)


Yes ofcourse, because that's the first models so it's 0, I'm confused but I will get it :)
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.