Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obj2Tiles tiles generating without texture. #36

Open
ArianisCA opened this issue Dec 30, 2022 · 2 comments
Open

Obj2Tiles tiles generating without texture. #36

ArianisCA opened this issue Dec 30, 2022 · 2 comments
Labels
help wanted Extra attention is needed possible bug

Comments

@ArianisCA
Copy link

What is the problem?

Hello, the project ran great but the problem is that when running the model the tiles are getting generated without texture.
See output below:
image

What should be the expected behavior?

The expected behaviour should be a model with texture.
See expected output below:
image

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.

Link to download: https://www.dropbox.com/s/w5ndp7emp9cvhxl/Test_DamInspection.zip?dl=0

The command that was ran to build the tiles was: Obj2Tiles c:\objtest\Test_DamInspection.obj .\output
I also tried running it using the --keeptextures flag.

@pierotofy pierotofy added help wanted Extra attention is needed possible bug labels Jan 7, 2023
@SariusRu
Copy link

You are not defining any textures in your .mtl-file.
You need to export the model in a way that the mtl-file maps to a texture, otherwise it cannot work (see the example obj-file here )

@libofei2004
Copy link

@SariusRu Can defining textures be a automation process? How to generate a mtl-file maps to a texture?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed possible bug
Projects
None yet
Development

No branches or pull requests

4 participants