Forum

Author Topic: Trouble exporting texture to Meshlab  (Read 5307 times)

William Ringle

  • Newbie
  • *
  • Posts: 42
    • View Profile
Trouble exporting texture to Meshlab
« on: March 21, 2016, 04:38:19 PM »
This may be more a Meshlab than Photoscan issue, but several times recently when I export an .obj model from Photoscan, when I import it into Meshlab, the texture will not import. The Meshlab message says:

Error encountered while loading file (xxx.obj).

Error details: Some materials definitions were not found , a default white material is used where no material was available.

The texture .jpg is in fact in the same folder, and I sometimes have models whose texture loads just fine.

As indicated, only the shaded mesh imports. I have tried clicking the UDIM option on and off when exporting, and fixing the topology of the mesh as well. Same result.

Any ideas?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: Trouble exporting texture to Meshlab
« Reply #1 on: March 21, 2016, 04:58:16 PM »
Hello William,

What's the size and resolution of the texture atlas? Also is the texture/model filename is shorter than eight symbols?
Best regards,
Alexey Pasumansky,
Agisoft LLC

William Ringle

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: Trouble exporting texture to Meshlab
« Reply #2 on: March 21, 2016, 05:04:43 PM »
As usual, thanks for the excellent user service, Alexey. I had tried both 4096 and 8192 without success. BUT when I just exported it as a 5-letter file name, bingo, it worked. So thanks for that! Hadn't noticed that limitation in Meshlab.