H
H
hodik2013-05-01 22:42:53
Python
hodik, 2013-05-01 22:42:53

Rendering in Blender on demand

Hello Habra Sheep Blendor !

Please tell me if it is possible to write using the built-in Python interpreter in Blender so that it accepts over the network . obj file, import it into the scene and start rendering?

Why do I need it?

The client sets the parameters in the constructor and immediately sees how the product will look like. The product is a 3D object that is rendered on the server side with little pre-processing (taking into account parameters like color(s), etc.). In principle, it is not difficult to launch blender from the console and return an image to the client. But for the time from the acceptance of the request to the moment of delivery of the picture, the requirement is no more than 1 second. A third of this time (~0.3 seconds, that is, on average) is the initial initialization of the renderer. Network Render was not very stable. A render farm is not required for this task. So:

1) Is it possible to keep blender in memory so that it just accepts draw requests and saves files?
2) Actually, the question itself is from the first paragraph.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AlexSelivanoff, 2013-05-08
@AlexSelivanoff

Here's something that looks like what you need
www.formgames.com/blender/command-port/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question