Closed Kashgar closed 2 years ago
fixed by commit 895d1291b4ffbf7694c42de2dea094ee3ff386d0
Why is this version of tileset annotated? The problem of GLB has been corrected. After removing the tileset annotation, there are still errors
Execute the command: python .\main.py tileset demo.gltf d:\3dtiles\
Traceback (most recent call last): …… File " gltf-to-3d-tiles-main\main.py", line 73, in tileset gltf_to_tileset(gltf, buffer, fout, measure) File " gltf-to-3d-tiles-main\gltf_to_tileset.py", line 72, in gltf_to_tileset gltf_slicer = Slicer(gltf, buffer=buffer) File " gltf-to-3d-tiles-main\gltf\slicer.py", line 14, in init for image in self.images: TypeError: 'NoneType' object is not iterable
fixed by commit ee0d11ace7d2bf30fafb5be18d1500f4bb566709
Why is it still a bug today? i need you help
Execute the command: python .\main.py tileset demo.gltf d:\3dtiles\ or use command: python .\main.py tileset demo.gltf d:\3dtiles\tileset.json ???
Traceback (most recent call last):
File " \gltf-to-3d-tiles-main\main.py", line 107, in
fixed by commit 0ac3b0ccb0974294b5dc7da4dc364979c2ecd170
Execute the command: python .\main.py glb demo.gltf demo.glb prompts the following error,how to fix?
Traceback (most recent call last): File "\gltf-to-3d-tiles-main\main.py", line 104, in
app()
File " \lib\site-packages\typer\main.py", line 214, in call
return get_command(self)(*args, kwargs)
File " \lib\site-packages\click\core.py", line 1128, in call
return self.main(args, kwargs)
File " \lib\site-packages\click\core.py", line 1053, in main
rv = self.invoke(ctx)
File " \lib\site-packages\click\core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File " \lib\site-packages\click\core.py", line 1395, in invoke
return ctx.invoke(self.callback, ctx.params)
File " \lib\site-packages\click\core.py", line 754, in invoke
return __callback(args, kwargs)
File " \lib\site-packages\typer\main.py", line 500, in wrapper
return callback(**use_params) # type: ignore
File " \gltf-to-3d-tiles-main\main.py", line 85, in glb
copy_textures(fin, fout, gltf.images)
File " \gltf-to-3d-tiles-main\main.py", line 50, in copy_textures
for image in images:
TypeError: 'NoneType' object is not iterable