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

Daniel Monteiro Basso danielmbasso at gmail.com
Wed Jun 4 17:17:54 CEST 2014


Hi Vishesh,

On Wed, Jun 4, 2014 at 9:53 AM, Hsehsiv Atpug <
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20140604/2dade286/attachment.html>


More information about the Bf-python mailing list