[Bf-python] How to plugin an external rendering engine into Blender

Klaatu klaatu at straightedgelinux.com
Thu Jun 5 11:15:25 CEST 2014


There are other external renderers that work with Blender. Looking at
their code may also be helpful.

One I've been playing around with lately is Mitsuba. He has a Blender
plugin for it:
http://mitsuba-renderer.org/plugins.html


-klaatu


On 06/05/2014 03:24 AM, Julien Duroure wrote:
> Hi,
> 
> Here [1] is a minimalist doc about about to interact with Blender. But,
> as already said, reading how Cycles integration into Blender works is
> the best way to go.
> 
> [1] : http://wiki.blender.org/index.php/Dev:Source/Render/RenderEngineAPI
> 
> Regards,
> 
> 
> On Wed, Jun 4, 2014 at 5:17 PM, Daniel Monteiro Basso
> <danielmbasso at gmail.com <mailto:danielmbasso at gmail.com>> wrote:
> 
>     Hi Vishesh,
> 
>     On Wed, Jun 4, 2014 at 9:53 AM, Hsehsiv Atpug
>     <multidimentionalvariable at gmail.com
>     <mailto:multidimentionalvariable at gmail.com>> wrote:
> 
>         I have already downloaded and built the blender source code.
>         Can anyone help me how to proceed with integrating my code with
>         Blender?
> 
> 
>     What you want to achieve requires a lot of work... I'm not exactly
>     the right guy to answer your question, but if I were to make my own
>     rendering engine, I would first just clone Cycles with a new name.
>     After that I would strip the cloned code to the bare minimum (the
>     communication of the scene to the engine) and do the plumbing to my
>     rendering code.
> 
>     The code for Cycles is in the /intern/cycles directory, copy it to
>     e.g. /intern/myrenderer, and then proceed to replace all the
>     required identifiers. You will have to include the new module in the
>     build system, and probably make some other changes elsewhere in
>     order for Blender to show your engine as an alternative, but I have
>     never done it before, so I can't help you with that.
> 
>     Cheers, and good luck.
> 
>     Daniel
> 
>     _______________________________________________
>     Bf-python mailing list
>     Bf-python at blender.org <mailto:Bf-python at blender.org>
>     http://lists.blender.org/mailman/listinfo/bf-python
> 
> 
> 
> 
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://lists.blender.org/mailman/listinfo/bf-python
> 




More information about the Bf-python mailing list