[Bf-cycles] Get other passes than ccl::PassType::PASS_COMBINED

Mohamed Sakr 3dsakr at gmail.com
Tue Apr 23 14:10:18 CEST 2019


I don't add them to the film passes directly, I add them to buffer_params,
then initialize the session with that buffer params.


On Tue, Apr 23, 2019 at 12:57 PM F Escobar <materialesescobar at hotmail.es>
wrote:

> I've added that passes to generate the options like
> ccl::Pass::add(ccl::PassType::PASS_DIFFUSE_COLOR, buffer_params.passes);
>
> and added them to the film too
> ccl::Pass::add(ccl::PassType::PASS_DIFFUSE_COLOR, scene->film->passes);
>
> Unfortunately I can get no passes but PASS_COMBINED
>
> in session->buffers->get_pass_rect(ccl::PassType::PASS_COMBINED,
> actualExposure, 1, 4, rawpixels, passName);
>
>
> Any tip on this? thank you in advance!
> _______________________________________________
> 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/20190423/ad43b8a8/attachment.html>


More information about the Bf-cycles mailing list