Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Feature Requests => Topic started by: Dalton Watts on 2022-12-04, 13:31:08

Title: Viewport interactive rendering + GPU + Denoise at first sample
Post by: Dalton Watts on 2022-12-04, 13:31:08
I was fiddling around with Blender and Cycles and really liked their fluid implementation of Cycles rendering on the viewport.

In Cycles since the viewport is denoising in real-time for every sample, we can set a start sample so that the denoiser doesn't kick in before a set number of samples has already been calculated. That's the default behavior for Cycles. If we change that so the denoiser only kicks in at a later sample it behaves similarly to Corona or V-Ray.

The viewport rendering (similar to viewport IPR on V-ray and the "Interactive rendering in 3ds max viewport" as suggested on "The most wanted feature?" topic on the forum) alongside the GPU rendering with all the scalability that GPU rendering allows would greatly improve Corona experience, in my opinion.

I know GPU rendering and viewport interactive rendering may be in the distant future (or never happening at all) but can we, as of right now, start the AI denoiser on the first sample in order to simulate default Cycles viewport rendering behavior?

Note: In the video, I'm using a GTX 1070 Ti which is very far from the latest and greatest but it is still a smooth experience.
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: Dalton Watts on 2023-01-11, 16:09:56
No one?
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: maru on 2023-01-13, 11:01:40
can we, as of right now, start the AI denoiser on the first sample in order to simulate default Cycles viewport rendering behavior?

But why? I do not see any argument in your message.
Why is seeing a low-quality, unrefined image worse than seeing the same thing just with additional blurring?



Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: dj_buckley on 2023-01-13, 11:34:41
Not really sure whether what I'm about to say helps here, but that video posted by Dalton looks far more 'interactive' than what I get with Corona IR.  It gives a much better representation of the final render in a much shorter space of time?
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: Dalton Watts on 2023-01-13, 11:56:01
can we, as of right now, start the AI denoiser on the first sample in order to simulate default Cycles viewport rendering behavior?

But why? I do not see any argument in your message.
Why is seeing a low-quality, unrefined image worse than seeing the same thing just with additional blurring?

The argument is there. If the AI denoiser starts at the first sample, the interactivity improves even though the first sample has notorious AI artifacts that soon fade away, at least in my view. This combined with GPU support would greatly improve Corona's usability.
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: romullus on 2023-01-13, 12:19:48
Maybe it's better idea to give an option to chose when real-time denoising should kick-in, similarly like we can chose with adaptivity? That way everyone would be able to adjust it at the level where are they happy. Personally i sometimes wish that denoising would start later, because at early stages it turns everything into unreadable mush. I think pass 10 for me could be a sweet spot.
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: Dalton Watts on 2023-01-13, 12:56:11
Exactly romullus! Everyone works differently.
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: lupaz on 2023-01-13, 16:32:43
Not sure if this helps you, but these settings help me get the effect you're describing, without denoising. It's how Corona behaved years ago.
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: Dalton Watts on 2023-01-13, 16:50:13
Not sure if this helps you, but these settings help me get the effect you're describing, without denoising. It's how Corona behaved years ago.

I already have that setup lupaz :-) Not quite the same.
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: Avi on 2023-01-23, 10:13:08
Hi,

We have logged this as a feature request in our system if there will be any update on this, we will let you know.

(Internal ID=1037725204)

Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: Dalton Watts on 2023-01-23, 11:23:32
Hi,

We have logged this as a feature request in our system if there will be any update on this, we will let you know.

(Internal ID=1037725204)

Thanks Avi! I was hoping it would be something we could change already in the "Development / Experimental stuff" tab, for example. I guess not.
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: Dalton Watts on 2023-05-26, 16:10:41
Have any tests been done on this Avi? Is it feasible? Thanks!
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: Avi on 2023-05-30, 10:18:33
Hi,

No immediate promises yet but it is still in our list of suggestions. We will let you know if there is any further development on this.
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: Dalton Watts on 2023-11-16, 00:03:34
Should I lose hope on this? Implementing "denoise at first sample" could result in a more fluid user experience in interactive rendering even if we're unable to use GPU. Is this hard to test guys? Thanks!
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: Dalton Watts on 2024-01-02, 12:45:02
Since I don't have a compatible GPU, can anybody please confirm if the new Intel GPU AI denoiser in interactive resolves the image similarly to how the Open image denoiser in Cycles does it? Or is it that Corona, by default, does not start denoising at the first sample and it is irrelevant what denoiser we use?
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: romullus on 2024-01-02, 13:18:58
Since I don't have a compatible GPU, can anybody please confirm if the new Intel GPU AI denoiser in interactive resolves the image similarly to how the Open image denoiser in Cycles does it? Or is it that Corona, by default, does not start denoising at the first sample and it is irrelevant what denoiser we use?

I don't know how the OIDN denoiser works in Blender, but in Corona interactive it works the same way as Optix does. Subjectively it feels like the former does smear result a little bit less than the latter, but the difference is quite subtle.
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: Dalton Watts on 2024-01-02, 13:25:14
Thanks Romullus! I guess that the essential part is really the ability for the user to select "Start Sample" as Blender has (see image in attachment)

Also, Arnold has OIDN, and the way it blurs the image is very similar to Cycles. I don't know if Arnold also has the "Start Sample" option because I don't use it.
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: Avi on 2024-01-03, 09:44:31
You might want to change IR subsampling number depending on preference between speed vs quality.
Title: Re: Viewport interactive rendering + GPU + Denoise at first sample
Post by: Dalton Watts on 2024-01-03, 12:47:36
Hi Avi. That's the way I have worked for years now. Finding a balance depending on scenes. I was just curious to know how OIDN worked in interactive and if it started denoising sooner than Optix.