Add dynamic material (change, load texture to mesh at runtime)
Construct 3 3DObject Plugin » Devlog
Add aces for runtime Load material (load texture from png), Set mesh to material (set mesh to texture), Delete material (delete dynamic loaded material/texture).
See the example 3DGLBLoadMaterial.c3p for usage.
Add Set origin x/y (to center bounding box in x and y as needed.)
Recommendations:
- Keep textures small
- When designing models, dedicate a single texture map to meshes that will change the texture (e.g. a face with expressions). In this case it can be a good idea to have multiple textures per model.
Also contains a rotation animation fix for unskinned nodes.
To see what meshes and materials are available, examine your model using https://sandbox.babylonjs.com/
Files
3DObject-2-17-0.c3addon 53 kB
Feb 15, 2022
3DGLBLoadMaterial.c3p 1.7 MB
Feb 15, 2022
Get Construct 3 3DObject Plugin
Download NowName your own price
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 (perf) target to, improve perf - do not force animation28 days ago
- fix (file) corrupted file upload28 days ago
- Feat (rotation) add target to ACE (rotate to face target)28 days ago
- Feat (bones) update to support for 64 bones32 days ago
- 3DObject showcase: Syder Studios55 days ago
- Add 3D Effects affine texture support (PS1 retro)59 days ago
- fix (addon) fix corrupted addon76 days ago
- fix (accessors) add support for sparse accessors in gltf76 days ago
- Fix (node-disable) fix node disable without skinned node97 days ago
- fix (node-disable) regressionOct 09, 2024
Comments
Log in with itch.io to leave a comment.
Does this work with the latest release? Also, do you happen to know of a project or video that uses this? I would love to see a practical example of this working in a game!
It works in the latest release, using node name, not mesh name. I know others have requested this for their game, but have not seen it in action yet, besides the included example.
Love this!!!!!! Thank you!! That's exacly what I needed!
You are welcome, happy deving, I would be interested to see what you are doing with this feature.