Jump to content

Instancing Lights


Recommended Posts

Instancing lights isn't the same as instancing geometry. Lights add extra complexity to the scene not through polygon density, but through the extra sampling required to anti-alias directly visible lights, cast shadows, anti-alias bright specular reflections, etc. It's unlikely that you actually need 10,000 lights in your scene. Instead, consider having 10,000 instanced objects with an emissive shader applied, and then if you need actual light cast into your scene, just cast it using a handful of invisible area lights or something similar.

Link to comment
Share on other sites

Not an expert, but consider using a proper renderer as well if you have to manage specific scenes with lots of lights.

Maybe some are better at managing instanced lights than others ?

It seems that Renderman made improvement on that thanks to R&D from Pixar during the production of Coco. And V-Ray uses specific algorithms to improve render times when multiple lights are used ("adaptive lights").

https://www.fxguide.com/fxfeatured/rendermans-visuals-for-coco/

https://www.chaosgroup.com/blog/understanding-adaptive-lights

Not sure these are "better" than Mantra, nor if they are availables on Houdini (eg. seems that functionalities of renderman differs from Katana version for example, compared to Maya or Houdini ones).

Hope this helps a bit if you want to stick to lights instancing...

Link to comment
Share on other sites

A trick that works is deleting all but 1% or so of your points, and only use those points for the actual instanced lights. For the rest of them you can copy spheres onto, and apply an emission shader. It will look like all the lights are contributing to the look.

  • Like 1
Link to comment
Share on other sites

  • 3 months later...
On 9/26/2019 at 7:37 PM, philpappas said:

rendering 10.000 instanced lights takes forever. Instancing is supposed to make this happen, no? am i over the threshold or is there another way im not seeing?

light_instancing.hip

Maybe late to this topic, but as they already noted (I can confirm from my direct experience), Renderman 23 has no issue rendering thousands of lights, That's the way to go if you really need that big number of real lights.

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...