<div dir="ltr">Thanks for the links and thread on this. I've got a quick question.<div><br></div><div>Would it be conceivable to farm out an external process to write sims (as opposed to frames) to disk using the existing render api as it stands or would I have to start altering code within Blender to facilitate that?</div>


<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 5, 2014 at 11:00 AM,  <span dir="ltr"><<a href="mailto:bf-python-request@blender.org" target="_blank">bf-python-request@blender.org</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Bf-python mailing list submissions to<br>
        <a href="mailto:bf-python@blender.org" target="_blank">bf-python@blender.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.blender.org/mailman/listinfo/bf-python" target="_blank">http://lists.blender.org/mailman/listinfo/bf-python</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:bf-python-request@blender.org" target="_blank">bf-python-request@blender.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:bf-python-owner@blender.org" target="_blank">bf-python-owner@blender.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Bf-python digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. How to plugin an external rendering engine into Blender<br>
      (Hsehsiv Atpug)<br>
   2. Re: How to plugin an external rendering engine into       Blender<br>
      (Daniel Monteiro Basso)<br>
   3. Re: How to plugin an external rendering engine into       Blender<br>
      (Julien Duroure)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 4 Jun 2014 14:23:16 +0530<br>
From: Hsehsiv Atpug <<a href="mailto:multidimentionalvariable@gmail.com" target="_blank">multidimentionalvariable@gmail.com</a>><br>
Subject: [Bf-python] How to plugin an external rendering engine into<br>
        Blender<br>
To: <a href="mailto:bf-python@blender.org" target="_blank">bf-python@blender.org</a><br>
Message-ID:<br>
        <<a href="mailto:CALRqO8n1M4Pbay6DxahdAVjpUfj30wNor8tZhiL6CL2GDOqn0Q@mail.gmail.com" target="_blank">CALRqO8n1M4Pbay6DxahdAVjpUfj30wNor8tZhiL6CL2GDOqn0Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi All !!<br>
 :)<br>
<br>
I am writing a point based rendering engine to render point clouds. I want<br>
to plug it into Blender so that i take advantage of Blender's existing<br>
functionality.<br>
I am writing my code in C++.<br>
I have already downloaded and built the blender source code.<br>
Can anyone help me how to proceed with integrating my code with Blender?<br>
<br>
-Vishesh<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.blender.org/pipermail/bf-python/attachments/20140604/2b2658d3/attachment.html" target="_blank">http://lists.blender.org/pipermail/bf-python/attachments/20140604/2b2658d3/attachment.html</a><br>



<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 4 Jun 2014 16:17:54 +0100<br>
From: Daniel Monteiro Basso <<a href="mailto:danielmbasso@gmail.com" target="_blank">danielmbasso@gmail.com</a>><br>
Subject: Re: [Bf-python] How to plugin an external rendering engine<br>
        into    Blender<br>
To: Blender Foundation Python list <<a href="mailto:bf-python@blender.org" target="_blank">bf-python@blender.org</a>><br>
Message-ID:<br>
        <CAHn_q9-m8eO=fQgnvc2yabBm+uC=tbRb=<a href="mailto:A13i_enHy1dX3DBiA@mail.gmail.com" target="_blank">A13i_enHy1dX3DBiA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Vishesh,<br>
<br>
On Wed, Jun 4, 2014 at 9:53 AM, Hsehsiv Atpug <<br>
<a href="mailto:multidimentionalvariable@gmail.com" target="_blank">multidimentionalvariable@gmail.com</a>> wrote:<br>
<br>
> I have already downloaded and built the blender source code.<br>
> Can anyone help me how to proceed with integrating my code with Blender?<br>
><br>
<br>
What you want to achieve requires a lot of work... I'm not exactly the<br>
right guy to answer your question, but if I were to make my own rendering<br>
engine, I would first just clone Cycles with a new name. After that I would<br>
strip the cloned code to the bare minimum (the communication of the scene<br>
to the engine) and do the plumbing to my rendering code.<br>
<br>
The code for Cycles is in the /intern/cycles directory, copy it to e.g.<br>
/intern/myrenderer, and then proceed to replace all the required<br>
identifiers. You will have to include the new module in the build system,<br>
and probably make some other changes elsewhere in order for Blender to show<br>
your engine as an alternative, but I have never done it before, so I can't<br>
help you with that.<br>
<br>
Cheers, and good luck.<br>
<br>
Daniel<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.blender.org/pipermail/bf-python/attachments/20140604/2dade286/attachment-0001.htm" target="_blank">http://lists.blender.org/pipermail/bf-python/attachments/20140604/2dade286/attachment-0001.htm</a><br>



<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 4 Jun 2014 17:24:32 +0200<br>
From: Julien Duroure <<a href="mailto:julien.duroure@gmail.com" target="_blank">julien.duroure@gmail.com</a>><br>
Subject: Re: [Bf-python] How to plugin an external rendering engine<br>
        into    Blender<br>
To: Blender Foundation Python list <<a href="mailto:bf-python@blender.org" target="_blank">bf-python@blender.org</a>><br>
Message-ID:<br>
        <<a href="mailto:CAGARL-uAphYT2Oqxvd8hvm%2BKYCBApziPNqUgNKMSjd5UbMnumQ@mail.gmail.com" target="_blank">CAGARL-uAphYT2Oqxvd8hvm+KYCBApziPNqUgNKMSjd5UbMnumQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
Here [1] is a minimalist doc about about to interact with Blender. But, as<br>
already said, reading how Cycles integration into Blender works is the best<br>
way to go.<br>
<br>
[1] : <a href="http://wiki.blender.org/index.php/Dev:Source/Render/RenderEngineAPI" target="_blank">http://wiki.blender.org/index.php/Dev:Source/Render/RenderEngineAPI</a><br>
<br>
Regards,<br>
<br>
<br>
On Wed, Jun 4, 2014 at 5:17 PM, Daniel Monteiro Basso <<br>
<a href="mailto:danielmbasso@gmail.com" target="_blank">danielmbasso@gmail.com</a>> wrote:<br>
<br>
> Hi Vishesh,<br>
><br>
> On Wed, Jun 4, 2014 at 9:53 AM, Hsehsiv Atpug <<br>
> <a href="mailto:multidimentionalvariable@gmail.com" target="_blank">multidimentionalvariable@gmail.com</a>> wrote:<br>
><br>
>> I have already downloaded and built the blender source code.<br>
>> Can anyone help me how to proceed with integrating my code with Blender?<br>
>><br>
><br>
> What you want to achieve requires a lot of work... I'm not exactly the<br>
> right guy to answer your question, but if I were to make my own rendering<br>
> engine, I would first just clone Cycles with a new name. After that I would<br>
> strip the cloned code to the bare minimum (the communication of the scene<br>
> to the engine) and do the plumbing to my rendering code.<br>
><br>
> The code for Cycles is in the /intern/cycles directory, copy it to e.g.<br>
> /intern/myrenderer, and then proceed to replace all the required<br>
> identifiers. You will have to include the new module in the build system,<br>
> and probably make some other changes elsewhere in order for Blender to show<br>
> your engine as an alternative, but I have never done it before, so I can't<br>
> help you with that.<br>
><br>
> Cheers, and good luck.<br>
><br>
> Daniel<br>
><br>
> _______________________________________________<br>
> Bf-python mailing list<br>
> <a href="mailto:Bf-python@blender.org" target="_blank">Bf-python@blender.org</a><br>
> <a href="http://lists.blender.org/mailman/listinfo/bf-python" target="_blank">http://lists.blender.org/mailman/listinfo/bf-python</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.blender.org/pipermail/bf-python/attachments/20140604/2e0fdf85/attachment-0001.htm" target="_blank">http://lists.blender.org/pipermail/bf-python/attachments/20140604/2e0fdf85/attachment-0001.htm</a><br>



<br>
------------------------------<br>
<br>
_______________________________________________<br>
Bf-python mailing list<br>
<a href="mailto:Bf-python@blender.org" target="_blank">Bf-python@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-python" target="_blank">http://lists.blender.org/mailman/listinfo/bf-python</a><br>
<br>
<br>
End of Bf-python Digest, Vol 112, Issue 2<br>
*****************************************<br>
</blockquote></div><br></div></div>