Author Topic: Scaling Lights  (Read 877 times)

2023-01-23, 13:03:42

Otuama

  • Active Users
  • **
  • Posts: 129
    • View Profile
Hi all.

A quick question about lights.

I never scale lights with the scale gizmo because I was told in the past that it can cause issues and artifacts.

I've just loaded a scene and someone has scaled rectangle lights & not used the width/height in the light settings.

Also other lights are scaled in the minus or look like they've been mirrored or something.

Am I right to think that it's bad practice to scale lights like that?

Thanks

2023-01-23, 14:29:44
Reply #1

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5434
    • View Profile
I've never had any trouble using the widget for scaling. I only use numeric input if I need precise sizes for some reason.
Tom Grimes | chaos-corona.com
Product Manager | contact us

2023-01-23, 14:49:10
Reply #2

Otuama

  • Active Users
  • **
  • Posts: 129
    • View Profile
Hi, thanks for the reply.

Just to confirm, in your opinion it's ok to scale lights with the scale tool?

And the scaling being in the minus for example is ok too?

if that's the case then great

I was told wrongly years ago


2023-01-23, 15:17:43
Reply #3

hurrycat

  • Active Users
  • **
  • Posts: 111
    • View Profile
I guess it wouldn't be too difficult for someone (with better Maxscript skills than me) to write a small script that translates scale sizes to light dimensions..
Having all those custom scales wouldn't sit too well with me, from a scene organization standpoint. For example, one could have two lights that are instanced, so same Intensity and Length/Width, but produce different illumination because of custom ScaleX/Y values.

Having said that, I too would like to know if it would be totally ok to scale lights and not worry about artifacts or other issues. Wouldn't you run into issues if you created a light of 1cm by 1cm with an Intensity of 1, and then scale it by a large value to have it illuminate a large scene?

2023-01-23, 16:17:54
Reply #4

Otuama

  • Active Users
  • **
  • Posts: 129
    • View Profile
The only reason I realised this was the case in my scene was because I selected all instances of the lights and there are some that have been scaled with the widget/gizmo.

So yes, I'd like to be sure because now I know it's like it in the scene I'm in it's winding me up.  Too late to fix now but before I made this post I told the person who did it not to in future.


2023-01-23, 17:41:54
Reply #5

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5434
    • View Profile
If you are using a Corona Light, it's intensity is actually "unit by surface area" anyway, thus the intensity changes according to the size of the light and there would be no artifacts.
Tom Grimes | chaos-corona.com
Product Manager | contact us

2023-01-23, 18:07:18
Reply #6

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12711
  • Marcin
    • View Profile
After a quick check with the dev team:
- scaling may be an issue only in case of spherical lights (they will get worse shading = possibly more noise)
- with other shapes it should not make any difference whether they are scaled or not
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2023-01-24, 21:21:15
Reply #7

Otuama

  • Active Users
  • **
  • Posts: 129
    • View Profile
Thanks all for the clarification and checking.