Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: Dionysios.TS on 2021-02-22, 22:11:46

Title: Corona 7 Displacement - Not solved completely yet?
Post by: Dionysios.TS on 2021-02-22, 22:11:46
Hi,

well, I think the Displacement issues are not 100% resolved.
This is what I've noticed till now:

1. On heavy scenes, it happened twice, the render started relatively fast (no parsing issues) but all the objects that have a displacement map were disappeared from the render.
I attached an image where this happened for the second time. No road, some trees are missing, no walls, ecc.

2. Sometimes parsing times are ok, but not always. This behavior is not constant.

Thanks and have a nice evening!

Dionysios -
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: rowmanns on 2021-02-23, 11:14:37
Hi!

That definitely doesn't look right :( Would you be able to send this scene to me I would like to investigate it asap?

Can you also confirm your computer specification?

Thanks,

Rowan
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: Dionysios.TS on 2021-02-23, 11:52:51
Hi!

That definitely doesn't look right :( Would you be able to send this scene to me I would like to investigate it asap?

Can you also confirm your computer specification?

Thanks,

Rowan

Hi Rowan,

today I have no parsing slow downs like yesterday by the way. Very weird...
In any case, I can send you all the scene so you can investigate better. It's still a WIP but I warn you that the file will be quite big cause of the textures, (6GB with textures packed).
I'll send you a private message with the link once everything is packed and uploaded.

My specs are:

AMD Ryzen 5950X
128GB Ram
Gigabyte Aorus Master X570
GPU 3080 RTX
2 NVMe + 5 SSD

Win 10 updated to the last version
3ds Max 2021 updated to the last version
iToo Forest Beta 7

I'll get back to you ASAP.

Dionysios -
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: Dionysios.TS on 2021-02-23, 11:59:10
PM is sent to you.

Dionysios -
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: rowmanns on 2021-02-24, 11:31:08
Hi,

So far I was not able to reproduce this issue. I rendered the scene 20 times and each time it rendered correctly..

Do you get any warning or error messages during rendering?

At this point I would maybe suggest resetting your 3ds Max ENU folder, I experienced some strangeness like this in the past where resetting this folder helped.

As always, do make a backup of this folder first so you can go back if you need. See the following for instructions on how to do this: https://knowledge.autodesk.com/support/3ds-max/learn-explore/caas/sfdcarticles/sfdcarticles/Resetting-3ds-Max-3ds-Max-Design.html

Rowan
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: Dionysios.TS on 2021-02-24, 11:54:16
Hi,

So far I was not able to reproduce this issue. I rendered the scene 20 times and each time it rendered correctly..

Do you get any warning or error messages during rendering?

Rowan

Hi Rowan,

Yesterday everything worked fine for me as well but 2 days ago I had parsing time slow down and then the objects disappeared from the render twice! This is the reason why I opened the post here again. I had no warnings or errors at all. Only slow parsing time which wasn't as slow as before the fix we are using now. Just a bit slower than normal.

Yesterday I did a lot of tests and previews on that scene and me too as you, no issues.  -.-

At this point I want to report something but I don't want to complicate things, just for you to know.
A month ago I decided to start using the Substance materials and as you probably know, we have 2 ways to use them:

1. Via the Substance plugin.
2. By exporting from Substance SW all the maps and build each shader manually.

My experience:

1. A disaster! A lot of crashes, very often the plugin was resetting the parameters and then guess what? Object with displacement were disappeared very very often from the scene.
I naturally thought that this issue was related to the plugin itself and not to Corona or 3ds Max 2021.

2. Transforming the parametric materials in maps then manually created the shaders and had no issues at all.

So, this behavior I saw twice the other day really surprises me as there are NO SUBSTANCE parametric materials at all in the scene. Since I had those problems I never used them again. I just use their maps (which I like) but not their native shaders.

Let's keep in touch, I have a lot of work to do these days so I'll have more change to check if this behavior turns back or not and figure out when.

For now I have no more clues.
Thanks for helping as always.

Thanks!
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: rowmanns on 2021-02-24, 13:19:50
Hey,

Okay understood.

We do have some crashes with substance logged in our system already. They are with our dev team to see if something can be done. (Report ID=CRMAX-185)

Otherwise I'm glad currently everything seems to be working. Do let me know if you experience further problems.

Rowan

Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: Dionysios.TS on 2021-02-26, 16:38:12
Hey,

Okay understood.

We do have some crashes with substance logged in our system already. They are with our dev team to see if something can be done. (Report ID=CRMAX-185)

Otherwise I'm glad currently everything seems to be working. Do let me know if you experience further problems.

Rowan

Hi, today the scene I've sent to you it behaves very strangely again.
Parsing time became slow and right now objects are again disappeared. I am sending you an image...

The only thing I did was to merge some new plants in the scene. I have the feeling that when I add something new in the scene, it starts behaving like this. But as you noticed it doesn't happens always.
Close Max and restart resolves temporary the issue.

Dionysios -
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: rowmanns on 2021-02-26, 19:21:37
Hi,

Okay this is definitely very strange.

Are you able to send me the models which your are merging into the scene as well as maybe a video of exactly what your doing when this happens?

Maybe I am missing some important step..

Cheers,

Rowan
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: Dionysios.TS on 2021-02-26, 19:41:00
Hi,

Okay this is definitely very strange.

Are you able to send me the models which your are merging into the scene as well as maybe a video of exactly what your doing when this happens?

Maybe I am missing some important step..

Cheers,

Rowan

I am going to pass to you the original files of those plants.
Now in my case everything works fine, as I said, I closed Max, run it again and no issues.
I only merged them in the scene, in a first step I pointed the software to the new maps and rendered in interactive to tweak the materials and suddenly happened again.

I'll send you an email once uploaded!

Thanks again Rowan.
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: rowmanns on 2021-03-01, 13:53:40
Hi,

Thanks again for the assets, I am still not able to reproduce this issue.

Would you 1) be able to send me a video of exactly how you manage to reproduce this, and 2) could you try to reset your enu folder as I suggested above and see if this resolves the issue?

Cheers,

Rowan
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: Juraj on 2021-03-01, 14:06:23
I had the very same issue of all displacement objects being invisible at some random rendering. And then again just fine right after.

Not replicated myself, happened twice with the previous daily. Unlike Dionysios, I never installed any Substance plugin, so I am 100perc. sure it's unrelated to it and it's purely Corona issue.

I am not sure I remember correctly... but I believe this issue was at IR, not regular rendering.
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: Dionysios.TS on 2021-03-01, 14:40:14
I had the very same issue of all displacement objects being invisible at some random rendering. And then again just fine right after.

Not replicated myself, happened twice with the previous daily. Unlike Dionysios, I never installed any Substance plugin, so I am 100perc. sure it's unrelated to it and it's purely Corona issue.

I am not sure I remember correctly... but I believe this issue was at IR, not regular rendering.

Hi Juraj and I hope you're fine first of all.
Yes, it happened to me as well only in IR mode. But the problem is that I can't replicate it! Now everything works perfectly fine.... New displacement fix as well.
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: rowmanns on 2021-03-01, 14:49:11
Hi,

I will log this in our system, and we will continue to investigate it here.

Did you try this with the build from the 26th of February too?

Let me know if you continue to experience it and find some solid reproduction steps.

Cheers,

Rowan
(Report ID=CRMAX-311)
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: Dionysios.TS on 2021-03-01, 15:06:16
Hi,

I will log this in our system, and we will continue to investigate it here.

Did you try this with the build from the 26th of February too?

Let me know if you continue to experience it and find some solid reproduction steps.

Cheers,

Rowan
(Report ID=CRMAX-311)

The 26th February build is installed and had no issues till now. Everything work as excepted.
But I agree, if I see anything strange, I'll be back!
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: rowmanns on 2021-03-16, 16:10:53
Hi Dionysios,

Did you encounter this issue again?

Thanks,

Rowan
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: Dionysios.TS on 2021-03-16, 16:14:11
Hi Rowan,

last weekend I launch the final renders of that job, everything went well but during the last IR tests it happened again 3 times.
Objects were disappeared, stop, restart and was ok.
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: rowmanns on 2021-03-16, 16:25:28
Hi,

That's really strange. Please would you be able to record a screen capture of this happening?

Thanks,

Rowan
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: Dionysios.TS on 2021-03-16, 16:40:52
Hi,

That's really strange. Please would you be able to record a screen capture of this happening?

Thanks,

Rowan

The point is always the same, is not happening always unfortunately. I can send you again the update file and assets if you want.
Last time it happened, I just loaded the file hit IR Render, waited for a long time for parsing and happened.

BTW, my system is based on AMD chipset and CPU in case may help. It happened to Juarj as well from what I read, he is on AMD as well.

Let me know, maybe send you the assets again may help.
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: rowmanns on 2021-03-17, 14:03:24
Hi,

Just an update:
We finally managed to reproduce this issue with the following steps:

1) Start IR
2) Immediately Resize it during the scene parsing
3) Observe the models with displacement are gone

It looks like something goes wrong if the VFB is resized during the parsing stage. We actually already had this reported, however previously the displacement would calculate incorrectly but the objects would still be visible which is why you maybe didn't notice this before.

As this seems to have gotten more serious I will bump our devs and see if we can do something about this.

As a workaround I would suggest not to resize the VFB until after the initial scene parsing has completed.

Cheers,

Rowan
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: Dionysios.TS on 2021-03-17, 14:59:46
Hi,

Just an update:
We finally managed to reproduce this issue with the following steps:

1) Start IR
2) Immediately Resize it during the scene parsing
3) Observe the models with displacement are gone

It looks like something goes wrong if the VFB is resized during the parsing stage. We actually already had this reported, however previously the displacement would calculate incorrectly but the objects would still be visible which is why you maybe didn't notice this before.

As this seems to have gotten more serious I will bump our devs and see if we can do something about this.

As a workaround I would suggest not to resize the VFB until after the initial scene parsing has completed.

Cheers,

Rowan

I already replied to you by email but is nice to write here too. Thanks for your efforts and I am glad you tracked the problem.

Thanks a lot Rowan!
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: rowmanns on 2021-07-19, 13:49:02
Hi Dionysios,

We have fixed this in v7 RC7. Please try it out and let me know if you continute to experience issues.

Cheers,

Rowan
Title: Re: Corona 7 Displacement - Not solved completely yet?
Post by: Dionysios.TS on 2021-07-19, 14:04:41
Hi Dionysios,

We have fixed this in v7 RC7. Please try it out and let me know if you continue to experience issues.

Cheers,

Rowan

Hi Rowan!

Yes, I saw the RC7's changelog, I'll try and I'll let you know in case we still have problems.
Glad you guys fix this.

Cheers!

Dionysios -