Miscellaneous Leaks

[Guide] Ripping models from Sketchfab

Submitted by HDR, , Thread ID: 152601

Thread Closed

RE: [Guide] Ripping models from Sketchfab

bomber9188
Newbie
Level:
1
Reputation:
0
Posts:
13
Likes:
0
Credits:
16
26-10-2021, 07:19 PM
#238
17-09-2021, 10:56 PM
Nick74 Wrote:
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)

Hi, thanks for sharing, it works also for me!

Users browsing this thread: 3 Guest(s)