processing blender integration - a first test

Nikolaus Gradwohl2016-01-20T06:19:41+00:00

A view days ago I found the java.blend library by Holger Machens, a java library that allows reading and creating .blend files from java. This opens a whole new range of possibilities for creating blender animations, importing scripted content or using blender to model stuff for interactive applications, and and and. And whats also really cool in my opinion it allows me to combine two of my favorite tools Blender and Processing.

processing blender

I have already ported one of the example programs that comes with java.blend to processing and so far the experiments look very promising.

What this example does is creating a new blend file containing a cube and saving it at "/tmp/copybuffer.blend" This file is used as the clipboard in blender. So when this file exists you can insert its content to the current blender scene simply by pasting it.

to run the code open the sketch in Processing 3, download the jar files from java.blend and drag them onto your script window. This creates a "code" folder for your sketch and adds the needed jars to the import path.

create the copybuffer

when you run the sketch and click on the window you create the copybuffer blend file and can paste it into your blender scene.

paste it in blender

Conclusion: A very interesting new tool - I'm pretty sure I will add more experiments integrating Processing and Blender in the near future - so stay tuned :-)

Tweet This! submit to reddit Digg! Tags: | no comments | no trackbacks

See also:

Processing and Blender Sound Visualizer for Magical Dreams
hexagonal animated texture
growing texture
Generating 3D Objects from Heightfields
sketch experiment 7 - osc events

Trackbacks

Comments

Leave a response

Leave a comment