Comments (5)
fixed by commit 895d129
from gltf-to-3d-tiles.
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
from gltf-to-3d-tiles.
fixed by commit ee0d11a
from gltf-to-3d-tiles.
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
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 73, in tileset
gltf_to_tileset(gltf, buffer, fout, measure)
File " \gltf-to-3d-tiles-main\gltf_to_tileset.py", line 74, in gltf_to_tileset
tiles = list(map(lambda id: Tile(content_id=id, instance_box=gltf_slicer.get_bounding_box(
File " \gltf-to-3d-tiles-main\gltf_to_tileset.py", line 75, in
id), instances_matrices=gltf_slicer.get_matrices(id), matrix=Matrix4(), gltf=gltf_slicer.slice_mesh(id).as_bytes(), extras=gltf_slicer.get_extras(id)), range(gltf_slicer.meshes_count)))
File " \gltf-to-3d-tiles-main\gltf\slicer.py", line 68, in slice_mesh
return self.slice_primitives(self.meshes[mesh_id].primitives)
File " \gltf-to-3d-tiles-main\gltf\slicer.py", line 55, in slice_primitives
buffer_views=self.__get_buffer_views(buffer_view_indices), materials=self.__get_materials(material_indices, image_indices), textures=self.__get_textures(len(image_indices)), images=self.__get_images(image_indices))
File " \gltf-to-3d-tiles-main\gltf\slicer.py", line 61, in __get_textures
return self.textures[:count]
TypeError: 'NoneType' object is not subscriptable
from gltf-to-3d-tiles.
fixed by commit 0ac3b0c
from gltf-to-3d-tiles.
Related Issues (20)
- read_gltf HOT 7
- Assign latitude/longitude ? HOT 1
- AttributeError: 'NoneType' object has no attribute 'replace' HOT 1
- Tiles from GLTF missing texture HOT 6
- Specify adjustment transform HOT 1
- Generated tileset is incorrect HOT 1
- simple model: too many operations HOT 2
- Can you provide a valid file? HOT 1
- 转换gltf to 3dtils 报错,请问怎么处理 HOT 2
- AttributeError: 'NoneType' object has no attribute 'as_dict' HOT 1
- Error converting glb files to 3d tiles HOT 2
- gltf to 3d tiiles error message zsh: killed python main.py tileset HOT 1
- How to add geospatial information (latitude, longitude, and elevation) to 3D Tiles?
- It appears that there might be a bug in the Slicer class.
- Model's output tileset was rotated sideways?
- tiles set values incorrect
- Big memory usage HOT 1
- Option to not apply z-up to y-up transformations HOT 1
- Default to First Scene if None HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gltf-to-3d-tiles.