Added disable/enable render per node
Added disable/enable render per node. This should enable changing weapons or other simple attachments to a model. One method for a weapon for example would be to have multiple different weapons on the model, but only 'enable' the render for the weapon node that is active or equipped and disable the other weapon nodes.
Only nodes with meshes will be affected. Enabling/disabling nodes without meshes will currently have no effect (e.g. parent nodes with children nodes).
Currently, only the render GPU performance will be impacted by disabling a node (and its mesh). In the future, if this new feature proves to be useful (please give feedback), I will also look at reducing other CPU costs per disabled node (e.g. reducing animation processing for disabled nodes.)
Files
Get Construct 3 3DObject Plugin
Construct 3 3DObject Plugin
Construct 3 3DObject, loaded from 3D model files (gltf embedded format)
Status | Released |
Category | Assets |
Author | kindeyegames |
Tags | 3D, construct, construct-3 |
More posts
- fix (accessors) add support for sparse accessors in gltf8 hours ago
- Fix (node-disable) fix node disable without skinned node20 days ago
- fix (node-disable) regression26 days ago
- Fix (playable Ad)38 days ago
- fix (worker) correct animation blend for worker (translation)55 days ago
- fix (opacity)61 days ago
- add (sample) sample gpu-skin with phong light74 days ago
- fix (gpu-skinning) fix regression for worker mode74 days ago
- fix (light) fix for simple phong orientation75 days ago
- Add simple phong lighting support75 days ago
Comments
Log in with itch.io to leave a comment.
Hi, can you put an exemple for construct 3 and the model in fbx so I cant figure how to structure this in blender plz thx, plz so I can figure how to do it with blender, I cant fix
Example project here, I do not have an fbx for it, but you can download the gltf and import it into blender, if you want to examine it.
https://kindeyegames.itch.io/c3-3dobject-alpha/devlog/469570/example-node-enable...
Thank you really much!
But it seems the file is corrupted, I cant open it in construct 3 (317.2 stable)
You might need to use the latest version of the 3DObject addon also, can you try that?
I have the 3DObject addon 2.34.1
exemples that doesnt work for me
3DObjectNodeDisable.c3p
PrefabDemo-02.c3p
this is the message I got
"Failed to open project. Check it is a valid Construct 3 single-file (.c3p) project."
Ah, these projects are saved in later beta versions, I use: https://editor.construct.net/r323/
I get it in the GLBExample-2-14-1, thx.