Holiday Gift - Experimental Worker Animation!
Version 2.34.0 includes a new property for 3DObject - worker animation! Now the CPU work for animating complex models can be done on a separate thread/CPU from the main C3 runtime thread, allowing for more complex models to be animated while keeps a nice 60fps.
This is an experimental feature, so please give feedback on how it works in your case.
Current recommendations for animation worker mode:
- Only enable for 3DObject models which are higher poly count (500+ polygons)
- Only enable for animated models
- Use a lower frame rate for the animation (e.g. 30fps, 20 fps)
- Set animation rate after model is loaded, using the on loaded ACE
In one example on a desktop PC, I can get 2-3X more models animating at 60fps when using worker animation, compared to not using worker animation.
Happy Holidays!
Files
3DObject-2-34-0.c3addon 98 kB
Dec 24, 2022
Get Construct 3 3DObject Plugin - SDK V1 only
Download NowName your own price
Construct 3 3DObject Plugin - SDK V1 only
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 vector color for models with vertex color2 days ago
- Fix black color render in r441+2 days ago
- Fix for unbound buffers (init before 3DObject)2 days ago
- Fix for frag light effect with r441+35 days ago
- Fix for r441+35 days ago
- Fix sliders for ssao-cube example48 days ago
- Add SSAO which uses view space48 days ago
- Optimization - create common UBO per model55 days ago
- Fix UBO support for non-skinned meshes60 days ago
- Add UBO support for bones transfer, 256 total66 days ago
Comments
Log in with itch.io to leave a comment.
Awesome gift :D .
Regrettably though I can't get this to work, even with the GLBExample-2-14-1 file. When ticking worker animation, the model doesn't show up.
Errors appear in console (they don't show if the F12 debug starts open)
"Uncaught ReferenceError: target is not defined
at updateAnimation
at updateAnimationPolygons
at MessagePort.OnMessage"
I can get it to show if I click the 'pause' button, but can't get it to start playing any animations. Is there more setup required? (Made sure project worker mode was turned on too)
Thanks for the bug report, I appreciate it. Based on this report, I have found that for worker animation, there is a currently a bug with animation blending. For now set animation blending to 0 for worker animation. I will work on a fix for this.