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

No files generated #27

Open wangdemon opened 1 year ago

wangdemon commented 1 year ago

1 2 3

HeDo88TH commented 1 year ago

There is something wrong with the input files. Can you share them?

wangdemon commented 1 year ago

The model file

OfficePlan.zip

1

wangdemon commented 1 year ago

Here is another model. After the conversion, the texture is lost.

the model file

house.001.zip house.002.zip house.003.zip house.004.zip

Due to the limitation of uploading files, I compressed the model and renamed it. After downloading the model, you need to change the name of the model and unzip it. 3

Original model:

1

Converted model:

1

wangdemon commented 1 year ago

If the model fails to convert, it should be caused by texture. I use 3dsmax to export the model to obj format, remove the texture, and convert the model to 3dtiles. The conversion is successful.

wangdemon commented 1 year ago

It was verified again today that the UV coordinate cannot exceed the range of 0~1, otherwise, a texture coordinate error will be reported. Here is the test model: model.zip

1

wangdemon commented 1 year ago

Some models will lose texture after successful conversion. For example, this will happen to the above 01.obj model

wangdemon commented 1 year ago

When I set the value of --divisions to 3, no json file is generated, but the model file is generated. 1 2

Vintamin commented 1 year ago

Hello, has the problem been solved?

HeDo88TH commented 1 year ago

Hello, has the problem been solved?

This is OSS, all help is welcome!

jingyangking commented 2 months ago

It was verified again today that the UV coordinate cannot exceed the range of 0~1, otherwise, a texture coordinate error will be reported. Here is the test model: model.zip

1

I also encountered the same problem, it seems that as long as the parameters in the texture are outside the range of [0,1], tiles cannot be generated normally. So how do we determine in advance whether there are parameters outside this range in the texture? How can I make modifications? Have you resolved the above issue?