VCityTeam / py3dtilers

Tilers accepting various input formats (OBJ, 3DCity databases, GeoJson, IFC) and producing 3DTiles tilesets.
Other
188 stars 51 forks source link

ObjTiler : --as_lods does not respect --with_texture #182

Open axel-denis opened 6 months ago

axel-denis commented 6 months ago

Hi, I'm struggling to create tiles with textures. If using this command, the texture is generated properly :

$ obj-tiler -i lods_folder/cube_LOD0.obj -o output/ --with_texture --quality 75 --compress_level 4

$ tree /.../output/
├── tiles
│   ├── 0.b3dm
│   └── ATLAS_0.jpg
└── tileset.json

But when using --as_lods, the texture are not generated

$ obj-tiler -i lods_folder/ --as_lods -o output/ --with_texture --quality 75 --compress_level 4

$ tree /.../output/
├── tiles
│   ├── 0.b3dm
│   └── 1.b3dm
└── tileset.json

Am I doing something wrong ? Or is this expected ? How can I generate textures for my tiles ? Thanks !