Hi,
i have created a render integration for picogen 0.3 in Blender.The integration consists of three parts:
- An addon for picogen to get terrain data in blender
- An addon for blender-pynodes-branch from Lukas Toenne, i used a custom nodetree to generate terrain und water Code.
- An addon for blender 2.61, the render-integration.
A trivial example is the following picture:

To get this addon, and create the picture from above, go to blender wiki under Extensions:2.6/Py/Scripts/Render/picogen und see instructions there.
greets,
Daniel Brandes
I have a question about the blender add-on: is it fully integrated as an external render engine in blender, by that I mean, does it render if you hit f12? Does your code follow this simplified example here: http://www.blender.org/documentation/blender_python_api_2_61_4/bpy.types.RenderEngine.html
Forgive me for not downloading and looking at the script myself, I noticed it’s a tar.gz and I think that’s a unix/linux format. I’m sure I could open it with 7-Zip, but I was thinking I wouldn’t learn anything helpful, (I’ve already looked at 3 external render engines, and haven’t figured them out yet)
The reason why I ask is because I have a script that works like a render engine, but I fail to understand how integration works with external render engines. If you could, I’m looking for help on this subject.
Thanks,
Randy
Hi Randy,
Yes, it is implemented as an external Render Engine. I used POV-Ray as template. The integration is simple: you need a class derived from bpy.types.RenderEngine , two class variables:
bl_idname = “RENDER_…”
bl_label = “your render label”
and one method render(self, scene)
process management of rendering-binary must be self-implemented (AFAIK).
to get result image in blender, do the following:
in the render method:
result = self.begin_result(0, 0, x, y)
lay = result.layers[0]
lay.load_from_file(filename)
self.end_result(result)
don’t forget to register this class, then it should work.
greets,
Daniel