<div dir="ltr"><div><div><div class="gmail_quote">Hi Vishesh,</div><div class="gmail_quote"><br>On Wed, Jun 4, 2014 at 9:53 AM, Hsehsiv Atpug <span dir="ltr"><<a href="mailto:multidimentionalvariable@gmail.com" target="_blank">multidimentionalvariable@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5"><div dir="ltr"><div class="gmail_quote"><div><div><div dir="ltr"><div class="gmail_quote">
<div dir="ltr">I have already downloaded and built the blender source code.<br><div>Can anyone help me how to proceed with integrating my code with Blender?</div></div></div></div></div></div></div></div></div></div></blockquote>
<br></div>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.<br><br>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.<br>
<br></div>Cheers, and good luck.<br><br></div>Daniel<br></div>