Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danburonline/headless-blender

Proof of concept to run Blender in headless mode behind an HTTP API to run physics simulations (destruction of geometries), bake the simulations as keyframe animations, and return optimised 3D meshes.
https://github.com/danburonline/headless-blender

blender physics simulation

Last synced: 14 days ago
JSON representation

Proof of concept to run Blender in headless mode behind an HTTP API to run physics simulations (destruction of geometries), bake the simulations as keyframe animations, and return optimised 3D meshes.

Awesome Lists containing this project

README

        

# Headless Blender

This repository is an experimental side project to determine the feasibility of running Blender in headless mode, without a graphical user interface (GUI), while still being able to render images and run simulations.

## Quick Start

1. Open the project via the Poetry shell: `poetry shell`
2. Install the project dependencies: `poetry install`
3. Run the example server: `uvicorn headless_blender.server:app --reload`
4. Test the health check: `curl http://localhost:8000/health`
5. Import the [API specs](./docs/api/specs.json) into Hoppscotch and use the API accordingly

## Docker

1. Build the Docker image: `docker build -t headless-blender .`
2. Run the Docker container: `docker run -p 8000:8000 headless-blender`
3. Test the health check: `curl http://localhost:8000/health`
4. Import the [API specs](./docs/api/specs.json) into Hoppscotch and use the API accordingly