https://github.com/twhlynch/blenderframes2grab
Convert Blender Keyframes To Grab Through BabylonJS
https://github.com/twhlynch/blenderframes2grab
animation babylonjs blender grabvr vr
Last synced: 9 months ago
JSON representation
Convert Blender Keyframes To Grab Through BabylonJS
- Host: GitHub
- URL: https://github.com/twhlynch/blenderframes2grab
- Owner: twhlynch
- Created: 2023-07-25T02:23:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-10T03:48:17.000Z (over 2 years ago)
- Last Synced: 2023-08-10T04:48:05.933Z (over 2 years ago)
- Topics: animation, babylonjs, blender, grabvr, vr
- Language: Python
- Homepage:
- Size: 16.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blender Frames 2 Grab
**Using Babylon.js**
> This will only work if you have access to Animations or once they have released to the public.
> Currently all objects are assumed to be cubes.
### Usage
- Run `pip install -r requirements.txt`
- Install the [BabylonJS Blender Exporter](https://github.com/BabylonJS/BlenderExporter) Add-on
- Edit>Preferences>Add-ons>Install>`Blender2Babylon-X.X.zip`>Enable
- Create a Physics scene with Collisions and Rigid-bodies.
- Select all of the physics objects and run Object>Rigid body>Bake to keyframes
- Once the keyframes are created, use File>Export>Babylon.js ver X.X.X
- Save it as `data.babylon` in this directory
- Ensure the latest version of `generated` is in this directory (From [Slin/Grab-Level-Format](https://github.com/Slin/GRAB-Level-Format))
- Run `BlenderFrames2Grab.py`
- Transfer the .level file to `Android/data/com.slindev.grab_demo`