rdeioris / gltfruntime-docs Goto Github PK
View Code? Open in Web Editor NEWOfficial Documentation for the glTFRuntime Unreal Engine Plugin
License: MIT License
Official Documentation for the glTFRuntime Unreal Engine Plugin
License: MIT License
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!
Invalid model binding click event after dynamic loading
I'm trying to put collision on my model, my model has many nodes, and I don't know how to put the model in the outer, since I've tried many things and it always crashes.
Blueprint: https://blueprintue.com/blueprint/dz_072p0/
I would like to know the difference between these two methods. The glb I loaded in UE cannot be played. Can you provide a screenshot of the blueprint,
I found that this glb has been parsed as nodeAnimation, but it cannot be played no matter what
Soldier.zip
Hello,
We need some documentation on how to use the save to package feature.
Best,
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.
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.
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.
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.
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?
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.
thanks for work,can your add support runtime load camera from gltf?thanks
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
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.
[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
I buyed this plugins ,but i dont know how to use in my work. I DownLoad some gltf from Sketch.com or Export from UE4, then
Called glTFLoadAssetfromFileName failed. here is the Error: LoadPrimitive(): Unable to load POSITION attribute.
Why the loaded model has more vertices than the original model
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.