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

3DObject-2-25-0.c3addon
May 05, 2022

Get Construct 3 3DObject Plugin

Download NowName your own price

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...

(1 edit)

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.