Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: atelieryork on 2015-09-17, 12:38:50

Title: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: atelieryork on 2015-09-17, 12:38:50
Hi folks,

I have CoronaInteractive in one of my viewports, rendering away fine. I then launch a proper CoronaVFB Render to test how it looks at higher res and let it finish.

At this point nothing else should happen, but what does happen is that the CoronaVFB immediately disappears and the Interactive session starts up again. If I then hit the ShowCoronaVFB button nothing happens. If I close the Interactive session I still can't recover the CoronaVFB.

In other words, the Interactive is killing the main VFB render completely and is non-recoverable.

If I launch the CoronaVFB Render without using Interactive first, all is fine.

Using latest daily build. Max 2016 SP1.
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: atelieryork on 2015-09-17, 12:48:41
Note also that if I maximise my perspective viewport (the camera view), so the interactive viewport is not visible in max, and then launch a VFB render, the same thing happens. The render completes fine, but then the VFB remains open. but as soon as I minimise/restore back to Quad view, the Interactive viewport launches and the VFB is closed and the render lost.
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: atelieryork on 2015-09-17, 12:50:51
I am also having some issues with the Interactive renderer not updating and only showing the result of the previous session, even after starting a fresh session.
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: maru on 2015-09-17, 15:02:28
All of this is known but apparently hard to fix. To see the content of your regular VFB, you can go to rendering > rendered frame window. This will show natie max vfb with your last Corona rendering inside.

The thing with interactive showing result of previous session - does it get fixed after you restart IR or move any of the objects in scene?
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: atelieryork on 2015-09-17, 15:07:28
Ah yes I forgot it was saved somehow in the max FB as well. At least the render is somewhat recoverable. (although I assume only the beauty pass. other passes will be lost I guess). hope this can be fixed soon...

Maybe for now it should be made that Corona will automatically disable the current Interactive Session when you hit Render. Could this be done? Or at least a warning popup?

As for the locking Interactive window.. I just opened a fresh max instance, opened my scene, started an interactive session and it's jammed after just a few seconds. seems to be scuck on some kind of pre-calc stage. No amount of jiggling things around in the viewport fixes it. EDIT: it seems not to like one of my cameras. All other cams are fine... weird.
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: atelieryork on 2015-09-17, 15:10:53
Ok I think I found the issue. It's a bug. Using PhysCam, if Perspective control is on, say a vertical lens shift, AND you're using target camera, Interactive doesn't work. If you disable either the target OR the lens shift it works.

To be even more specific: only shift is causing the bug. tilt doesn't cause a problem and interactive updates fine.

So, it's a bug with lens shift + interactive.
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: maru on 2015-09-17, 17:16:23
Doesn't happen here. Can you upload some extremely simple scene where this happens? (camera+teapot?)
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: atelieryork on 2015-09-18, 09:53:00
Hey Maru - sure I will try to make a simple version and see if I can reproduce reliably.
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: atelieryork on 2015-09-18, 09:58:55
Hmm. Just opened Corona and my license has somehow disappeared?

Anything going on behind the scenes today?
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: atelieryork on 2015-09-18, 10:05:52
So I reactivated my FairSAAS license and it seems ok now. Wonder why that happened?

Anyway, Maru (and others) here's the scene, max 2016 format:

https://www.dropbox.com/s/rb1nyy00n4hc250/for_maru.max?dl=0

Dead simple scene. Making a new camera causes the same problem.

Everything works fine except Shift. Which doesn't update in the interactive renderer.
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: atelieryork on 2015-09-25, 15:08:27
Hi Maru,

Did you receive the file ok? I could re-upload if needed.

I found this same bug on a different scene I'm now working on. Using shift = no interactive update.
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: maru on 2015-09-25, 15:29:23
Hi, I did not check this yet, but I will. Sorry for the delay.
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: atelieryork on 2015-09-25, 15:30:05
No worries. I'll leave the file up there.
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: maru on 2015-10-02, 12:14:57
I just checked and everything works fine in 1.2.1 and daily build. Or maybe I am doing something wrong. I switched to the camera in that file, enabled targeted and shift. IR updates fine docked and floating, regular rendering works too. Also created a new camera and did that, works fine again. Would be great if someone else could check this.
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: atelieryork on 2015-10-02, 12:16:07
Hey Maru.

I'll check again on a fresh scene myself later if I get a moment. 2 deadlines today.

Cheers,
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: atelieryork on 2015-10-02, 16:53:29
Well I opened that file I sent you and did the same thing and it doesn't work, for me. On the latest daily build here.

As soon as I disable Lens Shift it works perfectly.

Make sure you're testing Lens SHIFT and not Tilt Correction. The latter works fine. The shift doesn't work, for me at least.
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: maru on 2015-10-02, 17:24:04
This is odd. I am sure I checked shift, as there were other problems with shift recently ( https://corona-renderer.com/bugs/view.php?id=1337 ).
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: atelieryork on 2015-10-02, 17:26:57
Weird!

To be honest I've had a LOT of weirdness with Corona and max this last few weeks. Who knows, really. Today I had a load of QNAN black spots in my scene and nothing causing them at all, then I restarted max and re-rendered and they were gone (nothing changed in scene at all, so I think this is related to not clearing the VFB between renders...), objects randomly disappearing and being moved in max, all sorts of things...
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: Ondra on 2015-10-13, 20:47:48
Fixed the disappearing stuff
Title: Re: CoronaVFB disappears after a render when using CoronaInteractive at same time
Post by: atelieryork on 2015-10-14, 09:41:00
Excellent!