[Bf-cycles] Dso api in Cycles

lukas.stockner at freenet.de lukas.stockner at freenet.de
Tue May 15 15:34:51 CEST 2018

another option, which would be significantly easier and probably sufficient here, would be providing an API that lets an external plugin provide mesh data.
>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.).
- Lukas
------ Originalnachricht------Von: Stefan WernerDatum: Di., 15. Mai 2018 15:20An: Discussion list to assist Cycles render engine developers;Cc: Betreff:Re: [Bf-cycles] Dso api in Cycles
Hello Nicolas,
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.
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. 
On 15. May 2018, at 15:05, Nicolas Chaverou <nicolas.chaverou at golaem.com> wrote:
Hi there,
I looked over the Cycles documentation and its roadmap but could not found the answer;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 ?


+33 (0)2 99 27 21 44
Bf-cycles mailing list
Bf-cycles at blender.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-cycles/attachments/20180515/6ae28284/attachment.html>

More information about the Bf-cycles mailing list