Skip to content

3D Tiles y-up-to-z-up #266

@WangHan2014

Description

@WangHan2014

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions