Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => Topic started by: Phasma on 2018-05-02, 16:37:19

Title: interactive rendering restarts on mouse move
Post by: Phasma on 2018-05-02, 16:37:19
Hello

In a scene, the interactive Rendering is always restarting if the mouse cursor was moved over a viewport or the frame buffer. sounds like a bug, but might be something different (like a strange script controller maybe...)

did somebody else encounter this behaviour?
Title: Re: interactive rendering restarts on mouse move
Post by: Juraj on 2018-05-02, 20:06:55
I get it pretty often ;- ).

I haven't been yet able to find out what feature exactly contributes towards it. I was given suggestion that it is another culprit stemming from physical camera but I do have some doubts.
Mainly because it reacts to framebuffer itself which is not 3dsMax native thing.

Usually it comes with second bug on top (but not always together) when even when not moving cursor, it will restart after certain (different) amount of passes or time or whatever it is. In loop.


Title: Re: interactive rendering restarts on mouse move
Post by: Phasma on 2018-05-03, 09:37:45
ok, so we are not the only ones (with a good amount of custom tools in our pipe, this would have been possible though). What kind of things are exactly triggering the callback for the interactive render refresh? maybe we can break it down this way?
Title: Re: interactive rendering restarts on mouse move
Post by: Juraj on 2018-05-03, 13:28:40
I have zero custom tools so you can safely discount that :- ).

I have a scene, where only one camera does it I believe. There are two cameras and I think they are pretty identical...I will try to find time to open it and see if I can figure something.
Title: Re: interactive rendering restarts on mouse move
Post by: Ondra on 2018-05-07, 18:06:26
3dsmax physical camera is still causing this and we cannot fix this, only solution is to either not use 3dsmax physical camera (use corona cam instead), or wait for bugfix in 3dsmax...
Title: Re: interactive rendering restarts on mouse move
Post by: Fluss on 2018-05-07, 18:38:24
3dsmax physical camera is still causing this and we cannot fix this, only solution is to either not use 3dsmax physical camera (use corona cam instead), or wait for bugfix in 3dsmax...

Only one solution then
Title: Re: interactive rendering restarts on mouse move
Post by: Phasma on 2018-05-07, 20:11:56
ok. interesting... it happens only on some of the physical cameras however. we only use them and only had this issue once.
Title: Re: interactive rendering restarts on mouse move
Post by: Beanzvision on 2018-05-08, 20:53:24
Happens to me too in Max 2019. Yet, I only ever use the CoronaCam.
Title: Re: interactive rendering restarts on mouse move
Post by: Ondra on 2018-05-08, 20:58:25
AFAIK it only happens with targetted phys cam...
Title: Re: interactive rendering restarts on mouse move
Post by: Beanzvision on 2018-05-08, 21:31:18
AFAIK it only happens with targetted phys cam...
I'll try and vid capture it tomoz for you. Just to be clear I should mention it was via the vfb not docked IR.
Title: Re: interactive rendering restarts on mouse move
Post by: maru on 2018-05-10, 17:53:02
@Ben, if you are able to reproduce it, please let us know. This would be a quite serious issue, and it would be great to fix it.
Title: Re: interactive rendering restarts on mouse move
Post by: Beanzvision on 2018-05-10, 19:27:13
@Ben, if you are able to reproduce it, please let us know. This would be a quite serious issue, and it would be great to fix it.
Absolutely, I tried with with the problematic scene today but it was playing nice. I'll keep at it though.
Title: Re: interactive rendering restarts on mouse move
Post by: Beanzvision on 2018-05-19, 16:59:37
Well I managed to capture it happening even without touching or moving the mouse. Just after pass 15 the IR restarts. Skip to 3:40secs
Title: Re: interactive rendering restarts on mouse move
Post by: rombo on 2018-05-21, 15:28:54
Could it be your autosave? I know mine starts if it autosaves - the default max autosave is 5 min, but if your system autosaves and 2 mins after you get your Interactive Render going, you're only going to get 3 min before it autosaves again, issuing another restart.
I have my autosave for 15 min precisely because of this, to avoid the restart 5 minutes after.
Title: Re: interactive rendering restarts on mouse move
Post by: Beanzvision on 2018-05-21, 17:08:55
I had a quick look and it's off. Pretty strange.
Title: Re: interactive rendering restarts on mouse move
Post by: Dung (Ivan) on 2018-06-05, 21:36:44
@Ben @Juraj

I've been investigating the issue thoroughly and it really seems to be caused by 3ds Max file backup. When I had it disabled, I didn't encounter any resets even when I flew my mouse all over the place selecting and deselecting objects, turning sub-windows on and off.

While 3ds Max file backup was turned on, I was able to reproduce the same thing in Bens video. The thing here is that it's not always backing up files. It backed up whenever I selected and deselected an object (nothing else done to it, just select and deselect). But if I just move around with my mouse and change window focus, IR runs uninterupted.

Another thing would be Camera settings, I used CoronaCam, PhysCam, Target Cam and Free Cam. All with default settings. If you had other setting on your cameras, would you mind telling me? Or even better, if you still encounter this issue with disabled file back up. Would you mind sharing the scene itself?

Thank you very much
Title: Re: interactive rendering restarts on mouse move
Post by: Frood on 2018-07-05, 17:45:37
Maybe some special scene objects cause this additionally? I'm able to reproduce it at least with a GrowIvy (v 0.97b) object. Even just selecting the move or rotate button from the main toolbar or activating snaps causes a restart. Also having snaps on and moving the mouse over the (currently rendererd) viewport. This happens in every type of viewport, no cam needed. Applying a edit mesh on top resolves this.


Good Luck


Title: Re: interactive rendering restarts on mouse move
Post by: zeleal95 on 2023-09-14, 11:29:46
Hi everyone,

This same issue is happening to me and I tried to disable auto back up but it's still happening.

There's any other solution? I don't know what to do anymore.

Thank you
Title: Re: interactive rendering restarts on mouse move
Post by: maru on 2023-09-19, 15:12:30
This same issue is happening to me and I tried to disable auto back up but it's still happening.
There's any other solution? I don't know what to do anymore.

Hi, can you please explain what exactly is happening? Also, which versions of Corona and Max are you using?
If you are getting a freeze in the VFB unless you move it or click inside it, then please see here: https://forum.corona-renderer.com/index.php?topic=34859.msg202882#msg202882
Title: Re: interactive rendering restarts on mouse move
Post by: pokoy on 2023-09-19, 17:05:47
I think this is solved, separate thread here: https://forum.corona-renderer.com/index.php?topic=40958.msg216866#msg216866 (https://forum.corona-renderer.com/index.php?topic=40958.msg216866#msg216866)
OP didn't update the thread, so for all interested - it was the 'Section' object, apparently it continuously triggers a scene refresh.
Title: Re: interactive rendering restarts on mouse move
Post by: maru on 2023-09-19, 17:38:47
Thanks, I'm a bit out of the loop. I'm glad that it's solved and maybe we could fix IR with this specific object.
Title: Re: interactive rendering restarts on mouse move
Post by: Hubl on 2023-09-20, 16:24:20
Interactive rendering restarts when changing materials name :-( thats really sad :-(
Title: Re: interactive rendering restarts on mouse move
Post by: maru on 2023-09-20, 16:32:31
We revisited this multiple times and unfortunately we can't fix it. It's a 3ds Max limitation and it also happens in other renderers.