A simple web service that renders a Blender 3D scene with custom text.
Run with docker run -p 8080:8080 steren/blender-as-a-service
text
: The text to render, defaults toHELLO
.scene
: the name of the.blend
file to render (without the extension), defaults tobasic
, other supported values areoutrun
andoutrun-filter
.
Example: /?text=OUTRUN&scene=outrun
- Create a Blender scene, if your scene contains a text object with the name
Text
, the text will be replaced with the value of thetext
parameter. - The service looks for
.blend
files/app/models/
folder. You can add your own.blend
files at build time or mount a volume at runtime.
- Build with
docker build . -t steren/blender-as-a-service
- Start with
docker run -p 8080:8080 steren/blender-as-a-service
- Open in your browser at
http://localhost:8080/?text=Hey