Page 1 of 1

Shadowgrounds model s3d.

Posted: Mon Aug 22, 2016 7:10 am
by Roman
s3d binary format.
Need help.
For render mesh using Directx 11.
If i draw PRIMITIVE_TOPOLOGY_TRIANGLESTRIP model almost like fine.
if i draw PRIMITIVE_TOPOLOGY_TRIANGLELIST model draw half.

16 bit indexes.
Indx num = 1552 (decimal)
Index begin = 72347 (decimal)

Vertices 3 float32 , normals 3 float32, uv 2 float32, 8 bytes empty (null)
Vrtx num = 1801 (decimal)
Vertex stride\offset 0x28
Vertex begin = 309 (decimal)

Re: Shadowgrounds model s3d.

Posted: Mon Aug 22, 2016 7:22 am
by Roman
Trianglestrip
me1.jpg

Re: Shadowgrounds model s3d.

Posted: Mon Aug 22, 2016 7:23 am
by Roman
Trianglelist
me2.jpg

Re: Shadowgrounds model s3d.

Posted: Mon Aug 22, 2016 7:26 am
by Roman
right model
rig.jpg

Re: Shadowgrounds model s3d.

Posted: Mon Aug 22, 2016 8:07 am
by Acewell
first submesh :D
wrencher_s3d.png

Re: Shadowgrounds model s3d.

Posted: Mon Aug 22, 2016 8:44 am
by Roman
Oh !
My fault.
Now i get right mesh.
Thanks.