Code Monkey home page Code Monkey logo

Comments (5)

zellski avatar zellski commented on September 20, 2024

Yeah, this is entirely my fault. When a texture fails to resolve (the FBX points to an image file that doesn't exist / the program can't locate) it substitutes a tiny transparent hard-coded image instead. For some reason I chose a transparent GIF. I have a commit pending that makes it a PNG... that will be in the next release.

Meanwhile, can you try running with the --verbose flag and see what the textures are that it looks for and maybe there's some clues in the output why it can't find them?

from fbx2gltf.

mttcrtr avatar mttcrtr commented on September 20, 2024

Hi Zellski, I've actually just now been able to get this working by exporting an FBX with the embed media option checked, but I will try running with the verbose flag and see if that gives me any more clue as to why this wasn't working before. Thanks for the help and info about the update!

from fbx2gltf.

zellski avatar zellski commented on September 20, 2024

Great, thanks! Embedded is always the safest, because then the FBX SDK is 100% certain to find the textures. When the texture images are separate files, each filename that's in the FBX has to match exactly with what's in the folder next to the .fbx...

I'm closing this now, but thanks for the reminder that GIF is an idiotic thing to embed in a glTF file, and please let me know if there are other issues.

from fbx2gltf.

zellski avatar zellski commented on September 20, 2024

Fixed in #74 fwiw :)

from fbx2gltf.

mttcrtr avatar mttcrtr commented on September 20, 2024

Awesome, thank you for the incredible quick turnaround on this! :)

from fbx2gltf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.