Hi guys,
I have a file flm created by luxcore 2.5beta1 under linux.
I wan to open it (using sdk) under windows, where I have luxcore 2.5rc1. I get an error. Is it reverse compatible or no?
If I create flm file under windows and read it under windows it works.
reading flm files
Re: reading flm files
Since we dropped the support for Boost portable achieves, they may not work across different OS Or, more likely compilers, the long type has probably different size on Window and Linux, etc.bartek_zgo wrote: ↑Tue Mar 09, 2021 1:22 pm I have a file flm created by luxcore 2.5beta1 under linux.
I wan to open it (using sdk) under windows, where I have luxcore 2.5rc1. I get an error. Is it reverse compatible or no?
If I create flm file under windows and read it under windows it works.
P.S. are you using official binaries ?
-
- Posts: 116
- Joined: Mon Oct 26, 2020 11:42 am
Re: reading flm files
No. I have compiled it on my own. I will try to download official one. But if they can not work across different OS this is very bad for me. We do all renders under linux. In most cases we deliver an exr file for user. But we want to give e feature to send flm file to adjust lights. How can I do this?
Re: reading flm files
You can save an .exr for each light group and than combine them on client software: the result is just the sum of each .exr scaled according the user light group scale. This probably more efficient than transmitting the .flm (.exr file format is a lot more compact). However you loose the image pipeline post processing (you have to do it on client) so may be not applicable.bartek_zgo wrote: ↑Tue Mar 09, 2021 2:10 pm But we want to give e feature to send flm file to adjust lights. How can I do this?
If my memory is not wrong, you submitted the patch for removing Boost portable achieves.
As far as I know, the only portable format supported by Boost is the Text/XML one however I don't know if it processing time and size may become prohibitive.
-
- Posts: 116
- Joined: Mon Oct 26, 2020 11:42 am
Re: reading flm files
For sure I didn't submitted the patch for removing Boost. You've asked me if I'm using official libraries. But I can not find precompiled SDK for 2.5
Re: reading flm files
https://github.com/LuxCoreRender/LuxCore/pull/178bartek_zgo wrote: ↑Tue Mar 09, 2021 2:49 pm For sure I didn't submitted the patch for removing Boost.
EOS is what Boost portable archives are.
-
- Posts: 116
- Joined: Mon Oct 26, 2020 11:42 am
Re: reading flm files
Ciao Dade,
I'm not bartoszek. bartek_zgo != bartoszek
I'm not bartoszek. bartek_zgo != bartoszek
-
- Posts: 116
- Joined: Mon Oct 26, 2020 11:42 am
Re: reading flm files
Don't you thing that this is quite strange idea to have a file that depends on OS. I understand that because of performance issues a temporary file may be written in OS dependent way. But the output file should be independent. So at this moment as I understand, if I have to machines one Win other Linux, I can not start render on both of them and than merge the flm files. I remember in old luxrender there was a very nice light editor. I could make a render and than send flm file to my friend to play with it. Now all this stuff is not possible.
Don't you think that it wold be nice to normalize flm files? Maybe some post process after render. Maybe a plugin to pipeline?
Don't you think that it wold be nice to normalize flm files? Maybe some post process after render. Maybe a plugin to pipeline?
Re: reading flm files
As I wrote, it may be possible to use Boost Text/XML archive format to achieve portability. Pyluxcore tools "merge" could be extended to convert between binary and text format.bartek_zgo wrote: ↑Wed Mar 10, 2021 9:49 am Don't you think that it wold be nice to normalize flm files?
-
- Posts: 116
- Joined: Mon Oct 26, 2020 11:42 am
Re: reading flm files
Thanks Dade, I think using Text/XML archive is not a good idea. They will be huge. Am I right? I will try your previous suggetion to create one exr for each light group.