how to: luxcore UI resumable rendering
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
how to: luxcore UI resumable rendering
Hi all,
i am trying to get my feet wet with resumable rendering in luxcore (got nostalgic about lux 1.x days)
i think i am doing something wrong, or am missing a step.
can anyone please point out where i am messing up?
in blender 2.8 i do the following:
-tick the checkbox "LuxCore Filesaver"
-set a directory
-select "text" from the dropdown then render(F12), and do the same with "binary"
now i have both .BCF and .CFG files
in luxcoreui v2.2 i do the following:
-select "rendering" menu then choose "load" option
-choose the .CFG file that was exported by blender
-let it render for about a minute
-click "rendering" menu then "pause" option
-click "film" menu then "save outputs" option (just to check if everything is going as intended)
for some reason, luxcoreui v2.2 does not seem to "know" that my scene was in 1920x1080 (or any other resolution i have set)
this leads to a smaller image than intended and this also is the case with using a .BCF file
i have tried to save the render state to a .RSM file to see if doing this would fix things but the same thing happens
what did i do wrong? what did i miss?
any help would be appreciated, thanks in advance you awesome people!
i am trying to get my feet wet with resumable rendering in luxcore (got nostalgic about lux 1.x days)
i think i am doing something wrong, or am missing a step.
can anyone please point out where i am messing up?
in blender 2.8 i do the following:
-tick the checkbox "LuxCore Filesaver"
-set a directory
-select "text" from the dropdown then render(F12), and do the same with "binary"
now i have both .BCF and .CFG files
in luxcoreui v2.2 i do the following:
-select "rendering" menu then choose "load" option
-choose the .CFG file that was exported by blender
-let it render for about a minute
-click "rendering" menu then "pause" option
-click "film" menu then "save outputs" option (just to check if everything is going as intended)
for some reason, luxcoreui v2.2 does not seem to "know" that my scene was in 1920x1080 (or any other resolution i have set)
this leads to a smaller image than intended and this also is the case with using a .BCF file
i have tried to save the render state to a .RSM file to see if doing this would fix things but the same thing happens
what did i do wrong? what did i miss?
any help would be appreciated, thanks in advance you awesome people!
Re: how to: luxcore UI resumable rendering
You don't need to do both, you can just use the binary format (if you do not intended to hand edit the text files): the .bcf binary file already includes everything, geometries, materials, textures, image maps, etc.
Both the .bcf and .rsm are totally stand alone/complete formats. It is different from old Lux where you needed the .flm and the full scene to start/re-start the rendering.
LuxCoreUI, be default will use the current window resolution for the rendering, you need to set LuxCoreUI in "Image view" mode: menu => Tool => Image view (the default is "Camera edit").arescet wrote: ↑Fri Oct 18, 2019 10:40 pm in luxcoreui v2.2 i do the following:
-select "rendering" menu then choose "load" option
-choose the .CFG file that was exported by blender
-let it render for about a minute
-click "rendering" menu then "pause" option
-click "film" menu then "save outputs" option (just to check if everything is going as intended)
for some reason, luxcoreui v2.2 does not seem to "know" that my scene was in 1920x1080 (or any other resolution i have set)
Once in "Image view", you can render at any resolution you want, the window will gain 2 scroll bars and you can render at any resolution you want.
You may want to enable periodic image saving like with old Lux too.
Re: how to: luxcore UI resumable rendering
I believe the render resuming does not work, unless you compile custom version of luxcore ui with default resolution = the resolution you render in. Same with film merging. Not sure about border render film merging, maybe border render is also locked at default resolution
Re: how to: luxcore UI resumable rendering
You can pass the resolution as a command line argument.
Note that luxcoreui is a developer tool, not aimed at end users.
Note that luxcoreui is a developer tool, not aimed at end users.
Re: how to: luxcore UI resumable rendering
Code: Select all
› ./luxcoreui -h
LuxCoreUI v2.2beta2 (LuxCore demo: http://www.luxcorerender.org)
Usage: ./luxcoreui [options] [configuration file]
-o [configuration file]
-f [scene file]
-w [window width]
-e [window height]
-g <enable full screen mode>
-t [halt time in secs]
-D [property name] [property value]
-d [current directory path]
-m <makes the mouse operations work in "grab mode">
-c <remove all unused meshes, materials, textures and image maps>
-h <display this help and exit>
Re: how to: luxcore UI resumable rendering
Thx B.Y.O.B
Custom resolution works for me like that:
But how can i resume RSM file?
Custom resolution works for me like that:
Code: Select all
luxcoreui.exe -o C:\Users\Human\Documents\swimming_pool_benchmark\swimming_pool_benchmark_LuxCore\00001\render.cfg -f scene.scn -w 4000 -e 2666
Re: how to: luxcore UI resumable rendering
It works
Code: Select all
Render custom resolution
cd C:\luxcorerender-v2.2-win64-opencl
luxcoreui.exe -o C:\render.cfg -f scene.scn -w 4000 -e 2666
Resume render from rsm file
cd C:\luxcorerender-v2.2-win64-opencl
luxcoreui.exe -o C:\resume.rsm -f scene.scn -w 4000 -e 2666
Re: how to: luxcore UI resumable rendering
You don't need to do both, you can just use the binary format (if you do not intended to hand edit the text files): the .bcf binary file already includes everything, geometries, materials, textures, image maps, etc.
Both the .bcf and .rsm are totally stand alone/complete formats. It is different from old Lux where you needed the .flm and the full scene to start/re-start the rendering.
LuxCoreUI, be default will use the current window resolution for the rendering, you need to set LuxCoreUI in "Image view" mode: menu => Tool => Image view (the default is "Camera edit").
Once in "Image view", you can render at any resolution you want, the window will gain 2 scroll bars and you can render at any resolution you want.
You may want to enable periodic image saving like with old Lux too.
glad you pointed imageview out, i am glad to know that .RSM files are complete files.
i will spend more time tinkering with the UI to figure out resumable rendering and periodic image saves like with old lux
that explains my instant non-dev fear of the UI then, ha!You can pass the resolution as a command line argument.
Note that luxcoreui is a developer tool, not aimed at end users.
› ./luxcoreui -h
LuxCoreUI v2.2beta2 (LuxCore demo: http://www.luxcorerender.org)
Usage: ./luxcoreui [options] [configuration file]
-o [configuration file]
-f [scene file]
-w [window width]
-e [window height]
-g <enable full screen mode>
-t [halt time in secs]
-D [property name] [property value]
-d [current directory path]
-m <makes the mouse operations work in "grab mode">
-c <remove all unused meshes, materials, textures and image maps>
-h <display this help and exit>
i appreciate the detailed command line arguments very much
Your example is much appreciated, i will give it a go myselfThx B.Y.O.B
Custom resolution works for me like that:
luxcoreui.exe -o C:\Users\Human\Documents\swimming_pool_benchmark\swimming_pool_benchmark_LuxCore\00001\render.cfg -f scene.scn -w 4000 -e 2666
It works
Render custom resolution
cd C:\luxcorerender-v2.2-win64-opencl
luxcoreui.exe -o C:\render.cfg -f scene.scn -w 4000 -e 2666
Resume render from rsm file
cd C:\luxcorerender-v2.2-win64-opencl
luxcoreui.exe -o C:\resume.rsm -f scene.scn -w 4000 -e 2666
Thanks to all for the tips!
you guys rock