Menu

When I import OBJ, no I get texture error code

Help
2018-09-10
2021-03-16
  • Jeff Helton

    Jeff Helton - 2018-09-10

    So I import an OBJ that has a texture mapped to it and Meshlab always gives me an error (Failure loading textures). I have tried everything I know, made sure the OBJ and texture file are in the same folder, the MTL file has the correct path. What do I need to do in order to see the OBJ textures appear?

    Thanks

     
    • Ilvis Faulbaums

      Ilvis Faulbaums - 2021-01-29

      Hi Jeff, I had same problem. Found solution:
      Filters -> Texture -> Set Texture -> Texture file "YourTextureFileFromCurrentDirectory.png"; Texture Dimension(px) "LastSavedDimension" - > Apply -> Close!!!

      (note, it could take some time, maybe if some cases if the file is very huge program can crash, but You can edit settings also how to avoid this: Tools-> Settings -> MeshLab::System::maxGPUMemDedicatedToGeometry "3500" it worked in my case)

      Texture must be a .png file and texture dimesion must be last greatest quality You saved (in my case it was 8192, it took time to load, but I had luck!)
      Texture Dimension You can see also if You click on the texture properties with right mouse button (Properties - > Details (Dimensions)).

      I even renamed the .MTL file to something else and it runned without it.

       

      Last edit: Ilvis Faulbaums 2021-01-29
      • Anabel Jenkins

        Anabel Jenkins - 2021-03-14

        Thanks for this solution, Ilvis! I was finally able to import the OBJ file without any problems. Thanks again.

         
        • Ilvis Faulbaums

          Ilvis Faulbaums - 2021-03-16

          You're welcome!

           
  • Jeff Helton

    Jeff Helton - 2018-09-12

    Seriously? Nobody can help?

     
  • Jeff Helton

    Jeff Helton - 2018-09-24

    Thanks for response Lars. Yes, it imports into 3DS Max no problems. The OBJ, MTL and image files are all in the same folder.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.