OpenDroneMap / OpenDroneMap/NodeODM

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

Open Beginner friendly
#266 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
301
Forks
176
Avg merge
1d 2h
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in /code/opendm/ogctiles.py and inspect the Obj2Tiles command assembled through system.run. Confirm how the y-up-to-z-up option is passed, then generate a sample 3D Tiles set and verify in Cesium that the model is no longer rotated around the X axis.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.