I recently had a project where i had to place a ton of recessed ceiling and wall lights in a modell, but i din't really want to modify the existing modell as the lights might change in the future.
I realized i can all do this with the corona distance map a helper object and corona scatter. I thought it was a great idea and i was banging my head against the wall because why i haven't tought about this earlier????!!!!
First i made a distribution spline for my 3 corona scatter elements. The first one was for the lamp geometry. The second was my helper object for "cutting the hole" and the third was a corona light. Each element int their separate CSatter element with the same settings. If i wanted to get real fancy i could ad a few extra elements to boolean the recessed parts.
https://forum.corona-renderer.com/index.php?topic=13210.0I connected the distance map to the opacity channel of the walls material and set the inside color to white and then picked up the corona scatter element and everything was ready.
Because of this setup i could adjust the lights properties and most importantantly introduce a slight variation in shape, direction, and light with a corona multimap conected to the light.
I was really happy with my discovery so i wanted to share it. :-) Hope i could help a few people with this tip.
After some research i discovered Hrvoje Čops blog post about all the other usefull things.
https://chopmeister.xyz/2017/10/going-the-distance.html