Giter Club home page Giter Club logo

Comments (2)

turanszkij avatar turanszkij commented on August 16, 2024

Hi, this is supposed to work. However, there are some corner cases that you might hit. The wiscene models don't store textures within themselves, but relative paths to textures instead. If you load the gltf model, and save it, you must ensure that the texture directory structure remains the same as it was relative to the gltf file.

  • Are you saving the wiscene in the same directory where the gltf file is?
  • Did you modify any textures on the model before saving?
  • There are some bundled gltf files in the models directory (DamagedHelmet, CesiumMan, BusterDrone), can you load and save those models successfully? These models were verified specifically with the editor and should be fully usable.
  • If you are loading binary gltf version (.glb), textures will be unpacked from the glb file and written to the directory as png where the glb file was loaded from. The wiscene will contain references to those png textures, so make sure you have those textures available near the wiscene file.

Let me know if those suggestions don't work. Thanks for testing!

from wickedengine.

Giacom avatar Giacom commented on August 16, 2024

Yes you are right, the wiscene file had to be in the same directory as the glTF file. I thought it packed everything in the file.

Thanks for explaining how the importer works, I'll keep that in mind next time.

from wickedengine.

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.