Speeding up the viewport preview

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.
Birkkromann
Posts: 9
Joined: Tue Apr 21, 2020 2:32 pm

Speeding up the viewport preview

Post by Birkkromann »

What steps can I take to speed up the viewport preview?
I want to have it nice and fast for material previews.
Last edited by Birkkromann on Wed Apr 22, 2020 6:43 am, edited 1 time in total.
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Speeding up the viewport preview

Post by Sharlybg »

My working way is :

1__ stay on CPU ( yes CPU it actually more responssive with less load time)

2__ reduce your window view

3__ use low clamp value between 5 to 30 depend of your scene.

4__ use a special collection with only the object your are working on
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
Oscar9531
Posts: 35
Joined: Sat Oct 05, 2019 3:42 am

Re: Speeding up the viewport preview

Post by Oscar9531 »

Birkkromann wrote: Tue Apr 21, 2020 4:17 pm What steps can I take to speed up the viewport preview?
I want to have it nice and fast for material previews.
I use a crop view by pressing ctrl + B, which makes the software more efficient, even if is a large crop view
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: Speeding up the viewport preview

Post by lacilaci »

I wonder if this is related to opencl and if cuda could speed this up.
For example in octane there is a small delay between changes but UI is always as responsive as if no rendering is happening, so quick changes are no problem. In luxcore however we always have to wait for the update to register in viewport rendering and in the meantime UI is "frozen".
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Speeding up the viewport preview

Post by B.Y.O.B. »

Currently, in BlendLuxCore the framerate of the whole Blender interface is coupled to the LuxCore framerate during viewport render. In Cycles and Octane, the two are most likely decoupled and independent.
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Speeding up the viewport preview

Post by Sharlybg »

Currently, in BlendLuxCore the framerate of the whole Blender interface is coupled to the LuxCore framerate during viewport render. In Cycles and Octane, the two are most likely decoupled and independent.
Are we locked in this behaviour by a APi limitation or it is changeable ?
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Speeding up the viewport preview

Post by B.Y.O.B. »

It seems to me like a result of the design of the LuxCore RT engines, e.g. as discussed here, but i'm not 100% sure. Maybe it is possible to decouple it without changing the RT engine implementations.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Speeding up the viewport preview

Post by Dade »

B.Y.O.B. wrote: Wed Apr 22, 2020 10:40 am It seems to me like a result of the design of the LuxCore RT engines, e.g. as discussed here, but i'm not 100% sure. Maybe it is possible to decouple it without changing the RT engine implementations.
If you use the not "RT" version of the engines it will be decoupled :idea:
Support LuxCoreRender project with salts and bounties
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Speeding up the viewport preview

Post by Sharlybg »

If you use the not "RT" version of the engines it will be decoupled
But there was a reason why we go with RT engine. are we going to loose something by leaving this RT engine instead of adapt it to be decoupled ?
isn't Rt more optimized for viewport render preview ?
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Speeding up the viewport preview

Post by Dade »

Sharlybg wrote: Wed Apr 22, 2020 11:22 am are we going to loose something by leaving this RT engine instead of adapt it to be decoupled ?
isn't Rt more optimized for viewport render preview ?
You loose the "zoom in" effect at the start of the rendering (i.e. rendering with large pixel blocks and than refine).

P.S. I can decouple RT too but I will have to use some more memory to store a copy of the image.
Support LuxCoreRender project with salts and bounties
Post Reply