Git Product home page Git Product logo

Comments (3)

mgsx-dev avatar mgsx-dev commented on May 8, 2024

Also some other classes was named pretty badly. Since there are not tight coupled to the GLTF format, it doesn't make sense to prefix them with GLTF, the idea would be to use a common suffix for them. Best candidate so far would be "Ex" as in "Extended".

problematic classes :

  • AnimationControllerHack, NodeAnimationHack and ModelInstanceHack add supports for morphTarget and new keyframe interpolations.
  • NodePlus and NodePartPlus add supports for morphTarget.
  • DirectionalLightEx, supports intensity.
  • PointLightEx and SpotLightEx have a range.
  • DirectionalShadowLight is the core DirectionalShadowLight version of DirectionalLightEx.

from gdx-gltf.

cosmicdan avatar cosmicdan commented on May 8, 2024

As a newbie to 3D game design, I was confused only by the "Scene" class name. I've instead just made my own class named "SceneModelInstance" that wraps it, but I read that a Scene can have multiple models. Is that a GLTF thing, or is it actually possible to put multiple GLTF's into one model instance?

from gdx-gltf.

mgsx-dev avatar mgsx-dev commented on May 8, 2024

Thing is, the Scene class is more than a ModelInstance wrapper, it also wraps an AnimationController, lights, and cameras. The term "scene" indeed comes from GLTF format specification. A GLTF file can have several scenes, it typically only contains one scene though. Also, you're free to merge several Scene's into one, the same way you can merge several ModelInstances.

from gdx-gltf.

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.