Obj2Tiles icon indicating copy to clipboard operation
Obj2Tiles copied to clipboard

Obj2Tiles tiles generating without texture.

Open ArianisCA opened this issue 3 years ago • 2 comments

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.

ArianisCA avatar Dec 30 '22 14:12 ArianisCA

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 )

SariusRu avatar Jan 27 '23 20:01 SariusRu

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

libofei2004 avatar Sep 24 '24 05:09 libofei2004