"Developing" .flm files/opening netrenders

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
irieger
Posts: 5
Joined: Mon Jul 02, 2018 7:45 pm

"Developing" .flm files/opening netrenders

Post by irieger »

Hello,

I'm playing with rendering of prisms for nice rendering of dispersion and just rendered on multiple nodes in my home network today to get a decent resolution testfile. The scene was build in blender and I exported as a binary file. Lux ignored the setting of multilayer exr as the output format and now I have a png file and the flm. How can I "develop"/export a (multilayer) exr from this film? Can't find an option to open the flm in the luxcoreui to save from there.

Kind regards,
Ingmar
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: "Developing" .flm files/opening netrenders

Post by Dade »

irieger wrote: Mon Aug 13, 2018 4:00 pm I'm playing with rendering of prisms for nice rendering of dispersion and just rendered on multiple nodes in my home network today to get a decent resolution testfile. The scene was build in blender and I exported as a binary file. Lux ignored the setting of multilayer exr as the output format and now I have a png file and the flm. How can I "develop"/export a (multilayer) exr from this film? Can't find an option to open the flm in the luxcoreui to save from there.
You can use pyluxcoretools "merge" to manipulate films in various way. It is a command line tool included in stand-alone version. I'm not sure if for "develop" you mean writing code, the merge sources are here: https://github.com/LuxCoreRender/LuxCor ... rge/cmd.py
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: "Developing" .flm files/opening netrenders

Post by B.Y.O.B. »

Btw. here is explained how to use the merge tool: https://wiki.luxcorerender.org/Pyluxcoretool_merge
irieger wrote: Mon Aug 13, 2018 4:00 pm Lux ignored the setting of multilayer exr as the output format
The Blender output settings can only be used for images rendered inside Blender through the addon.
Nothing you specify there is passed to Lux (e.g. Lux can't even render to a video file).
So if you export a scene, you an either load the binary in luxcoreui and edit the outputs there (however luxcoreui is a developer tool, not made with end-users in mind) or you can export as text files and edit the .cfg (however this is also not end-user friendly).
Unfortunately we are currently lacking a GUI like Lux 1.x had.
irieger
Posts: 5
Joined: Mon Jul 02, 2018 7:45 pm

Re: "Developing" .flm files/opening netrenders

Post by irieger »

Dade wrote: Mon Aug 13, 2018 4:15 pm You can use pyluxcoretools "merge" to manipulate films in various way. It is a command line tool included in stand-alone version. I'm not sure if for "develop" you mean writing code, the merge sources are here: https://github.com/LuxCoreRender/LuxCor ... rge/cmd.py
Ah, thank you. That was what I was searching for. With developing in this case I meant developing like developing film from an analog camera. But pyluxcoremerge did exactly that and I get my exr files.

B.Y.O.B. wrote: Mon Aug 13, 2018 5:23 pm Btw. here is explained how to use the merge tool: https://wiki.luxcorerender.org/Pyluxcoretool_merge
Thank you. That helped.
B.Y.O.B. wrote: Mon Aug 13, 2018 5:23 pmThe Blender output settings can only be used for images rendered inside Blender through the addon.
Nothing you specify there is passed to Lux (e.g. Lux can't even render to a video file).
So if you export a scene, you an either load the binary in luxcoreui and edit the outputs there (however luxcoreui is a developer tool, not made with end-users in mind) or you can export as text files and edit the .cfg (however this is also not end-user friendly).
Unfortunately we are currently lacking a GUI like Lux 1.x had.
Good to know. Would have thought that at least in case of supported file formats the content is somehow transferred. Sadly luxcorenetconsole seems to only accept the bcf files, so no cfg files with simple editing.

And good to know that the intention of the luxcoreui is a developer tool and not as an end user tool. Thought it was intended as a replacement for the old UI and was always a bit disappointed. Not that it isn't as far developed as the old one, but simple stuff like the default is to be in camera edit mode, having one misplaced click kill the current state and render at the new camera position etc.

Thanks for your help.
irieger
Posts: 5
Joined: Mon Jul 02, 2018 7:45 pm

Re: "Developing" .flm files/opening netrenders

Post by irieger »

One additional question: My scene seems to get darker the longer I render when I convert with

Code: Select all

./cmd.py -o /tmp/prism.exr -s '/tmp/00001.flm'
(Tried with and without the -s parameter / in pyluxcoremerge directory)

Also the log output is kind of strange:

Code: Select all

[MainThread][2018-08-13 22:19:08,233] [LuxCore][8.654] [AutoLinearToneMap] Defined symbols: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL
[MainThread][2018-08-13 22:19:08,233] [LuxCore][8.654] [AutoLinearToneMap] Compiling kernels 
[MainThread][2018-08-13 22:19:08,247] [LuxCore][8.667] [AutoLinearToneMap] Kernels cached
[MainThread][2018-08-13 22:19:08,247] [LuxCore][8.668] [AutoLinearToneMap] Compiling OpRGBValuesReduce Kernel
[MainThread][2018-08-13 22:19:08,247] [LuxCore][8.668] [AutoLinearToneMap] Compiling OpRGBValueAccumulate Kernel
[MainThread][2018-08-13 22:19:08,247] [LuxCore][8.668] [AutoLinearToneMap] Compiling AutoLinearToneMap_Apply Kernel
[MainThread][2018-08-13 22:19:08,247] [LuxCore][8.668] [AutoLinearToneMap] Kernels compilation time: 13ms
[MainThread][2018-08-13 22:19:08,247] [LuxCore][8.668] [LinearToneMap] Defined symbols: 
[MainThread][2018-08-13 22:19:08,247] [LuxCore][8.668] [LinearToneMap] Compiling kernels 
[MainThread][2018-08-13 22:19:08,252] [LuxCore][8.673] [LinearToneMap] Kernels cached
[MainThread][2018-08-13 22:19:08,252] [LuxCore][8.673] [LinearToneMap] Compiling LinearToneMap_Apply Kernel
[MainThread][2018-08-13 22:19:08,252] [LuxCore][8.673] [LinearToneMap] Kernels compilation time: 4ms
[MainThread][2018-08-13 22:19:08,253] [LuxRays][8.673] [Device GeForce GTX 1080 Ti Intersect] Gamma table buffer size: 16Kbytes
[MainThread][2018-08-13 22:19:08,253] [LuxCore][8.674] [GammaCorrectionPlugin] Defined symbols: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL
[MainThread][2018-08-13 22:19:08,253] [LuxCore][8.674] [GammaCorrectionPlugin] Compiling kernels 
[MainThread][2018-08-13 22:19:08,253] [LuxCore][8.674] [GammaCorrectionPlugin] Kernels cached
[MainThread][2018-08-13 22:19:08,253] [LuxCore][8.674] [GammaCorrectionPlugin] Compiling GammaCorrectionPlugin_Apply Kernel
[MainThread][2018-08-13 22:19:08,253] [LuxCore][8.674] [GammaCorrectionPlugin] Kernels compilation time: 0ms
I would want to have exactly no tonemapping and gamma correction done as I expect linear exr files. So what does this exactly mean and why are two tonemapping steps listet here?
(Just discovered that in the Blend file there is by default - even when rendering with the default setting of linear tone "tonemapping" - a gain parameter of 0.5 and auto brightness set. What does this mean? How can I tell pyluxcoremerge to ignore this?
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: "Developing" .flm files/opening netrenders

Post by B.Y.O.B. »

irieger wrote: Mon Aug 13, 2018 8:28 pm (Just discovered that in the Blend file there is by default - even when rendering with the default setting of linear tone "tonemapping" - a gain parameter of 0.5 and auto brightness set. What does this mean? How can I tell pyluxcoremerge to ignore this?
You can turn off tonemapping in the addon (see attachment).
However, the gamma correction step can currently not be turned off, it is always added when exporting the scene because it is needed for luxcoreui.
I can make it optional though.

I'm not sure if you can tell pyluxcoremerge to ignore the imagepipeline plugins (or redefine them).
Attachments
2018-08-13_22-42-49.png
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: "Developing" .flm files/opening netrenders

Post by Dade »

irieger wrote: Mon Aug 13, 2018 8:01 pm Sadly luxcorenetconsole seems to only accept the bcf files, so no cfg files with simple editing.
You can use luxcoreui to convert any scene in .bcf format :idea:
Support LuxCoreRender project with salts and bounties
Post Reply