Obj2Tiles icon indicating copy to clipboard operation
Obj2Tiles copied to clipboard

No files generated

Open wangdemon opened this issue 3 years ago • 10 comments
trafficstars

1 2 3

wangdemon avatar Oct 26 '22 08:10 wangdemon

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

HeDo88TH avatar Oct 26 '22 08:10 HeDo88TH

The model file

OfficePlan.zip

1

wangdemon avatar Oct 26 '22 08:10 wangdemon

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 avatar Oct 26 '22 09:10 wangdemon

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 avatar Oct 27 '22 07:10 wangdemon

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 avatar Oct 28 '22 01:10 wangdemon

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

wangdemon avatar Oct 28 '22 08:10 wangdemon

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

wangdemon avatar Oct 31 '22 09:10 wangdemon

Hello, has the problem been solved?

Vintamin avatar Dec 03 '22 12:12 Vintamin

Hello, has the problem been solved?

This is OSS, all help is welcome!

HeDo88TH avatar Dec 03 '22 13:12 HeDo88TH

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?

jingyangking avatar Apr 11 '24 02:04 jingyangking