Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] General Discussion => Topic started by: gpz on 2018-04-18, 15:58:42

Title: corona scatter - lights
Post by: gpz on 2018-04-18, 15:58:42
Hi,
it is possibile to scatter lights with corona scatter?
Title: Re: corona scatter - lights
Post by: lupaz on 2018-04-18, 16:19:36
yup
Title: Re: corona scatter - lights
Post by: maru on 2018-04-18, 17:54:21
It's really easy to check this. :P
Title: Re: corona scatter - lights
Post by: romullus on 2018-04-18, 19:33:26
Just keep in mind that lights won't be instanced, so be carefull not to scatter gazillion of them or else your render will last for eternity.
Title: Re: corona scatter - lights
Post by: gpz on 2018-04-19, 09:17:47
thanks to all.
good news: i can scatter
bad news: i can't instance.

anyway i see that is not possibile to scatter a group of an object with a light
Title: Re: corona scatter - lights
Post by: romullus on 2018-04-19, 10:30:23
I see two options for you. One is to use geometry and light material instead of light - that way you could merge everything into one object with multimaterial and you'd probably would even keep instancing, as light material doesn't have such limitation with scatterer. Second option would be ungroup everything, make sure that every former group member has exactly matching pivot point and use several identical scatters for each of them.
Title: Re: corona scatter - lights
Post by: NicolasC on 2018-04-19, 10:59:25
Or maybe a little workaround, that could probably work in certain cases:

1) scatter boxes or dummies or whatever, then use Convert to max geometry feature
2) create a light
3) use the 3dsmax tool "Clone & Align" to clone this light (instances) according to the position of the objects scattered in step 1
4) remove or hide objects scattered in step 1
Title: Re: corona scatter - lights
Post by: gpz on 2018-04-23, 10:38:42
I see two options for you. One is to use geometry and light material instead of light - that way you could merge everything into one object with multimaterial and you'd probably would even keep instancing, as light material doesn't have such limitation with scatterer. Second option would be ungroup everything, make sure that every former group member has exactly matching pivot point and use several identical scatters for each of them.
Yeap. i used the solution with lightmaterial ma render times were very long.
Next time i'll try your second solutions.

Title: Re: corona scatter - lights
Post by: Ondra on 2018-04-25, 10:52:23
I see two options for you. One is to use geometry and light material instead of light - that way you could merge everything into one object with multimaterial and you'd probably would even keep instancing, as light material doesn't have such limitation with scatterer. Second option would be ungroup everything, make sure that every former group member has exactly matching pivot point and use several identical scatters for each of them.
even scattering regular instances with lightl turns instancing off. This is a limitation in Corona core. Reasoning is that making instancing work with light emission would create complications in the code that would slow down development and rendering speed, and is rarely needed. One alternative would be to use self-illumination, which does not have this problem.