READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Approaches of Parsing Bone Representations

Read or post any tutorial related to file format analysis for modding purposes.
jayn23
n00b
Posts: 16
Joined: Sun Jul 17, 2011 9:30 pm
Has thanked: 5 times
Been thanked: 4 times

Re: Approaches of Parsing Bone Representations

Post by jayn23 » Sun Aug 18, 2019 9:25 pm

Thanks for all the great tips :)

i feel kind of stupid with this but i cant seem to get the correct numbers for world transformation, and was hoping you could look at the numbers and maybe tell me what i am doing wrong:
I have a picture of debug console of noesis where first line(bones1) is original 4x3 matrix while second line(bones2) in world transformation.
up until i = 2 i get the correct answer by multiplying bone * bone[i-1] etc..
from i =3 no matter what combination i do i dont get the same result.
what i am doing is Matrix[3]*matrix[2]*matrix[1]*matrix[0], i tried a few other combinations including matrix[3]*matrix[2]-world transformation but none give the same result as noesis.

i dont know how important it is to understand this if noesis does this , but it bugs the hell out of me that i cant figure it out :D
You do not have the required permissions to view the files attached to this post.

jayn23
n00b
Posts: 16
Joined: Sun Jul 17, 2011 9:30 pm
Has thanked: 5 times
Been thanked: 4 times

Re: Approaches of Parsing Bone Representations

Post by jayn23 » Sun Aug 18, 2019 9:27 pm

couldn't add a second attachment before, here are my matrices:
if i understood correctly:

for i =3
Bones[3] * Bones[2] * Bones[1]* Bones[0] = answer
You do not have the required permissions to view the files attached to this post.

User avatar
Bigchillghost
ultra-veteran
ultra-veteran
Posts: 490
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 22 times
Been thanked: 397 times

Re: Approaches of Parsing Bone Representations

Post by Bigchillghost » Mon Aug 19, 2019 5:51 am

jayn23 wrote:
Sun Aug 18, 2019 9:25 pm
what i am doing is Matrix[3]*matrix[2]*matrix[1]*matrix[0]
It should be matrix[0]*matrix[1]*matrix[2]*matrix[3] since it's row-major matrix.
noe.png
jayn23 wrote:
Sun Aug 18, 2019 9:25 pm
i dont know how important it is to understand this if noesis does this , but it bugs the hell out of me that i cant figure it out :D
Theoretically to convert a parent space tree to world space, you need to premultiply each node in a level with its parent recurrently from the root level down to the last level, or use other methods that have the same effect. So it doesn't matter how Noesis does it, so long as it works as expected. But you should know at least one way to convert it yourself.
You do not have the required permissions to view the files attached to this post.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)

jayn23
n00b
Posts: 16
Joined: Sun Jul 17, 2011 9:30 pm
Has thanked: 5 times
Been thanked: 4 times

Re: Approaches of Parsing Bone Representations

Post by jayn23 » Mon Aug 19, 2019 9:11 am

Ill take a look at the numbers when i get home, but i am sure ill get it to work now.

Thanks a lot for all your help and fast reply's i really appreciate it.

723119159
advanced
Posts: 42
Joined: Sun Dec 02, 2018 4:27 pm
Has thanked: 1 time

Re: Approaches of Parsing Bone Representations

Post by 723119159 » Fri Aug 23, 2019 7:17 am

Hello,and sorry to disturb you.
Could you analysis the bigworld engine model?I can't find any ather idears.
http://www.mediafire.com/file/g432vuf89 ... 05408/file
this is a sample. bone file is .visual
Thanks

Post Reply