You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there,
im developed a gltf schema and now wanted to use blender to export tgat schema. (swithc away from our current export program)
The development for the schema is in a kinda advanced state and also used in a productive manner, so changing it is not really an option here.
Just a little background information:
A Exporter in another tool writes the extension already and its working fairly well.
As this little dump hopefully shows - im keeping the information outside to the "real" 3d data and the scene itself (yes we could maybe have written the data to the node itself, but that was not an option to us - we wanted to hold the data completely seperat).
Im currently writing the addon to be able to configure (and export) the schema inside blender and im asking myself the question, how would i find the logical index of the node, to be able to write it to the extension via the hooks provided here:
I debugged already all of the parameters of the hooks function within VS Code, but i cant seem to find a way to access the Nodes Index, the root its attached to or anything relatated to the whole GLTF model.
I am now assuming that the gltf2_node which is passed to the "gather_node_hook" function is currently in a "building" state and has not been added to the Root Tree?
So my questions are:
How can i access the nodes Logical Index (which position the Node is in the Nodes array)?
Is there a way for me to create Nodes "adhoc" inside that function?
Is there a way to access the parent node?
if none of the above is possible, do you have possible solutions for this?
Thanks in advance and im looking forward to some ideas!
Greetings
The text was updated successfully, but these errors were encountered:
Hey there,
im developed a gltf schema and now wanted to use blender to export tgat schema. (swithc away from our current export program)
The development for the schema is in a kinda advanced state and also used in a productive manner, so changing it is not really an option here.
Just a little background information:
A Exporter in another tool writes the extension already and its working fairly well.
As this little dump hopefully shows - im keeping the information outside to the "real" 3d data and the scene itself (yes we could maybe have written the data to the node itself, but that was not an option to us - we wanted to hold the data completely seperat).
Im currently writing the addon to be able to configure (and export) the schema inside blender and im asking myself the question, how would i find the logical index of the node, to be able to write it to the extension via the hooks provided here:
glTF-Blender-IO/example-addons/example_gltf_exporter_extension/readme.md
Line 34 in 9a898ec
I debugged already all of the parameters of the hooks function within VS Code, but i cant seem to find a way to access the Nodes Index, the root its attached to or anything relatated to the whole GLTF model.
I am now assuming that the gltf2_node which is passed to the "gather_node_hook" function is currently in a "building" state and has not been added to the Root Tree?
So my questions are:
Thanks in advance and im looking forward to some ideas!
Greetings
The text was updated successfully, but these errors were encountered: