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.

Simple question about some model data

Featured Replies

  • Author
  • Localization

Wulf, posted Wed Jul 20, 2016 8:36 pm (15468)


If it's relevant this is a sample of a few vertexes from Demon's Souls FLVER files, but I assume it's simple enough that anybody can figure it out by just looking at it. I'm just not very familiar with model data so was hoping somebody could explain each bit.

C258CB00 C413DBCC C32E1083 00000000
7FFE7F7F 007F7F00 FFFFFFFF FDCF0087

C2644370 C413DBCC C32FB172 00000000
7FFE7F7F 007F7F00 FFFFFFFF FDDC009E

C26BB4EA C413DBCC C3311999 00000000
7FFE7F7F 007F7F00 FFFFFFFF FDE700AD

The 3 floats are obviously xyz co-ords, but what would the rest signify?
  • Author
  • Localization

Acewell, posted Thu Jul 21, 2016 3:10 pm (15510)


maybe not so simple :lol:
according to the 32 byte vertex type on lines 93-96 in this script by finale00
http://himeworks.com/redirect.php?type= ... kSouls_flv

vertex position X float - 4 bytes
vertex position Y float - 4 bytes
vertex position Z float - 4 bytes
unk float? - 4 bytes
U half float - 2 bytes
V half float - 2 bytes

i don't know what the rest is
unk half float?
unk half float?
unk float?
unk float?

there is probably normals and weights in there too but i cannot identify this data :oops:
  • Author
  • Localization

Wulf, posted Thu Jul 21, 2016 5:54 pm (15518)


Oh good, then I don't have to feel bad for not recognizing it.

Thanks for the link to that script, a cursory glance shows that the data "seems" to match up with it. I'll poke through it and see what I can figure out from it.

Edit: Hmm, it seems that even between flver files of the same type, the vertex data can be different formats. I just looked at another flver and its vertices are 0x1C long instead of 0x20.
  • Author
  • Localization

Acewell, posted Thu Jul 21, 2016 9:37 pm (15532)


yeah there is 5 vertex types supported in that script - 28, 32, 36, 40, 44

edit
by coincidence shakotay is posting about identifying general normal and weight data here :D
http://forum.xentax.com/viewtopic.php?p=120567#p120567

Quote:
you could check for weights and boneids in FVF block.
Weights are in the range of 0.0 to 1.0, sum of weights (for 4 boneids in most cases) is 1.0.

For ... normals (sum of squares = 1.0).
There might be boneIDs at FVF offset ...
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.