PrincessGod / objTo3d-tiles

Convert obj model file to 3d tiles
https://princessgod.github.io/objTo3d-tiles
Apache License 2.0
792 stars 236 forks source link

Vertical orientation #42

Open Abelon38 opened 3 years ago

Abelon38 commented 3 years ago

Hi !

First of all thanks for a great software!

I am having problems with conveting mesh .obj from my drone. The resultant tileset get a vertical direction. Does somebody know what is going on with this issue? image

Regards! Abel

senlinyudao commented 2 years ago

In cesium, 3D tiles and gltf take + y as the upward axis, while obj uses + Z as the upward axis. You can add "gltfUpAxis": "Z" in customTilesetOptions.json

sweco-seabgo commented 2 years ago

Thanks a lot ! I will try it later today.

Have a great day! Abel