Transparent film

Discussion related to the LuxCore functionality, implementations and API.
Post Reply
bartek_zgo
Posts: 81
Joined: Mon Oct 26, 2020 11:42 am

Transparent film

Post by bartek_zgo » Tue Jul 13, 2021 1:57 pm

Hi Guys,
I want to use transparent film with LuxCore standalone. I have setup a simple scene in Blender and it is working:
transparent film.PNG
Than I use "LuxCore Filesaver" to export scene from blender and open it with LuxCore Standalone. The render does not have transparent film.
What is more strange, I have disabled "Transparent film" and reexport the scene and both render.cfg and scene.scn are absolutely identical. So it looks that option "Transparent film" does not have any impact on the scene. Is this option implemented in blender? Should I set another film.output with Alpha channel and than add it to there render manually?

bartek_zgo
Posts: 81
Joined: Mon Oct 26, 2020 11:42 am

Re: Transparent film

Post by bartek_zgo » Tue Jul 13, 2021 2:07 pm

Zipped scene if somebody needs it.
00058.zip
(24.95 KiB) Downloaded 29 times

User avatar
B.Y.O.B.
Developer
Posts: 4124
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Transparent film

Post by B.Y.O.B. » Tue Jul 13, 2021 2:12 pm

The transparent film option is ignored when exporting with filesaver:
https://github.com/LuxCoreRender/BlendL ... ovs.py#L68
To enable it, open this file and remove the part "and not utils.using_filesaver(context, scene)".

I don't remember why it was implemented like this (should have written a comment), I think it was something with luxcoreui not handling transparent film in a good way.

Post Reply