Miscellaneous Leaks

[Guide] Ripping models from Sketchfab

Submitted by HDR, , Thread ID: 152601

Thread Closed

RE: [Guide] Ripping models from Sketchfab

Nick74
Lurker
Level:
0
Reputation:
0
Posts:
2
Likes:
0
Credits:
2
17-09-2021, 10:56 PM
#220
Found a way to load model - via commenting ofdecodeDelta,decodeImplicit,decodeWatermark ingetIndices of blender script (249). Not sure it's a solution for all binz models, but for mine it's ok.

Code:
if mode=='"TRIANGLE_STRIP"':
k=IMPLICIT_HEADER_LENGTH+bytes[IMPLICIT_HEADER_MASK_LENGTH]
#bytes=decodeDelta(bytes,k)
#write(log,[magic,k],0)
#write(log,bytes,0)
#bytes=decodeImplicit(bytes,k)
#write(log,[magic,k],0)
#write(log,bytes,0)
i=[magic]
#bytesp,magic=decodeWatermark(bytes,bytes,i)
#write(log,[magic],0)
#write(log,bytes,0)

elif mode=='"TRIANGLES"':
k=0
#bytes=decodeDelta(bytes,k)
#write(log,[magic],0)
#write(log,bytes,0)
i=[magic]
#bytes,magic=decodeWatermark(bytes,bytes,i)
#write(log,[magic],0)
#write(log,bytes,0)

Users browsing this thread: 2 Guest(s)