Page 2 of 2
Re: GPU viewport performance
Posted: Fri Sep 04, 2020 6:48 am
by Sharlybg
Dade wrote: ↑Thu Sep 03, 2020 11:35 pm
Sharlybg wrote: ↑Thu Sep 03, 2020 9:08 pm
Is possible to do inside luxcore code 2x2 during input and navigation and switch back to 8x1 automatically right after ?
It is but it is a parameter BlendLuxCore doesn't expose (the number of samples it will take the transition from block to pixel rendering).
Just show me wich line i should change in wich file ( with the appropriate suit of string and number ).
Will just want to copy paste new test code line from you and see if it make any difference.
Re: GPU viewport performance
Posted: Fri Sep 04, 2020 2:20 pm
by B.Y.O.B.
Re: GPU viewport performance
Posted: Fri Sep 04, 2020 3:40 pm
by Sharlybg
As DADE said here :
It is but it is a parameter BlendLuxCore doesn't expose (the number of samples it will take the transition from block to pixel rendering)
Wich setting control number of sample before transition ?
Code: Select all
# Render a sample every n x n pixels in the first passes.
# For instance 4x4 then 2x2 and then always 1x1.
definitions["rtpath.resolutionreduction.preview"] = resolutionreduction
# Each preview step is rendered for n frames.
definitions["rtpath.resolutionreduction.step"] = 1
# Render a sample every n x n pixels, outside the preview phase,
# in order to reduce the per frame rendering time.
definitions["rtpath.resolutionreduction"] = 1
"""
# TODO figure out good settings
# 4, 2, 2 seems to be quite ok for now. Maybe make resolutionreduction dependent on film size later.
definitions["rtpath.resolutionreduction.preview"] = resolutionreduction
definitions["rtpath.resolutionreduction.preview.step"] = 2
definitions["rtpath.resolutionreduction"] = 2
Re: GPU viewport performance
Posted: Fri Sep 04, 2020 7:09 pm
by Dade
Sharlybg wrote: ↑Fri Sep 04, 2020 3:40 pm
Wich setting control number of sample before transition ?
Code: Select all
# Each preview step is rendered for n frames.
definitions["rtpath.resolutionreduction.step"] = 1
It should be this one.
Re: GPU viewport performance
Posted: Fri Sep 04, 2020 9:27 pm
by Sharlybg
Dade wrote: ↑Fri Sep 04, 2020 7:09 pm
Sharlybg wrote: ↑Fri Sep 04, 2020 3:40 pm
Wich setting control number of sample before transition ?
Code: Select all
# Each preview step is rendered for n frames.
definitions["rtpath.resolutionreduction.step"] = 1
It should be this one.
This part is commented so i copy past it outside of the string then play with the number but it doesn't affect anything . so not sure about it.
Code: Select all
# TODO figure out good settings
# 4, 2, 2 seems to be quite ok for now. Maybe make resolutionreduction dependent on film size later.
definitions["rtpath.resolutionreduction.preview"] = resolutionreduction
definitions["rtpath.resolutionreduction.preview.step"] = 2
definitions["rtpath.resolutionreduction"] = 2
definitions["rtpath.resolutionreduction.step"] = 1000
What i've done (the last line).