ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Aug 19, 2017 1:16 pm

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: .sdw 3d files
PostPosted: Thu Jul 13, 2017 9:49 am 

Joined: Thu Jul 13, 2017 9:47 am
Posts: 2
example data:
https://mega.nz/#!MoxiHZQI!YJuJJqzkIWiN ... 1XxSrdDsKA
vertex/vertices data starts at 0xa0 ,
vertex/vertices count is 709,
vertex/vertices dataformat is short i think

So on this moment i only have a 3d point cloud

Can someone tell me how to find the faces ?

there are some strings like "VERTEX" "NORMALS" "TEXCOORD" ... in this file i am sure the faces need to be some where too


Top
   
 Post subject: Re: .sdw 3d files
PostPosted: Fri Jul 14, 2017 2:43 pm 

Joined: Sun Mar 22, 2015 7:09 pm
Posts: 628
face indices start somewhere around 0x4200

note that they have separate indices for vertices, normals and texture coordinates


Top
   
 Post subject: Re: .sdw 3d files
PostPosted: Fri Jul 14, 2017 3:50 pm 

Joined: Thu Jul 13, 2017 9:47 am
Posts: 2
now i get this
Image
when i start from 0x41ee

how to solve this ?


Top
   
 Post subject: Re: .sdw 3d files
PostPosted: Sun Jul 16, 2017 5:04 am 

Joined: Sat Aug 29, 2015 1:13 pm
Posts: 56
Hi

indices data start from 0x41F0

Code:
   #python code
   #big endian
   #start from 0x41EA
   
   faceCount=g.i(1)[0] #integer from 4 bytes
   g.B(2) #skip 2 bytes
   for m in range(faceCount):
      face=[]
      for n in range(3):
         face.append(g.H(1)[0]) #indice - get integer from 2 bytes
         g.seek(4,1) #indices for normals , uv - skipped
      mesh.faceList.append(face)


Attachments:
model.jpg [65.44 KiB]
Not downloaded yet
Top
   
 Post subject: Re: .sdw 3d files
PostPosted: Wed Jul 19, 2017 10:39 am 

Joined: Wed Nov 12, 2014 1:46 pm
Posts: 11
Can you tell me which program uses the .sdw model files?


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

All times are UTC


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:
Powered by phpBB® Forum Software © phpBB Limited