Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

Unity format meshe 43. Need help struct.

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
Roman
advanced
Posts: 55
Joined: Wed Aug 19, 2015 7:54 am
Has thanked: 10 times
Been thanked: 3 times

Unity format meshe 43. Need help struct.

Post by Roman »

I load unity mesh .43 my self.
Simple mesh load ok, but animation mesh vertices show not correct.
I need help on the structure file format unity mesh 43 . And who interesting join.
https://www.youtube.com/watch?v=CAD-bsu ... e=youtu.be
Roman
advanced
Posts: 55
Joined: Wed Aug 19, 2015 7:54 am
Has thanked: 10 times
Been thanked: 3 times

Re: Unity format meshe 43. Need help struct.

Post by Roman »

This animated mesh.
I read only vertices data and indices. But mesh look like boom.
You do not have the required permissions to view the files attached to this post.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4298
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1152 times
Been thanked: 2250 times

Re: Unity format meshe 43. Need help struct.

Post by shakotay2 »

Roman wrote:But mesh look like boom.
It's the way orcs look like :D
OrcMolten.JPG
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Roman
advanced
Posts: 55
Joined: Wed Aug 19, 2015 7:54 am
Has thanked: 10 times
Been thanked: 3 times

Re: Unity format meshe 43. Need help struct.

Post by Roman »

shakotay2
How do you load my model Orc Molten ?
Do you know unity mesh 43 format ?
Please tell me how you do ?

You vertex offset is 64 bytes ? I'm right?
I download you programm Hex2o__v0.2x and i get right mesh Orc Molten.
Roman
advanced
Posts: 55
Joined: Wed Aug 19, 2015 7:54 am
Has thanked: 10 times
Been thanked: 3 times

Re: Unity format meshe 43. Need help struct.

Post by Roman »

In hex editor i found number vertices and vertices data size of bytes.
I 0x03F7E0/0x152A = 0x30 bytes vertices offset

shakotay2
Why you do 64 bytes offset on vertices data ?
You do not have the required permissions to view the files attached to this post.
Roman
advanced
Posts: 55
Joined: Wed Aug 19, 2015 7:54 am
Has thanked: 10 times
Been thanked: 3 times

Re: Unity format meshe 43. Need help struct.

Post by Roman »

shakotay2
And how do you read Vertices data ?
I mean first 12 bytes this is vertices then next 12 bytes normals and 8 bytes TextureUV.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4298
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1152 times
Been thanked: 2250 times

Re: Unity format meshe 43. Need help struct.

Post by shakotay2 »

Roman wrote:Why you do 64 bytes offset on vertices data ?
dunno what you mean by offset - mean vertex stride?
It's 40 bytes (all params for hex2obj are decimal values except the startaddresses 0x...)

From one 00 00 80 3F pattern to the next one it's 40 bytes - as simple as that.

You'll learn it by experience and patience.

btw: as far as I can see an UVpos of 24 (12+12) will not give valid UV data.
OrcMolten_tex.JPG
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Roman
advanced
Posts: 55
Joined: Wed Aug 19, 2015 7:54 am
Has thanked: 10 times
Been thanked: 3 times

Re: Unity format meshe 43. Need help struct.

Post by Roman »

Ha ! :]
I do vertex stride = 40 bytes and i got model :]
Strangely ! From the hex editor data i think vertex stride = 48 bytes.
From hex editor 0x03F7E0/0x152A = 0x30 bytes vertices stride
You do not have the required permissions to view the files attached to this post.
Roman
advanced
Posts: 55
Joined: Wed Aug 19, 2015 7:54 am
Has thanked: 10 times
Been thanked: 3 times

Re: Unity format meshe 43. Need help struct.

Post by Roman »

Other unity mesh Bandit :)
Thanks for you help shakotay2
You do not have the required permissions to view the files attached to this post.
Roman
advanced
Posts: 55
Joined: Wed Aug 19, 2015 7:54 am
Has thanked: 10 times
Been thanked: 3 times

Re: Unity format meshe 43. Need help struct.

Post by Roman »

Post Reply