Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: atelieryork on 2015-09-24, 14:49:26

Title: Corona Lights - Gizmo size doesn't respect scene units
Post by: atelieryork on 2015-09-24, 14:49:26
Hi, just a very small one but quite annoying: when working in metres, Corona Lights with default gizmo size = 1 are huge in the scene and cause a lot of issues with scene clutter and when trying to orbit around them.
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: Ondra on 2015-10-22, 22:23:55
I cannot reproduce the issue, can you send me any scene where this happens?
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: atelieryork on 2015-10-23, 10:32:37
Done, with the uploader. It's literally any scene, fresh or old. The file I sent you has a simple 10m x 10m floor and a simple 150w real-size spherical coronalight in it, with gizmo = 1.0. You can see it's massive in the scene, I hope. The solution is to make it 0.01 scale or similar. But this is a royal pain when you're managing lots of lights.
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: Ondra on 2015-10-23, 11:09:31
gizmo_scale_issue.max - is this the scene?
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: atelieryork on 2015-10-23, 11:11:35
Yep :) max 2016 sp1.
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: Ondra on 2015-10-23, 11:58:57
ok, this is by design - so that the lines are always in scale with the default grid. You can turn off the lines by setting Viewport Gizmo size to 0
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: atelieryork on 2015-10-23, 12:15:35
Hmm then the design isn't too good, sorry! Those lines are really useful to indicate the intensity of the light (in relation to its size), and it works perfectly in cm/mm but not in m. They are also extremely useful to indicate the directionality of the light. Without them this is impossible to visualise before rendering.

Having to disable the lines altogether every time you create a new light is very tedious, and altering the value to 0.01 even moreso, but at least they are then usable.

Would it not be possible to simply tie the scale in with scene units instead of grid size? I.e. if working in M then the gizmo size would start at 0.01 and the lines would then work visually in proportion.
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: atelieryork on 2015-10-29, 10:11:19
Hi Ondra,

Here are some screengrabs to illustrate the issue when working in metres. This is a really simple scene with very few lights, but it's already a mess with the default gizmo size. Hope you can see that the gizmo size really does need to scale with scene units, not with the scene grid size. You can see that the default gizmo size of 1 is massive in the scene and makes it completely unusable. Scaling to 0 means you don't get the visual representation of the directionality, or strength of the lights, and you can't use the cone to select the lights, so that's not a good option at all. So that leaves manually changing them every time from 1 to 0.002 or similar, which is a hassel especially when you have loads of lights.

(http://i.imgur.com/7IKoMMC.jpg)
(http://i.imgur.com/xFmyovR.jpg)
(http://s18.postimg.org/wwwxsiho9/gizmo_03b.jpg)
(http://i.imgur.com/F6q0sXN.jpg)
(http://imgur.com/1vTFbPl.jpg)
(http://imgur.com/b4DOynL.jpg)

I really hope this can be fixed! :)
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: Ondra on 2015-10-29, 10:22:27
what is the intensity and size of the lights? Can you screenshot the command panel with a light selected?
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: atelieryork on 2015-10-29, 10:26:50
All real world values. 65w-120w or so, size is correct for the scene, more or less. Basically a real size bulb - around 45/50mm radius. Scene units are M and display units are M.

Here's a grab:

(http://i.imgur.com/2NcJgIh.jpg)
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: Ondra on 2015-10-29, 10:28:54
ok, I will take another look
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: atelieryork on 2015-10-29, 10:29:51
ok, I will take another look

Good man, thank you :)
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: romullus on 2015-10-29, 10:41:08
While we at it, can you make gizmo size multiplier to go beyond 99? I have exact opposite problem with it - i work mostly in system uints set in cm and when light intensity is about 1, those coolLines are tiny even when gizmo is maxed out. I don't mind to adjust it manually, though, but simply there's nowhere to adjust :]
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: atelieryork on 2015-10-29, 10:44:22
While we at it, can you make gizmo size multiplier to go beyond 99? I have exact opposite problem with it - i work mostly in system uints set in cm and when light intensity is about 1, those coolLines are tiny even when gizmo is maxed out. I don't mind to adjust it manually, though, but simply there's nowhere to adjust :]

Second that. I hope the real solution will be to scale them properly with scene units, so they always work properly in relation to that.

And while we're on requests for lights - Not sure if possible, could we have the gizmo lines change colour based on the light's colour (kelvin temp etc.). Would be very handy.
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: alexyork on 2017-05-16, 10:52:39
Hi guys... any chance you could look at this again? It's really boring having to rescale lights every project/scene. Would be great if the gizmos just scaled appropriately to scene world units.. i.e. when in meters they should be more like 0.02 instead of 0.2 etc. and changing colour based on kelvin temp/colour would be awesome too...
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: Charlie Nicols on 2017-05-16, 11:42:15
This would be a nice thing to have fixed / changed. Also I like the gizmo color idea - Kelvin /temperature is represented in the gizmo wire frame.
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: PMendes on 2018-05-02, 22:13:01
Also been having this issue sometimes... any news on that matter??

That would be a great feature, wireframe with temp color.
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: maru on 2018-05-14, 11:56:25
I have just logged this in our internal bug tracker (not mantis ;) ). I will be updating you here about its fate.

internal note: id=237066204
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: alexyork on 2018-05-14, 12:17:24
I have just logged this in our internal bug tracker (not mantis ;) ). I will be updating you here about its fate.

internal note: id=237066204

Great!
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: rombo on 2018-05-21, 15:32:53
Great, I am also waiting on an update here, tricky when you have more than 10 lights in the scene.
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: alexyork on 2018-08-01, 18:13:33
Any news on this one? Super, super annoying issue we have to deal with in every single scene every day. :) Surely it's just a case of multiplying the gizmo scale by a factor relative to scene units? i.e. if in M then multiply by 0.01. With exception made for when IES is in use (which appears correctly no matter the scene units).
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: pokoy on 2018-08-01, 18:46:59
Any news on this one? Super, super annoying issue we have to deal with in every single scene every day. :) Surely it's just a case of multiplying the gizmo scale by a factor relative to scene units? i.e. if in M then multiply by 0.01. With exception made for when IES is in use (which appears correctly no matter the scene units).
How do you know I always set gizmo scaling to 0.01? ;)
Totally support this request.
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: maru on 2018-08-02, 12:28:04
It's already fixed internally, so we are waiting for the daily build:
Quote
Light lines size now depends on light area and is computed in centimeters rather than generic units.
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: alexyork on 2018-08-02, 12:29:31
It's already fixed internally, so we are waiting for the daily build:
Quote
Light lines size now depends on light area and is computed in centimeters rather than generic units.

boom, awesome. so in a meters scene it will still visually look the same as in a cm scene?
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: maru on 2018-08-02, 12:42:54
boom, awesome. so in a meters scene it will still visually look the same as in a cm scene?
That's the idea.
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: alexyork on 2018-08-02, 12:43:49
boom, awesome. so in a meters scene it will still visually look the same as in a cm scene?
That's the idea.

great stuff this is very welcome.
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: Ryuu on 2018-08-03, 09:11:18
It's already fixed internally, so we are waiting for the daily build:

Just a minor correction - it's still waiting for code review, which might result in some more work being done. So the expected release in daily build is in the interval (next week; heat death of the universe) :) But next week is the most probable time when it can find its way into a daily build.
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: alexyork on 2018-11-21, 16:10:01
Checking in on the status of this. Any luck it's in v3?

Cheers,
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: Dung (Ivan) on 2018-11-23, 10:43:38
Hi, yes it is fixed in v3

Thank you for your patience :)
Title: Re: Corona Lights - Gizmo size doesn't respect scene units
Post by: alexyork on 2018-11-23, 10:44:45
Awesome!