Git Product home page Git Product logo

gltfruntime-docs's People

Contributors

pomettini avatar rdeioris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gltfruntime-docs's Issues

Adding and exposing user metadata in glTF

Hi @rdeioris, I'd like to ask for advice on the best way to inject user data into a gltf file and have that accessible within UE.

My intention is to add metadata to a node, or perhaps even a mesh:

E.g.

"nodes": [
        {
            "mesh": 0,
            "name": "Hose_low",
            "userdata": "A<<B"
        },
...
"meshes": [
        {
            "primitives": [
                {
                    "attributes": {
                        "POSITION": 1,
                        "TANGENT": 2,
                        "NORMAL": 3,
                        "TEXCOORD_0": 4
                    },
                    "indices": 0,
                    "material": 0,
                    "userdata": "A<<B"
                }
            ],

In either situation, I was thinking that perhaps it would be exposed in Component Tags?

Is this possible right now? Or perhaps there is another way of doing it?

Thank you!

Click Event

Invalid model binding click event after dynamic loading

glTFRuntimeParserStaticMeshes compile error in UE4.27

Hi team,
First of all, many thanks to your glTFRuntime plugin.

Recently, I downloaded and tried compiling it in Unreal Engine 4.27.

It has compile error in glTFRuntimeParserStaticMeshes.cpp and I moved error line:
VertexInstanceUVs.SetNumChannels(NumUVs);
into ENGINE_MAJOR_VERSION > 4 macro block.

Please patch this one line code fix.
glTFRuntimeParserStaticMeshes cpp

By the way, I am a C++ developer in 3D graphics engine, but a newbie using GIT (github).
I uploaded my project using glTFRuntime. https://github.com/odyssey2010/unreal_gltf_runtime_scene
If any question, please contact me [email protected]

Thanks and Best regards.

skeletal issue

I have two characters with identical skeletal structures. When importing using the plugin, I chose the skeleton that was already imported into Unreal Engine for one of the characters, and it successfully loaded the character. However, the animation blueprint that was created with that skeleton in UE is unable to drive the SkeletalMesh that was imported by the plugin.

Replace the head between two ReadyplayerMe

is it possible to Replace the head between two ReadyplayerMe model by glfTFruntime? without changing skeleton assert and blendshape.

As far as I know, ReadyplayerMe model is combined by several parts, including head, hat, cloth, etch.
now I want to load model separately. I want to use first model‘s body and second model's head.

Khronos glTF-Sample-Models BrainStem renders improperly

Hi, I just a new beginner on your glTFRuntime plugin(a great project for me at least). I tried a lot of models with it, then I found this one 'BrainStem' its materials can't be rendered properly and I can't find why. Could you help to look at it?

image

BrainStem model url: https://github.com/KhronosGroup/glTF-Sample-Models/raw/main/2.0/BrainStem/glTF-Binary/BrainStem.glb

BTW, Can you consider to add some smoke tests or sanity tests at least covering all these Khronos sample models?

Thanks.

Complex Collisions Don't Work

On loading Static Mesh from gltf asset i check the "allowCPUaccess", "Build Complex Collision", and "Use Complex Collision As Simple" options. My Line Traces go straight through. If i also check the "Build Simple Collision" it starts to use this simple inaccurate collision even though "Use Complex Collision As Simple" is still enabled. Screenshots Attached. Thanks in advance
image
image

Need a better way of finding example materials

Even when including glTFRuntime in additional asset directories to cook, the materials are not always found. Instead of hard pathing to the directory of the plugin the materials, they should probably be registered with the asset manager or something.

image

[2021.09.09-15.03.00:991][723]LogStreaming: Display: FlushAsyncLoading: 1 QueuedPackages, 0 AsyncPackages [2021.09.09-15.03.00:991][723]LogStreaming: Error: Couldn't find file for package /glTFRuntime/M_glTFRuntimeBase requested by async loading code. NameToLoad: /glTFRuntime/M_glTFRuntimeBase [2021.09.09-15.03.00:991][723]LogStreaming: Error: Found 0 dependent packages... [2021.09.09-15.03.00:991][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntimeBase' [2021.09.09-15.03.00:991][723]LogStreaming: Error: Couldn't find file for package /glTFRuntime/M_glTFRuntimeTranslucent_Inst requested by async loading code. NameToLoad: /glTFRuntime/M_glTFRuntimeTranslucent_Inst [2021.09.09-15.03.00:991][723]LogStreaming: Error: Found 0 dependent packages... [2021.09.09-15.03.00:992][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntimeTranslucent_Inst' [2021.09.09-15.03.00:992][723]LogStreaming: Error: Couldn't find file for package /glTFRuntime/M_glTFRuntimeTwoSided_Inst requested by async loading code. NameToLoad: /glTFRuntime/M_glTFRuntimeTwoSided_Inst [2021.09.09-15.03.00:992][723]LogStreaming: Error: Found 0 dependent packages... [2021.09.09-15.03.00:992][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntimeTwoSided_Inst' [2021.09.09-15.03.00:992][723]LogStreaming: Error: Couldn't find file for package /glTFRuntime/M_glTFRuntimeTwoSidedTranslucent_Inst requested by async loading code. NameToLoad: /glTFRuntime/M_glTFRuntimeTwoSidedTranslucent_Inst [2021.09.09-15.03.00:992][723]LogStreaming: Error: Found 0 dependent packages... [2021.09.09-15.03.00:992][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntimeTwoSidedTranslucent_Inst' [2021.09.09-15.03.00:992][723]LogStreaming: Error: Couldn't find file for package /glTFRuntime/M_glTFRuntime_SG_Base requested by async loading code. NameToLoad: /glTFRuntime/M_glTFRuntime_SG_Base [2021.09.09-15.03.00:992][723]LogStreaming: Error: Found 0 dependent packages... [2021.09.09-15.03.00:992][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntime_SG_Base' [2021.09.09-15.03.00:992][723]LogStreaming: Error: Couldn't find file for package /glTFRuntime/M_glTFRuntime_SG_Translucent_Inst requested by async loading code. NameToLoad: /glTFRuntime/M_glTFRuntime_SG_Translucent_Inst [2021.09.09-15.03.00:992][723]LogStreaming: Error: Found 0 dependent packages... [2021.09.09-15.03.00:992][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntime_SG_Translucent_Inst' [2021.09.09-15.03.00:992][723]LogStreaming: Error: Couldn't find file for package /glTFRuntime/M_glTFRuntime_SG_TwoSided_Inst requested by async loading code. NameToLoad: /glTFRuntime/M_glTFRuntime_SG_TwoSided_Inst [2021.09.09-15.03.00:992][723]LogStreaming: Error: Found 0 dependent packages... [2021.09.09-15.03.00:992][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntime_SG_TwoSided_Inst' [2021.09.09-15.03.00:992][723]LogStreaming: Error: Couldn't find file for package /glTFRuntime/M_glTFRuntime_SG_TwoSidedTranslucent_Inst requested by async loading code. NameToLoad: /glTFRuntime/M_glTFRuntime_SG_TwoSidedTranslucent_Inst [2021.09.09-15.03.00:992][723]LogStreaming: Error: Found 0 dependent packages... [2021.09.09-15.03.00:992][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntime_SG_TwoSidedTranslucent_Inst' [2021.09.09-15.03.00:995][723]LogGLTFRuntime: Error: LoadMaterial(): Unable to load material 0 [2021.09.09-15.03.00:998][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntimeBase' [2021.09.09-15.03.00:998][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntimeTranslucent_Inst' [2021.09.09-15.03.00:998][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntimeTwoSided_Inst' [2021.09.09-15.03.00:998][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntimeTwoSidedTranslucent_Inst' [2021.09.09-15.03.00:998][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntime_SG_Base' [2021.09.09-15.03.00:998][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntime_SG_Translucent_Inst' [2021.09.09-15.03.00:998][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntime_SG_TwoSided_Inst' [2021.09.09-15.03.00:998][723]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntime_SG_TwoSidedTranslucent_Inst' [2021.09.09-15.03.01:001][723]LogGLTFRuntime: Error: LoadMaterial(): Unable to load material 0 [2021.09.09-15.03.01:005][724]LogStreaming: Display: FlushAsyncLoading: 1 QueuedPackages, 0 AsyncPackages [2021.09.09-15.03.01:005][724]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntimeBase' [2021.09.09-15.03.01:006][724]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntimeTranslucent_Inst' [2021.09.09-15.03.01:006][724]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntimeTwoSided_Inst' [2021.09.09-15.03.01:006][724]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntimeTwoSidedTranslucent_Inst' [2021.09.09-15.03.01:006][724]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntime_SG_Base' [2021.09.09-15.03.01:006][724]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntime_SG_Translucent_Inst' [2021.09.09-15.03.01:006][724]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntime_SG_TwoSided_Inst' [2021.09.09-15.03.01:006][724]LogUObjectGlobals: Warning: Failed to find object 'MaterialInterface None./glTFRuntime/M_glTFRuntime_SG_TwoSidedTranslucent_Inst' [2021.09.09-15.03.01:009][724]LogGLTFRuntime: Error: LoadMaterial(): Unable to load material 0

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.