<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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'd like to know if there
is any reason why building with MDd/MD would not work?<br>
<br>
<br>
Am 30.10.2015 um 19:41 schrieb Sergey Sharybin:<br>
</div>
<blockquote
cite="mid:CAErtv27hzQhkLSHuAh+cWofV-fyu209=rx-G+fRtBONMh9d_XQ@mail.gmail.com"
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->progress.set_cancel("Canceled")</div>
<div><br>
</div>
<div>You can also check
around session->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"><<a moz-do-not-send="true"
href="mailto:haggi@haggi.de" target="_blank">haggi@haggi.de</a>></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'm not sure if this is the correct list to ask. But I could
not find<br>
another ressource.<br>
So if I'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'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->start();<br>
To block the process unti it it finished I do:<br>
session->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 moz-do-not-send="true"
href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
<a moz-do-not-send="true"
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 class="gmail_signature">
<div><span style="color:rgb(102,102,102)">With best regards,
Sergey Sharybin</span></div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Bf-cycles mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-cycles">http://lists.blender.org/mailman/listinfo/bf-cycles</a>
</pre>
</blockquote>
<br>
</body>
</html>