I try to generate some 3D Tiles and using in the Cesium.I found that the model was rotated with X axis.
Then I find the way to solve it:https://jishuzhan.net/article/2000851773154721793
Shortly,the problem is when trans big model to tiles,the transfer tool didn't align Y axis to Z axis.Is this situation was a problem? Will any plan to fix it?
Sovled plan:
Now output params:
system.run('Obj2Tiles "{input}" "{output}" --divisions {divisions} --lat {lat} --lon {lon} --alt {alt} '.format(**kwargs))
Fix params
system.run('Obj2Tiles "{input}" "{output}" --divisions {divisions} --lat {lat} --lon {lon} --alt {alt}'.format(**kwargs) + ' --y-up-to-z-up')
Just add --y-up-to-z-up to the end of the parameters in /code/opendm/ogctiles.py can fix it.
I try to generate some 3D Tiles and using in the Cesium.I found that the model was rotated with X axis.
Then I find the way to solve it:https://jishuzhan.net/article/2000851773154721793
Shortly,the problem is when trans big model to tiles,the transfer tool didn't align Y axis to Z axis.Is this situation was a problem? Will any plan to fix it?
Sovled plan:
Now output params:
system.run('Obj2Tiles "{input}" "{output}" --divisions {divisions} --lat {lat} --lon {lon} --alt {alt} '.format(**kwargs))Fix params
system.run('Obj2Tiles "{input}" "{output}" --divisions {divisions} --lat {lat} --lon {lon} --alt {alt}'.format(**kwargs) + ' --y-up-to-z-up')Just add
--y-up-to-z-upto the end of the parameters in/code/opendm/ogctiles.pycan fix it.