Author Topic: Max number of lights in corona?  (Read 5002 times)

2015-03-05, 15:09:01

iLEZ

  • Active Users
  • **
  • Posts: 108
    • View Profile
    • andersryttar.se
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.

2015-03-05, 15:38:17
Reply #1

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
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?
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2015-03-05, 15:58:45
Reply #2

iLEZ

  • Active Users
  • **
  • Posts: 108
    • View Profile
    • andersryttar.se
..And here is the same scene, with a corona light material on a multi sub object.

2015-03-05, 15:59:35
Reply #3

iLEZ

  • Active Users
  • **
  • Posts: 108
    • View Profile
    • andersryttar.se
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!

2015-03-05, 16:02:05
Reply #4

iLEZ

  • Active Users
  • **
  • Posts: 108
    • View Profile
    • andersryttar.se
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. =)

2015-06-04, 15:13:21
Reply #5

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
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.

2015-06-04, 15:36:53
Reply #6

pokoy

  • Active Users
  • **
  • Posts: 1988
    • View Profile
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.
« Last Edit: 2015-06-04, 15:38:28 by Rawalanche »

2015-06-04, 15:39:33
Reply #7

Ludvik Koutny

  • VIP
  • Active Users
  • ***
  • Posts: 2557
  • Just another user
    • View Profile
    • My Portfolio
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.

2015-06-05, 10:45:35
Reply #8

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
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.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)