Add instructions

This commit is contained in:
Spencer Killen 2022-05-14 23:11:09 -06:00
parent 9dfce8b0b5
commit 2797e6146c
No known key found for this signature in database
GPG Key ID: 750742B5BFA28418
2 changed files with 25 additions and 0 deletions

14
bphys/README.md Normal file
View File

@ -0,0 +1,14 @@
A frankenscript that converts baked softbody physics data to a pc2 file
Tested in Blender 3.3 2a2261d7 Linux x86_64
Instructions:
1. Create desired physics animation using a lattice and softbody physics modifier.
2. Bake the animation and enable "save to disk". Note the folder named blendcache_library.
3. Record the x y z scale of the lattice in a file (e.g. named lattice_scale) One dimension per line
4. Run this script: python3 baked_physics_to_pc2.py < lattice_scale
5. Create a new lattice with the same scale and dimensions
6. Add a Mesh cache modifier to the lattice (don't have physics) and use the .pc2 file outputted by the script
See file for sources

View File

@ -2,6 +2,17 @@
""" """
A frankenscript that converts baked softbody physics data to a pc2 file A frankenscript that converts baked softbody physics data to a pc2 file
Tested in Blender 3.3 2a2261d7 Linux x86_64
Instructions:
1. Create desired physics animation using a lattice and softbody physics modifier.
2. Bake the animation and enable "save to disk". Note the folder named blendcache_library.
3. Record the x y z scale of the lattice in a file (e.g. named lattice_scale) One dimension per line
4. Run this script: python3 baked_physics_to_pc2.py < lattice_scale
5. Create a new lattice with the same scale and dimensions
6. Add a Mesh cache modifier to the lattice (don't have physics) and use the .pc2 file outputted by the script
""" """