Hi all,
Quick update on implementing baked animation to the project:
VAT was reasonably easy to implement however adding the equipment is turning to be rather complex but there is progress,
I’m trying 2 different approaches with very similar performance:
-
with retargeting
I’ve got this working and the last thing to implement is to add a separate skeleton for each item as explained by @Evgeni_Popov (Baked Texture Animations with Animation Groups? - #34 by Evgeni_Popov)
Current Perf: 200 entities / 40 fps / 2 items per entity -
by bone weight (the easiest to implement)
explanation here, thanks @Alexander_Sosnovskiy : [OPEN SOURCE] Multiplayer 3D RPG Using Colyseus - #256 by Alexander_Sosnovskiy
I’ve got this working too, but I still have a few item animation desync issues/weird rotations to resolve.
Current Perf: 200 entities / 30-40 fps / 2 items per entity
Performance without vat: 10 fps for 200 entities / 2 items per entity
Performance with vat no equipment: 40fps for 200 entities
It looks like neither implementation seem to be hurting performance too much so I’m guessing looking into my vat implementation is where I should look to improve performance.
Here is the bone weight version in action: