Obi Official Forum
Help Possible to bake cloth simulations? - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html)
+--- Thread: Help Possible to bake cloth simulations? (/thread-3311.html)



Possible to bake cloth simulations? - yokenstein - 09-02-2022

Is it possible to bake cloth simulations using Obi cloth? Since I intend to use very high poly cloth, which are not runtime friendly, i'd like to bake out the simulations for offline usage


RE: Possible to bake cloth simulations? - josemendez - 10-02-2022

(09-02-2022, 07:34 PM)yokenstein Wrote: Is it possible to bake cloth simulations using Obi cloth? Since I intend to use very high poly cloth, which are not runtime friendly, i'd like to bake out the simulations for offline usage

Hi there!

Why not use Alembic? Obi is intended for realtime simulation and cuts some corners to achieve that. If you just want to play back a pre-baked simulation, you can simulate in any offline, higher-quality simulator and then import the results as an alembic file into Unity.

https://docs.unity3d.com/Packages/com.unity.formats.alembic@2.3/manual/index.html

kind regards,


RE: Possible to bake cloth simulations? - yokenstein - 14-02-2022

(10-02-2022, 08:34 AM)josemendez Wrote: Hi there!

Why not use Alembic? Obi is intended for realtime simulation and cuts some corners to achieve that. If you just want to play back a pre-baked simulation, you can simulate in any offline, higher-quality simulator and then import the results as an alembic file into Unity.

https://docs.unity3d.com/Packages/com.unity.formats.alembic@2.3/manual/index.html

kind regards,
That's a good option, but I have quite a lot of blended animations in the character's timeline track. And as far as my experiments go, it's not possible to bake out those blended animations. Otherwise i'd definitely try this option