Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: arqrenderz on 2018-08-06, 16:02:52

Title: How to deal with lots of led strip lights??
Post by: arqrenderz on 2018-08-06, 16:02:52
I have a client design were the 80% of the light comes from leds behind a diffusor (attached image from the client)
I know that i cant turn them on to corona lights or i will have the worst performance, so how can i tackle this in the most realistic way possible?

THX!

Title: Re: How to deal with lots of led strip lights??
Post by: jrgby on 2018-08-07, 12:21:37
It's a little hard to tell from your image, is the problem that the emitting object is very complex?

If this is the case then the way we tackle this usually is to assign a material with some self illumination to it, then model a low poly mesh around the object to aproximate the volume and apply a corona lightMtl to this.
Set the lightMtl to invisable, not to obscure other lights and adjust intensity to the desired level.
Title: Re: How to deal with lots of led strip lights??
Post by: pokoy on 2018-08-07, 15:29:58
A short note about the reply above - using self illumination will probably make Corona slower since it's solving only by GI samples then. Using a LightMtl is always the better option as this will use optimizations like lights do. So try to avoid self-illumination in materials if possible and use LightMtl whenever possible.
Title: Re: How to deal with lots of led strip lights??
Post by: arqrenderz on 2018-08-07, 15:53:42
Thx for the answes, yes the object is a very subdivided curve along the ceiling, so we may end making what jrgby said, i will try to optimize it as much as i can..
Title: Re: How to deal with lots of led strip lights??
Post by: maru on 2018-08-07, 16:22:02
It's a little hard to tell from your image, is the problem that the emitting object is very complex?

If this is the case then the way we tackle this usually is to assign a material with some self illumination to it, then model a low poly mesh around the object to aproximate the volume and apply a corona lightMtl to this.
Set the lightMtl to invisable, not to obscure other lights and adjust intensity to the desired level.

Pretty much what I would advise.

A short note about the reply above - using self illumination will probably make Corona slower since it's solving only by GI samples then. Using a LightMtl is always the better option as this will use optimizations like lights do. So try to avoid self-illumination in materials if possible and use LightMtl whenever possible.

Any excessive self-illumination will be cut off by Max Sample Intensity parameter, so it should not be a problem.

I would vote for:

The simplest solution:
-Forgetting about the small LED light sources, unless they are absolutely necessary (if they, or their shape, are visible through the diffusor)
-Just modelling the diffusor and applying a self-illuminated material to it (this will be the directly visible part that does not cast any light into the scene)
-Then placing a simplified mesh with LightMtl below the diffusor, and unchecking visible directly, visible in reflections, visible in refractions, occlude other lights (this will be the invisible light source which does cast light into the scene)

The LightMtl could be as well replaced with a RaySwitchMtl (so that it is visible directly, but nowhere else).

The slightly more complex solution:
-Create a lot of LED objects with light mtl with emit light off, or self-illuminated CoronaMtl, or some kind of RaySwitchMtl
-Create the diffusor below them, with any relevant material (e.g. refraction, translucency)
-Create the invisible light emitter like in the 1st option