Coder Social home page Coder Social logo

as-a-service / blender Goto Github PK

View Code? Open in Web Editor NEW
36.0 4.0 18.0 604 KB

A simple web service that renders a Blender 3D scene with custom text.

Home Page: https://render.as-a-service.dev/

License: Apache License 2.0

Dockerfile 20.53% Python 79.47%
blender b3d docker 3d container microservice cloud-run-button

blender's Introduction

Render Blender 3D scenes in the cloud (using Docker)

A simple web app that renders a Blender 3D scene with custom text.

Run with docker run -p 8080:8080 gcr.io/as-a-service-dev/render

Run on Google Cloud

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

blender's People

Contributors

steren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

blender's Issues

Blender 3.3.1 is supported?

Hi! I open file outrun.blend in Blender 3.3.1 and save without editing. New file size is 923ย 932 bytes.

But after call api I get this picture:

image

Can you tell me the version of Blender that will work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.