OpenDroneMap / Obj2Tiles

Converts OBJ files to OGC 3D tiles by performing splitting, decimation and conversion
GNU Affero General Public License v3.0
196 stars 58 forks source link

Exception: Invalid texture coordinates #55

Open skorashy opened 9 months ago

skorashy commented 9 months ago

First of all, thank you for taking the time to report an issue.

Before you continue, make sure you are in the right place. Please open an issue only to report faults and bugs. For questions and discussion please open a topic on http://community.opendronemap.org/c/opendronemap.

Please use the format below to report bugs and faults.


What is the problem?

I am getting the following exception: !> Exception: Invalid texture coordinates: (11.415483; 8.501141)

The above exception is thrown when trying to run Obj2Tile for an OBJ file exported from Blender. The conversion works well if I disabled UV Coordinates when exporting the file but nothing shows up when I view the exported tileset in Cesium!

What should be the expected behavior?

I expect the tileset to be generated successfully and is displayed correctly in CesiumJS.

How can we reproduce this? THIS IS IMPORTANT. What steps did you do to trigger the problem? If this is an issue with processing a model, YOU MUST include a copy of your model uploaded on Google Drive or Dropbox (otherwise we cannot reproduce this) along with the command line parameters you used to process it.

Command line params: ./Obj2Tiles ./FixedTexture.obj output-dir --lat 25.33263 --lon 51.18725 --alt 126

Copy of model: https://drive.google.com/drive/folders/1zszbKmMWngQVSwma7Dy_IfYAsfHPB-TX?usp=sharing

phoenixbf commented 6 months ago

I suppose related to: https://github.com/OpenDroneMap/Obj2Tiles/issues/35