1
$\begingroup$

The Blender version of Cycles can use the result of specific render passes as the final composite image.

For example, normals can be rendered instead of the regular image, as seen in the image below.

Blender scene with Render Layers

I would like to do the same in Cycles standalone.

What is the best way of capturing the result of render passes such as Normal, AO, Shadow, Emission, etc. in Cycles standalone?

  • Can it be done through the XML API? From what I've seen so far, it doesn't seem possible.
  • Can it be done by modifying the source code? If yes, can anyone point me in the right direction?
$\endgroup$
1
$\begingroup$

Cycles is a renderer. It provides the data that a compositor can use to combine the data to a final image. Blender's compositor is written inside blender and cannot be run outside Blender as it is tight related to other parts of Blender's pipeline.

So basically the answer to your question is no, you cannot do it via the XML API of Cycles as it does not know anything about compositing; except producing the combined pass, which cannot be influenced.

You can always modify Blender as it is open source, but there are other channels that are better to ask these development questions, like IRC or https://devtalk.blender.org/

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.