<div dir="ltr"><div>Quite obvious answer -- to be compatible with Blender :) That&#39;s a bit annoying aspect of MSVC and don&#39;t think we&#39;ll be switching something such a major for Blender. So afraid we can help much with this.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 31, 2015 at 12:41 AM, haggi krey <span dir="ltr">&lt;<a href="mailto:haggi@haggi.de" target="_blank">haggi@haggi.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>That was fast. Indeed the standalone
      code is very helpful.<br>
      <br>
      I could see that all the libraries ( I used the prebuilded blender
      libs) are compiled with:<br>
      Multi-threaded Debug (/MTd) / MT<br>
      instead of <br>
      Multi-threaded Debug Dll(/MDd) /MD<br>
      <br>
      Maya needs to be compiled with MDd/MD what seems not to be
      compatible with MTd/MT. That means I will have to rebuild all libs
      with the correct flags. <br>
      Fortunatly the build bat files are included in the libs, really
      cool. But before I start this long task, I&#39;d like to know if there
      is any reason why building with MDd/MD would not work?<div><div class="h5"><br>
       <br>
      <br>
      Am 30.10.2015 um 19:41 schrieb Sergey Sharybin:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>While documentation could indeed be improved, you should
          consider looking into existing standalone application which
          has all basics implemented. Some more extese examples could be
          found in the blender integration.</div>
        <div><br>
        </div>
        <div>Basically to cancel rendering you have to call:
          session-&gt;progress.set_cancel(&quot;Canceled&quot;)</div>
        <div><br>
        </div>
        <div>You can also check
          around session-&gt;progress.set_cancel_callback from the
          Blender integration to see how cancel is integrated there.</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Oct 30, 2015 at 11:28 PM, haggi
          krey <span dir="ltr">&lt;<a href="mailto:haggi@haggi.de" target="_blank">haggi@haggi.de</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
            <br>
            I&#39;m not sure if this is the correct list to ask. But I could
            not find<br>
            another ressource.<br>
            So if I&#39;m wrong here it would be great if you could give me
            a hint where<br>
            to search so some support about Cycles.<br>
            <br>
            So what do I want?<br>
            I plan to implement Cycles into Autodesk Maya. I have built
            a framework<br>
            to implement 3rd party renderers into Maya was works quite
            fine with<br>
            Appleseed and others.<br>
            Because I already implemented some OSL translation from Maya
            to<br>
            Appleseed I thought it could be an interesting idea to reuse
            the whole<br>
            system to do the same with Cycles.<br>
            I started with the Cycles standalone, compiled it and try to
            write a<br>
            simple application which creates a triangle and renders it.<br>
            Well, interestingly it already seems to work even if I did
            not throw<br>
            anyting into the scene yet, what means Cycles is a really
            well designed<br>
            renderer.<br>
            <br>
            But I&#39;m a bit lost how the whole system works. I could not
            find any<br>
            documentation of the methods or params.<br>
            e.g. how can I stop a rendering? I created a session and
            started it what<br>
            seems to start a rendering:<br>
            <br>
                 session-&gt;start();<br>
            To block the process unti it it finished I do:<br>
                 session-&gt;wait();<br>
            But the process seems to to end and waits for something. The
            last log<br>
            line says:<br>
            <br>
            Sample 800 Done: Path Tracing Tile 80/80, Sample 10/10<br>
            <br>
            Thanks for any support.<br>
            <br>
            haggi<br>
            <br>
            _______________________________________________<br>
            Bf-cycles mailing list<br>
            <a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
            <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div>
          <div><span style="color:rgb(102,102,102)">With best regards,
              Sergey Sharybin</span></div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Bf-cycles mailing list
<a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" rel="noreferrer" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div><span style="color:rgb(102,102,102)">With best regards, Sergey Sharybin</span></div></div>
</div>