Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/as-a-service/blender
A simple web service that renders a Blender 3D scene with custom text.
https://github.com/as-a-service/blender
3d b3d blender cloud-run-button container docker microservice
Last synced: about 1 month ago
JSON representation
A simple web service that renders a Blender 3D scene with custom text.
- Host: GitHub
- URL: https://github.com/as-a-service/blender
- Owner: as-a-service
- License: apache-2.0
- Created: 2018-09-16T23:39:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-04T22:25:23.000Z (5 months ago)
- Last Synced: 2024-11-07T10:03:31.112Z (about 1 month ago)
- Topics: 3d, b3d, blender, cloud-run-button, container, docker, microservice
- Language: Python
- Homepage: https://render.as-a-service.dev/
- Size: 590 KB
- Stars: 36
- Watchers: 4
- Forks: 18
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cloud-run - render
README
# Render Blender 3D scenes in the cloud (using Docker)
A simple web app that renders a [Blender](http://www.blender.org/) 3D scene with custom text.
Run with `docker run -p 8080:8080 gcr.io/as-a-service-dev/render`
[![Run on Google Cloud](https://storage.googleapis.com/cloudrun/button.svg)](https://deploy.cloud.run)
## API
### URL parameters:
* `text`: The text to render, defaults to `HELLO`.
* `scene`: the name of the `.blend` file to render (without the extension), defaults to `basic`, other supported values are `outrun` and `outrun-filter`.Example: `/?text=OUTRUN&scene=outrun`
### Bring your own 3D scene:
1. Create a Blender scene, your scene must contain a text object with the name `Text`,
2. Add your `.blend` file in the `models/` folder,## Running the server locally
* Build with `docker build . -t render`
* Start with `docker run -p 8080:8080 render`
* Open in your browser at `http://localhost:8080/?text=Hey`![Cloud Build](https://badger-l7zawt5jsq-uw.a.run.app/build/status?project=as-a-service-dev&id=c19e0b78-b8f0-4ff2-bccb-9b694837d0fc)