Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: iLEZ on 2015-03-05, 15:09:01

Title: Max number of lights in corona?
Post by: iLEZ on 2015-03-05, 15:09:01
Hello!
I have a scene with 440+ lights in it. It is a christmas decoration for flagpoles.
When I render it looks like the attached picture. Is there a max number of lights in corona? When I load the interactive renderer it just removes the lights from the scene, and then adds them again when I cancel the interactive renderer.

OR is there a workaround? Can I use a light texture instead? I'll try now, but I wanted to check and see if Corona had a max number of light sources as this could be good to know.

This is a wonderful renderer by the way. I'll buy it ASAP.
Title: Re: Max number of lights in corona?
Post by: Ondra on 2015-03-05, 15:38:17
there is no limit, it should render with any count (although possibly with more noise). If the scene behaves unexpectedly (e.g. differently in interactive and regular rendering), can you upload it (http://corona-renderer.com/upload), so I can investigate this as a bug report?
Title: Re: Max number of lights in corona?
Post by: iLEZ on 2015-03-05, 15:58:45
..And here is the same scene, with a corona light material on a multi sub object.
Title: Re: Max number of lights in corona?
Post by: iLEZ on 2015-03-05, 15:59:35
there is no limit, it should render with any count (although possibly with more noise). If the scene behaves unexpectedly (e.g. differently in interactive and regular rendering), can you upload it (http://corona-renderer.com/upload), so I can investigate this as a bug report?
Will do immediately!
Title: Re: Max number of lights in corona?
Post by: iLEZ on 2015-03-05, 16:02:05
Done.

I "hope" it is replicable, the scene is a mess now that I've gone over to multi sub materials, and I'm off for home now. =)
Title: Re: Max number of lights in corona?
Post by: Ludvik Koutny on 2015-06-04, 15:13:21
There actually is a light limit. It's 250 lights. After that, corona switches to a lot slower light solver. It's known issue logged here: https://corona-renderer.com/bugs/view.php?id=1057

Moving to resolved section to archive the thread.
Title: Re: Max number of lights in corona?
Post by: pokoy on 2015-06-04, 15:36:53
Since I don't want to start another thread: is there a hidden command to render more than 250 lights with the faster mode?
I have a project that uses many many more lights and that's coming up soon and I'm curious about how to speed it up. I have rendered it with pre 1.0 dailies and it was super slow but reliable. If the current limitation means that I'll not be able to render them I'd have to look for other solutions.
Title: Re: Max number of lights in corona?
Post by: Ludvik Koutny on 2015-06-04, 15:39:33
The limitation is there for a long time already. Probably since forever. But in very old Alphas, like A5 and sooner, limit was like 20 lights, instead of 250. Anything that rendered fine in A7 should render fine in 1.0

PS: Sorry i accidentally modified your post. I often misclick modify instead of quote button as they look very similar. Still getting used to the Admin powa :) I did not modify your post though.
Title: Re: Max number of lights in corona?
Post by: Ondra on 2015-06-05, 10:45:35
the limit cannot be changed at runtime, the application would have to be recompiled. THere are possible negative sideeffects of this, so we will instead try to create a new sampling method, that is completely independent of number of lights.