Author Topic: amount of lights and viewport/max performance  (Read 3170 times)

2022-05-06, 12:38:52

denisgo22

  • Active Users
  • **
  • Posts: 700
    • View Profile
Big problem for big projects/
1.create a new scene in 3dmax/
2.create lights in instance mode in the amount of about 3000.
after that 3max viewport starts freezing, lagging all time/ deleting, hiding and moving of several lights takes an infinite amount of time/
with the addition of light sources, the problem increases.
the scene almost becomes unedited.
Please solve this problem as soon as possible
it becomes completely impossible to work on large projects.

3dmax 2022
Corona 8
Video Card  GeForce GTX 1070 8GB
AMD 2970wx 24 core
 
same thing on intel i9-10900F
with video card GeForce RTX 3090 24 GB
Thanks

« Last Edit: 2022-05-06, 12:52:01 by denisgo22 »

2022-05-06, 14:36:14
Reply #1

pokoy

  • Active Users
  • **
  • Posts: 1850
    • View Profile
You might consider using geometry with LightMtl instead. You can still do things like different light colors with MultiMap and CoronaColor distributed by instance, MatID etc, set directionality, advanced ray switches... you'll have to switch them on/off using the material editor, but it might be easier on the viewport performance. In fact, it's something I prefer over having hundreds of light objects in the scene as pretty much all the same controls exist in LightMtl (except for a light target object).

2022-05-06, 15:33:04
Reply #2

denisgo22

  • Active Users
  • **
  • Posts: 700
    • View Profile
Using geometry is light source cause for extreme increase in render time/
Another question is why is this happening?
light is no geometry/ it is only icon in viewport/
In other renders things like that don't happen, etc/ Vray and others/
even with 300 light sources feels significant degradation in viewport/max performance.


2022-05-06, 16:20:15
Reply #3

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5434
    • View Profile
Are these Corona Lights, and does the same thing happen with default Max lights? As a note, LightMtl renders as quickly as a Light with the exception of spherical lights, so guessing these are spherical lights? Is hiding the lights in the viewport an option since this seems to be viewport performance that is affected?
Tom Grimes | chaos-corona.com
Product Manager | contact us

2022-05-06, 16:47:17
Reply #4

denisgo22

  • Active Users
  • **
  • Posts: 700
    • View Profile
Are these Corona Lights, and does the same thing happen with default Max lights? As a note, LightMtl renders as quickly as a Light with the exception of spherical lights, so guessing these are spherical lights? Is hiding the lights in the viewport an option since this seems to be viewport performance that is affected?
in most scenes for urban views spherical light sources are used as a priority/
for night windows of the buildings as example/
Hiding light cannot be used because-- /for example/ scenes with days and night lighting in one max file/
Now only open layer with many light sources taking about 2-10 minutes/
I'm not talking about for lagging with interactive rendering for the same reason.in addition, I specifically checked the standard Max Omni light and it's a completely different story. Omni has no effect on viewport performance at all/Same with Vray sphere light/

« Last Edit: 2022-05-06, 17:17:28 by denisgo22 »

2022-05-06, 17:49:54
Reply #5

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5434
    • View Profile
TY for the extra info! Was just wondering if there's an option to hide the lights in the viewport (but not from in the scene as regards rendering, so not hiding the objects, but excluding them from being shown in the viewport).
Tom Grimes | chaos-corona.com
Product Manager | contact us

2022-05-06, 23:05:31
Reply #6

pokoy

  • Active Users
  • **
  • Posts: 1850
    • View Profile
It could be 3ds max problem more than anything else - some helper types are known to slow down viewports.

As Tom says, lights can be hidden in the viewports and still render with the 'Render hidden lights' option checked in Corona's renderer setting.

2022-05-09, 15:59:41
Reply #7

clemens_at

  • Active Users
  • **
  • Posts: 142
    • View Profile
I have the exact same problem, in my case its mostly disk lights with an ies. First I thought it was the ies but I think its more a max problem like pokoy pointed out. 
Viewport performance with 100+ lights is unbearable so I just filter them in the viewport. Its still a pain if you have to change something and make them visible again though...

2022-05-10, 10:36:06
Reply #8

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
Although this could be related to max viewport handling, if there is a chance this can be further improved, I believe it's something worth looking into!

(Report ID=CRMAX-1602)
George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2022-05-12, 16:44:46
Reply #9

burnin

  • Active Users
  • **
  • Posts: 1532
    • View Profile
More segments lights have, more noise is produced, more energy it takes to simulate physically correct light transport and less rays are sampled in same amount of time.
(see attached example w/ Corona For C4D v9daily)

Any improvement is always welcome :)
In this regard, have you done any experimenting or research with physics-based differentiable rendering?

2022-05-13, 14:46:52
Reply #10

denisgo22

  • Active Users
  • **
  • Posts: 700
    • View Profile
It could be 3ds max problem more than anything else - some helper types are known to slow down viewports.

As Tom says, lights can be hidden in the viewports and still render with the 'Render hidden lights' option checked in Corona's renderer setting.

as well to change helper type for Corona Light :)
as I noted earlier
/Hiding light cannot be used because-- /for example/ scenes with days and night lighting in one max file/
same for /Render Hidden Lights option in max
Hiding light in filter option in veiwport not usable because
/Its still a pain if you have to change something and make them visible again though../ as clemens_at say
« Last Edit: 2022-05-13, 14:55:10 by denisgo22 »

2023-03-14, 12:04:16
Reply #11

rowmanns

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

This is fixed in the latest v10 daily build. Let me know how you get on. Cheers!

You can grab the build here: https://forum.corona-renderer.com/index.php?topic=38385.msg210703#msg210703

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