<html><head>





</head>
<body style="margin-bottom:45px">
    <div style="font-size: 10pt;"><div dir="ltr" style="margin-top:0;margin-bottom:0;">Hi,</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">another option, which would be significantly easier and probably sufficient here, would be providing an API that lets an external plugin provide mesh data.</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">From a technical point of view this wouldn't be that hard, but many of the questions from the Blender C++ API discussion also apply here (topics like cross-platform support, license issues, compatibility between versions etc.).</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">- Lukas</div></div><div style="font-size: 10pt;"><div id="LGEmailHeader" dir="ltr" style="margin-top:0;margin-bottom:0;"><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div><div dir="ltr" style="margin-top:0;margin-bottom:0;">------ Originalnachricht------</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Von: </b>Stefan Werner<stewreo@gmail.com></stewreo@gmail.com></div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Datum: </b>Di., 15. Mai 2018 15:20</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>An: </b>Discussion list to assist Cycles render engine developers;</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Cc: </b></div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><b>Betreff:</b>Re: [Bf-cycles] Dso api in Cycles</div><div dir="ltr" style="margin-top:0;margin-bottom:0;"><br></div></div>Hello Nicolas,<div class="" dir="ltr"><br class=""></div><div class="" dir="ltr">other than OSL support, there is no customisation API for Cycles. At the moment, there is no support for procedural primitives of any kind. Cycles supports triangles and hair curves/ribbons. The built-in support of subdivision surfaces and displacement is a view-dependent tessellation that is performed prior to the actual rendering process.</div><div class="" dir="ltr"><br class=""></div><div class="" dir="ltr">In theory, it should be possible to extend Cycles with any kind of ray/procedural intersection. Procedural objects would need to be able to return bounding boxes, respond to ray hit queries and be able to fill out a data structure with intersection point, UV coordinates, derivatives, object ID etc after an intersection. A full integration would include CUDA and OpenCL code paths, which may be hard when your procedural relies on disk caches or dynamic memory allocations. </div><div class="" dir="ltr"><br class=""></div><div class="" dir="ltr">-Stefan</div><div class="" dir="ltr"><div dir="ltr"><br class=""><blockquote type="cite" class=""><div class="" dir="ltr">On 15. May 2018, at 15:05, Nicolas Chaverou <<a href="mailto:nicolas.chaverou@golaem.com" class="">nicolas.chaverou@golaem.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="" dir="ltr"><div dir="ltr" class=""><div class="" dir="ltr">Hi there,</div><div class="" dir="ltr"><br class=""></div><div class="" dir="ltr">I looked over the Cycles documentation and its roadmap but could not found the answer;</div><div class="" dir="ltr">We'd like to check the feasibility of creating a DSO plugin for Cycles which could create delayed geometry at render time; Does anyone know what if Cycles has such an API for this ?</div><div class="" dir="ltr"><br class=""></div><div class="" dir="ltr">Thanks,</div><div class="" dir="ltr">N.<br class=""></div><div class="" dir="ltr"><br class=""></div><div class="" dir="ltr"><div class="gmail_signature" data-smartmail="gmail_signature" dir="ltr"><div dir="ltr" class=""><div class="" dir="ltr"><div dir="ltr" class="">---<br class=""><img alt="Nicolas Chaverou - Golaem Crowd Product Manager - Golaem SA" src="http://www.golaem.com/signature/nicolas.png" width="300" height="35" class=""><br class=""><font size="1px" face="Calibri" class=""> </font><br class=""><font size="2px" face="Calibri" class=""><a href="tel:+33 (0)2 99 27 21 44">+33 (0)2 99 27 21 44</a></font><br class=""><font size="2px" face="Calibri" class=""><a href="http://www.golaem.com/" target="_blank" class="">http://www.golaem.com</a></font><br class=""></div></div></div></div></div></div>_______________________________________________<br class="">Bf-cycles mailing list<br class=""><a href="mailto:Bf-cycles@blender.org" class="">Bf-cycles@blender.org</a><br class=""><a href="https://lists.blender.org/mailman/listinfo/bf-cycles">https://lists.blender.org/mailman/listinfo/bf-cycles</a><br class=""></div></blockquote></div><br class=""></div></div>


</body></html>