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
.sdw 3d files
-
- Posts: 1040
- Joined: Sun Mar 22, 2015 7:09 pm
Re: .sdw 3d files
face indices start somewhere around 0x4200
note that they have separate indices for vertices, normals and texture coordinates
note that they have separate indices for vertices, normals and texture coordinates
-
- Posts: 2
- Joined: Thu Jul 13, 2017 9:47 am
Re: .sdw 3d files
now i get this
when i start from 0x41ee
how to solve this ?
when i start from 0x41ee
how to solve this ?
-
- Posts: 124
- Joined: Sat Aug 29, 2015 1:13 pm
Re: .sdw 3d files
Hi
indices data start from 0x41F0
indices data start from 0x41F0
Code: Select all
#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)
-
- Posts: 107
- Joined: Wed Nov 12, 2014 1:46 pm
Re: .sdw 3d files
Can you tell me which program uses the .sdw model files?