Author Topic: Corona Light slows down Viewport  (Read 3066 times)

2022-09-12, 15:37:02

Hubl

  • Active Users
  • **
  • Posts: 38
    • View Profile
Hey I got 100 Artifficial Corona lights for Windows and 100 Lights for Balcony in a scene. Both Light Types are Instances. So there are only 2 diffrent lights.

But when they are Vissible in the Viewport the FPS drops to 0.  When i hide them up raises up to 120 FPS.
I updated to the nvidia studio driver but that also doesnt fixed it....

What am I doing wrong?

thanks in Advance

2022-09-12, 15:51:05
Reply #1

Ink Visual

  • Active Users
  • **
  • Posts: 159
    • View Profile
From my experience 3dsMax performance drops significantly whenever the viewport contains hundreds of instances of any object type, not necessarily lights. Everything is fine if these were all attached to one object, (or scattered i.e with ChaosScatter instead of being manually instanced) so it's not about a polycount, but rather number of objects instanced in the viewport.

Can you test if in your scene, same scenario with instanced boxes instead of lights, would give you the same fps drop?

2022-09-12, 16:12:27
Reply #2

Hubl

  • Active Users
  • **
  • Posts: 38
    • View Profile
Ok I tried with 500 instnace boxes and copy thos instances 3 times ... perfomance is fine...

2022-09-12, 16:44:20
Reply #3

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8779
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Just tested with 1000 instanced Corona lights in 3ds max 2023 and Corona 9. I can confirm that viewport FPS drops dramatically, but only with spherical light shape. All other shapes have much less impact on FPS. If it's possible, i'd suggest to change light shape, or use geometry and light material.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2022-09-12, 17:14:19
Reply #4

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
Hi. Have you tried to set properties to "show as box"?

2022-09-12, 21:58:39
Reply #5

Hubl

  • Active Users
  • **
  • Posts: 38
    • View Profile
Hey yes i tried to set it to "show as box" didnt have any positiv effect on the FPS :-(

2022-09-13, 09:48:26
Reply #6

NicolasC

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 539
  • CG supervisor / teacher / artist
    • View Profile
Hi there,

Just by curiosity, your Command Panel is on Create tab or Modify tab ?
Nicolas Caplat
CG supervisor / teacher / artist

2022-09-13, 10:16:01
Reply #7

Hubl

  • Active Users
  • **
  • Posts: 38
    • View Profile
I guess I know what you are thinking of... its in create so the properties didnt reload every time I chose a corona light.

if those instanced light are shown in the scene, 3D Max drops the FPS .... i dont select, modify, move, scale or rotate them. :-(
« Last Edit: 2022-09-13, 11:55:21 by Hubl »

2022-09-13, 11:51:28
Reply #8

NicolasC

  • Primary Certified Instructor
  • Active Users
  • ***
  • Posts: 539
  • CG supervisor / teacher / artist
    • View Profile
Yes, but I've noticed so many times slowdowns when 3dsmax is on Modify Mode, hence my question ;)
So the problem you mentioned comes from somewhere else indeed.
Nicolas Caplat
CG supervisor / teacher / artist

2022-09-13, 14:18:23
Reply #9

Hubl

  • Active Users
  • **
  • Posts: 38
    • View Profile
Yes maybe it is a corona bug? i'll try it later with FStorm ...

2022-09-14, 13:36:36
Reply #10

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
Hi everyone, this is already reported (https://forum.corona-renderer.com/index.php?topic=36562.0) and logged, please stay posted regarding any news on the issue.

(Internal id=964098542)

George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2022-09-15, 08:46:25
Reply #11

Ink Visual

  • Active Users
  • **
  • Posts: 159
    • View Profile
Hi George,
Thank you very much for bringing up the previous topic regarding this issue.
Intrigued by the other posts I just tried to reproduce exactly same lag in my fresh 3ds max scene, and indeed:
instancing multiple (I tried to instance the row of 10 lights, 15 times) it pretty much has frozen my Max.

This won't happen if same exercise is done with box or sphere geometry (subdivided to the level of sphere light helper).

It's a serious issue I believe, no wonder why some of our past night-time scenes became very hard to work with.
I always blamed Max Instancing performance but seems like it was actually just Corona issue.

Hope this will get fixed for Corona 9. Fingers crossed.

2022-09-16, 11:42:08
Reply #12

Hubl

  • Active Users
  • **
  • Posts: 38
    • View Profile
Yes i couldnt reproduce that effect with FStorm only with Corona :-( Maybe its time for a Hotfix :D

2022-09-20, 11:11:38
Reply #13

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
Hi George,
Thank you very much for bringing up the previous topic regarding this issue.
Intrigued by the other posts I just tried to reproduce exactly same lag in my fresh 3ds max scene, and indeed:
instancing multiple (I tried to instance the row of 10 lights, 15 times) it pretty much has frozen my Max.

This won't happen if same exercise is done with box or sphere geometry (subdivided to the level of sphere light helper).

It's a serious issue I believe, no wonder why some of our past night-time scenes became very hard to work with.
I always blamed Max Instancing performance but seems like it was actually just Corona issue.

Hope this will get fixed for Corona 9. Fingers crossed.

We will see what can be done about this, please stay posted. Thanks!
George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2022-09-22, 14:49:49
Reply #14

Hubl

  • Active Users
  • **
  • Posts: 38
    • View Profile
A few weeks ago I tried to move a corona sun along a circle for testing lighting conditions. 3d Max was so laggy that i couldnt play the animation.
I thought this was a problem with the coronoa procdural sky added automatically in the viewport.

But now i guess the problem is the corona light system itself?