Author Topic: Max 2021.3 SME material preview update takes longer time  (Read 6283 times)

2021-01-29, 02:49:09

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
Hi
Max 2021.3, Corona 6, Corona 7 DBs.

If I have empty scene - no problem with any material update in SME. It takes less than second to get preview updated.
If I have couple of objects in a scene - update of material which is not assigned to any object takes less than second, if I assign this material, update takes just slightly more time.
But if I have amount of objects as in normal working archviz scene, then update of material preview takes up to 7 second even after some basic changes such as diffuse color change or reflection on/off in material with empty map slots. Not assigned material update takes less than second.

I supposed that it connected with viewport representation of materials, but this behavior doesn't depend on any viewport settings and  shading method, it's the same in wireframe or different shaded modes. Besides that it doesn't matter how many object are represented in viewport - it's the same even if a single object is isolated and I change material assigned to another object.

There is no this problem in Compact ME, but I prefer to work in SME.

I've done same kind of tests in Max 2014 - there is no this kind of problem at all.

2021-01-29, 11:54:18
Reply #1

rowmanns

  • Corona Team
  • Active Users
  • ****
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi,

It is quite hard for us to quantify some slowdown without some specific numbers and reproduction scenes.

Can you provide a scene, video and some reproduction steps please?

It would also be useful to know your full system specifications too.

Cheers,

Rowan
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2021-01-30, 01:44:57
Reply #2

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
Actually I purchased Max 2021 not long time ago and worked only with a few projects in it. Today I spent some time inspecting the scenes I 'm working with at the moment and finally found the problem point. It is a group of objects and some problem is hiding probably in their material. I've uploaded the max file which contains those objects - multiple piles of books. File name is 1611966917_books-bug.zip

All those books have one multi/sub-object material with 57 very simple sub-materials assigned to them.

The steps to reproduce the issue:
1. Create Corona material, change something in it - preview updates instantly.
2. Assign this material to the box or to any other new or old object, change something in this material - Max is hanging for a second, after that material preview updates.
3. Create 10 copies/instances of those piles of books. Change something in that material - now Max is hanging for 10 seconds, after that material preview updates.
4. Create a new material, assign it to all those books. Change the material you created before - problem has gone, material preview updates instantly again.

As I mentioned before it doesn't matter are those books hidden or shown in viewport, are they renderable or not. Viewport settings do not affect this issue.

Before I purchased Max 2021 (finally) I worked on my old Max 2014 and I'm able to make the same test with exactly the same objects - there is no this problem with Max 2014 and never was before.

I suppose this issue related to the problem I described in "Corona Renderer 7 for 3ds Max - Daily Builds Discussion" topic
https://forum.corona-renderer.com/index.php?topic=30877.90
But with Corona 7 DBs it affected stronger. Unfortunately I don't have time to check it now, but I can do it later if you want.

Windows 10 pro, 2 x Intel Xeon E5-2660@2.20Hz, 62GB of RAM, NVIDIA GeForce GTX 1060 6GB

2021-02-10, 09:28:04
Reply #3

rowmanns

  • Corona Team
  • Active Users
  • ****
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi Bormax,

Somehow I missed your reply here, I'm sorry for that.

I will look into this ASAP.

Rowan

(Report ID=CRMAX-262)
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2021-02-19, 09:15:44
Reply #4

rowmanns

  • Corona Team
  • Active Users
  • ****
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi Bormax,

What monitors are you using and what resolution are they set to?

This maybe sounds like a strange question, but we had some reports of this in the past and it seemed as though it was related to dual-xeon CPUs and 4k monitors..

Cheers,

Rowan
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2021-02-19, 17:01:13
Reply #5

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
Hi rowmanns,
I use single Dell U2913WM monitor. Resolution set to 2560x1080.

2021-02-22, 10:30:40
Reply #6

rowmanns

  • Corona Team
  • Active Users
  • ****
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Ok, thanks for the info. We'll continue to investigate this.
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2021-02-22, 12:03:33
Reply #7

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
Hi rowmanns,
I use single Dell U2913WM monitor. Resolution set to 2560x1080.

Can you please try and see if the issue persists on 1080p, or when using a single monitor setup?
George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2021-02-23, 08:33:29
Reply #8

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
As I mentioned above I already use single monitor setup ;)
Now I've tried to reproduce this issue with latest DB and screen resolution set to 1600x1024, but got the same result.

2021-02-23, 11:24:39
Reply #9

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
As I mentioned above I already use single monitor setup ;)
Now I've tried to reproduce this issue with latest DB and screen resolution set to 1600x1024, but got the same result.

I see, thank you for the update. I am afraid I was also unable to reproduce this, at this point you might want to test resetting your ENU folder and see if it's some sort of script/plugin issue. As always keep the old ENU folder to revert back the changes, if that's not the culprit.

Please see the following: https://knowledge.autodesk.com/support/3ds-max/learn-explore/caas/sfdcarticles/sfdcarticles/Resetting-3ds-Max-3ds-Max-Design.html
George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2021-02-23, 20:28:00
Reply #10

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
at this point you might want to test resetting your ENU folder and see if it's some sort of script/plugin issue.

Done. Unfortunately it didn't affect the issue, result is the same

2021-02-24, 11:51:48
Reply #11

rowmanns

  • Corona Team
  • Active Users
  • ****
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Would you be able to record a screen capture of this happening? Maybe we are missing some important step.
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2021-02-24, 12:06:30
Reply #12

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
I've done more tests and found out that this issue persists with other renderes with their own materials assigned to the box in my scene. Also I have the model of these books with the same material structure but Vray version - it produce the same Max hangings with Vray and other renderes set as current. So it seems that this issue doesn't connect with Corona at all.
Would like to know what is the reason for this situation, why it doesn't happen in Max 14 and how to avoid this kind of issues.

2021-02-24, 13:14:32
Reply #13

rowmanns

  • Corona Team
  • Active Users
  • ****
  • Posts: 1892
  • Corona for 3ds Max QA Team
    • View Profile
Hi,

I guess in this case it would be best to contact autodesk and see if they can provide some assistance: https://knowledge.autodesk.com/contact-support

I'm sorry I can't provide any useful solution for this :/

Rowan
Please read this before reporting bugs: How to report issues to us!
Send me your scene!

2021-02-24, 15:14:55
Reply #14

pokoy

  • Active Users
  • **
  • Posts: 1850
    • View Profile
I've done more tests and found out that this issue persists with other renderes with their own materials assigned to the box in my scene. Also I have the model of these books with the same material structure but Vray version - it produce the same Max hangings with Vray and other renderes set as current. So it seems that this issue doesn't connect with Corona at all.
Would like to know what is the reason for this situation, why it doesn't happen in Max 14 and how to avoid this kind of issues.
2021.3 has some quick fixes for Slate performance which was introduced without info & testing... so you could roll back to 2021.2 and see if it happens there. If not, then the new 'fix' in 2021.3 is the culprit - in that case, report to Autodesk.

Could you share the scene with me privately? Only the problematic asset...

2021-02-24, 20:59:02
Reply #15

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
Hi,

I guess in this case it would be best to contact autodesk and see if they can provide some assistance: https://knowledge.autodesk.com/contact-support

I'm sorry I can't provide any useful solution for this :/

Rowan

Ok, thank you Rowan.

2021-02-24, 21:27:03
Reply #16

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
2021.3 has some quick fixes for Slate performance which was introduced without info & testing... so you could roll back to 2021.2 and see if it happens there. If not, then the new 'fix' in 2021.3 is the culprit - in that case, report to Autodesk.

Could you share the scene with me privately? Only the problematic asset...

Hi Pokoy. Thanks for your interest to this issue.
I found out that it's easy to reproduce this issue even with boxes. Here I attached the box version of the scene with this problem.

Multi/Sub-object material with 60 sub-materials assigned to the massive of 5000 instanced boxes. Corona material assigned to the unique box. Try to change something in that Corona material and see how much time it will take to get material update complete. On my computer it takes about 6 sec. Max 2014 does this job in 0.5 sec.

BTW, how to roll back to 2021.2? I have some problems with SME + Corona7 DBs which are described here https://forum.corona-renderer.com/index.php?topic=32344.0. That would be nice if roll back could solve this problem.

2021-02-25, 08:21:18
Reply #17

Frood

  • Active Users
  • **
  • Posts: 1903
    • View Profile
    • Rakete GmbH
Just to add another experience

Try to change something in that Corona material and see how much time it will take to get material update complete.

Works perfectly here (Max2021.3 + DBv7 + i9-9900K), update is almost instant, even when having IR running and having rendering enabled in SME + preview window + the MS material dropped into the SME view.


Good Luck



Never underestimate the power of a well placed level one spell.

2021-02-25, 11:20:29
Reply #18

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile

2021-02-25, 23:19:40
Reply #19

arqrenderz

  • Active Users
  • **
  • Posts: 990
  • https://www.behance.net/Arqrenderz1
    • View Profile
    • arqrenderz
Downloaded the file and got the same result as frood, instant change of the corona mat of the single box
using max 2021.3 corona 6.1   win 10  ryzen 3950
The ones that make my max cry are the composite materials, those are SLOW

2021-02-26, 21:01:48
Reply #20

pokoy

  • Active Users
  • **
  • Posts: 1850
    • View Profile
Sorry, took me a bit to try...

Well, it's quite slow here, too. Pretty much everything involving materials causes a lag... even opening Slate takes a few seconds.
Old material editor is much quicker, and changing the material is much faster.

Strange that Slate performance is not the same for all of us. I'm trying to find out about rolling back to 2021.2

Thanks for the file!

2021-02-26, 21:12:59
Reply #21

pokoy

  • Active Users
  • **
  • Posts: 1850
    • View Profile
Tried again, switched to CompactME and back to Slate and now it's as fast as CompactME...
But still, opening Slate takes a few seconds. Opening the Slate mat browser takes a few seconds from CompactME too, so it seems it's slow whenever Slate components are being called. That sloth called Slate needs a serious overhaul, it probably was never really meant to work well with big scenes.

2021-02-28, 23:58:25
Reply #22

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile
Thanks arqrenderz for your input!

Thanks for you try pokoy!

I agree, It's really strange that on different computers Max behaves differently and nobody can explain why it is so :P. From my experience, for example, Max gives much better viewport performance if it launched as administrator. It was so with Max 2016, Max 2019, now it is so with Max 2021, but for Max 2014 it doesn't make any difference :). This was confirmed by few Max users on different forums, but, if I get it right, for most of Max users "run as admin" doesn't affect program performance.

Sometimes it feels just like good/bad luck and in this particular case I'm not lucky :)