XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Fri Sep 22, 2017 2:07 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Trouble finding Faces data (Model researcher)
PostPosted: Thu Aug 31, 2017 2:56 pm 
Offline
n00b

Joined: Tue Oct 13, 2015 10:25 am
Posts: 14
Has thanked: 2 times
Have thanks: 0 time














You can make the ads go away by registering

Hi, i'm using this tool to train myself in extracting 3D meshes from binary file format (http://lazov.ru/mr/tutorial.php)... but i have trouble finding faces data... i have followed the tutorial and reproduced it without problem but doing this for another format is difficult since it's the 1st time i'm doing it alone ! (haven't even tried to find UV at this moment...) i got the help from someone a year ago and i want to follow the work myself... here are the models i am training on actually : https://www.mediafire.com/file/gv3y573c ... format.rar for the 2 dancers i have already found the vertices http://imgur.com/3m8bRpY but the faces are another story... the format seems to always store vertices 1st (just after the header informations) and then faces and textures coordinates...
My goal is to update the maxscript he made for me (if i can) to be able to import stages, avatars, animations on 3ds in the future, but i don't have the knowledge for this... so i'm starting with the "basis" and learning by myself...
anyway if someone want to help me to find the faces data i will really appreciate it, if any of you want to take a look at the stage sample and animations feel free to do it if you want.
Thank you for reading !


Top
 Profile  
 
 Post subject: Re: Trouble finding Faces data (Model researcher)
PostPosted: Thu Aug 31, 2017 11:21 pm 
Offline
M-M-M-Monster veteran
M-M-M-Monster veteran
User avatar

Joined: Fri Apr 20, 2012 9:24 am
Posts: 2121
Has thanked: 413 times
Have thanks: 1079 times
Loginoux wrote:
... but i have trouble finding faces data...
I wouldn't know, why. Search for 0000 0100 0200 and you're done (more or less):

since it's a simple format with floats the FVB block is expected to consist of vx,vy,vz, nx,ny,nz, tx,ty, where
v: vertex, n: normals, t: texture coords. So 8 "float elements", one float has 4 bytes, so FVF size= 8x4=32 bytes.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
"you can't always get things served on a silver tray"
extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Make_H2O-ForzaHor3-jm9.zip

"We are Microsoft. You will be assimilated. Resistance is Futile."


Top
 Profile  
 
 Post subject: Re: Trouble finding Faces data (Model researcher)
PostPosted: Fri Sep 01, 2017 12:42 pm 
Offline
n00b

Joined: Tue Oct 13, 2015 10:25 am
Posts: 14
Has thanked: 2 times
Have thanks: 0 time
Hi, thank you for your reply ! so now thanks to you i am able to find the faces and vertices data.
I tried with the disco dancer 2 file and i was able to extract the model !
Image
The only thing that bothers me is UV pos, how did you find that value ? and i didn't understand that much the VB size thing... maybe if i read again it will be better idk...
Anyway i will try with the other samples i have and write here if i have trouble.
Have a nice day !


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group