[Bf-cycles] Learning about custom render engine integration into Blender using Cycles sources

Brecht Van Lommel brechtvanlommel at pandora.be
Sun Jun 18 02:38:04 CEST 2017


The start page for code docs is here:
https://wiki.blender.org/index.php/Dev:Source/Architecture

However if you are writing an addon it's really the Python API docs that
you need:
https://docs.blender.org/api/current/

Cycles is linked directly into Blender and has access to a C++ versions of
the Python API, and the C++ API is not available to external addons. But
they are exactly the same besides the language, and the documentation
applies to both.


On Sat, Jun 17, 2017 at 10:42 PM, Sylvain Meunier <sylvain.meunier at gmail.com
> wrote:

> Hi and thanks !
>
> I started digging in Cycles sources and found the blender_python.cpp
> module.
>
> Is there more documentation about Blender data than :
> https://wiki.blender.org/index.php/Dev:2.5/Source/Architecture/DataAPI ?
>
> Best regards
>
> Sylvain
>
> 2017-06-17 18:13 GMT+02:00 Brecht Van Lommel <brechtvanlommel at pandora.be>:
>
>> Hi,
>>
>> There's an example of a custom render engine in the documentation here.
>> https://docs.blender.org/api/current/bpy.types.RenderEngine.html
>>
>> In general for renderer integration most of the Python API is the same as
>> other types of addons. There's also lots of renderer addons out there where
>> you can look at the code for inspiration.
>>
>> Regards,
>> Brecht.
>>
>>
>> On Fri, Jun 16, 2017 at 4:39 PM, Sylvain Meunier <
>> sylvain.meunier at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I really love how Cycles is integrated into Blender and I want to
>>> achieve something similar with my own toy engine (not a path tracer though).
>>>
>>> I'm looking for entry points in Cycles sources and interesting links to
>>> documentations.
>>>
>>> Best regards
>>>
>>> Sylvain
>>>
>>>
>>>
>>> _______________________________________________
>>> Bf-cycles mailing list
>>> Bf-cycles at blender.org
>>> https://lists.blender.org/mailman/listinfo/bf-cycles
>>>
>>>
>>
>> _______________________________________________
>> Bf-cycles mailing list
>> Bf-cycles at blender.org
>> https://lists.blender.org/mailman/listinfo/bf-cycles
>>
>>
>
> _______________________________________________
> Bf-cycles mailing list
> Bf-cycles at blender.org
> https://lists.blender.org/mailman/listinfo/bf-cycles
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-cycles/attachments/20170618/61ea768e/attachment.htm 


More information about the Bf-cycles mailing list