Author Topic: IES lights added  (Read 34222 times)

2013-04-06, 21:08:21

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2013-04-06, 21:28:33
Reply #1

Polymax

  • Active Users
  • **
  • Posts: 830
  • CG Generalist
    • View Profile
    • maxkagirov.com
You're a great developer, thank you!
Corona - the best rendering solution!

2013-04-06, 21:31:57
Reply #2

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Sweet! But it seems rotating the lights does not seem to give correct results.
Any sufficiently advanced bug is indistinguishable from a feature.

2013-04-06, 21:44:36
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12776
  • Marcin
    • View Profile
Looks like trading your soul with devil for programming skills really pays off + you get a bunch of followers.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2013-04-06, 21:51:53
Reply #4

Polymax

  • Active Users
  • **
  • Posts: 830
  • CG Generalist
    • View Profile
    • maxkagirov.com
Sweet! But it seems rotating the lights does not seem to give correct results.
it's small bag, I think in the next release it will not :)
Corona - the best rendering solution!

2013-04-06, 21:55:33
Reply #5

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Looks like trading your soul with devil for programming skills really pays off + you get a bunch of followers.

I wish I wouldn't have sold it already to Autodesk years ago... a really bad deal when I see what keymaster got :D

it's small bag, I think in the next release it will not :)
That's for sure :)
Any sufficiently advanced bug is indistinguishable from a feature.

2013-04-06, 22:25:40
Reply #6

ecximer

  • Active Users
  • **
  • Posts: 286
  • Scriptobot
    • View Profile
It is a bug... ! I described in the mantis.

« Last Edit: 2013-04-06, 22:47:21 by ecximer »
sorry for my english

2013-04-06, 22:30:53
Reply #7

zouhair_psi

  • Active Users
  • **
  • Posts: 62
    • View Profile
i start trying ies corona , but i found this in material editor.

i delete in copy all the file and still the something.

am i the only one who has that problem?

2013-04-06, 22:47:32
Reply #8

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
It is a bug... !
Why such strong gradient transition? I tried pieces of 20 different ies-files, all have this a problem...

Can you send me an example IES file (better yet, with scene), all mine seems to work
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2013-04-07, 00:08:56
Reply #9

Chakib

  • Active Users
  • **
  • Posts: 787
  • Corona Omnomnomer !
    • View Profile
Keymaster for president !
Thanks a lot ! will wait for the legacy release

2013-04-07, 01:10:17
Reply #10

patoaltaco

  • Active Users
  • **
  • Posts: 88
    • View Profile
Quote
Sweet! But it seems rotating the lights does not seem to give correct results.

For me they didnt work when i put them upside down...

Cheers,

2013-04-07, 11:59:15
Reply #11

andreupuig

  • Active Users
  • **
  • Posts: 59
    • View Profile
    • APtecture
I was waiting for this! I'll try as soon as I can! Thank you

2013-04-07, 18:05:44
Reply #12

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
rotation is fixed
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2013-04-07, 19:10:30
Reply #13

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
and aliasing too
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2013-04-07, 19:43:35
Reply #14

Polymax

  • Active Users
  • **
  • Posts: 830
  • CG Generalist
    • View Profile
    • maxkagirov.com
Cool! Very fast!
Corona - the best rendering solution!

2013-04-08, 00:25:42
Reply #15

patoaltaco

  • Active Users
  • **
  • Posts: 88
    • View Profile
Hi,

i tried the last build, still dont work the ies for me when i rotate de light 180º, here i attach some image examples.

1º the same light with same ies rotated 180º.
2º the same light deactivating ies.

Cheers,

2013-04-08, 02:36:25
Reply #16

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
works for me, probably still old build, I've dropped another ones
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2013-04-08, 12:10:26
Reply #17

andreupuig

  • Active Users
  • **
  • Posts: 59
    • View Profile
    • APtecture
Well, while I was rendering a test image with IES lights, suddenly max shut down. It was after 2 o 3 hours of testing and I didn't change anything in particular to cause an error. I can't know which error cause the shut down. Opening an autoback I got huge IES web in viewport: I had 2 standard corona rectangular lights with no IES and opening the autoback the IES file was added to this lights.

While choosing IES file I get weird results like a totally white render, even at super low multiplier. I know these file are right because with other render engine they render normally.

I also noticed that get clean reflective material is really really difficult with CoronaLights. I let render a region to a quite high render pass to see if I can get out of noise, but even at pass 1725 after 6,5 minutes it's not clean, with some rough math it means that to render a 1280x720 I have to wait for about 2,38 hours, and for an image twice bigger about 9,5 hours. Render settings are almost the default, PT+PT 4 samples and lights samples multiplier at 10, last build.

2013-04-08, 12:30:04
Reply #18

Polymax

  • Active Users
  • **
  • Posts: 830
  • CG Generalist
    • View Profile
    • maxkagirov.com
Well, while I was rendering a test image with IES lights, suddenly max shut down. It was after 2 o 3 hours of testing and I didn't change anything in particular to cause an error. I can't know which error cause the shut down. Opening an autoback I got huge IES web in viewport: I had 2 standard corona rectangular lights with no IES and opening the autoback the IES file was added to this lights.

While choosing IES file I get weird results like a totally white render, even at super low multiplier. I know these file are right because with other render engine they render normally.

I also noticed that get clean reflective material is really really difficult with CoronaLights. I let render a region to a quite high render pass to see if I can get out of noise, but even at pass 1725 after 6,5 minutes it's not clean, with some rough math it means that to render a 1280x720 I have to wait for about 2,38 hours, and for an image twice bigger about 9,5 hours. Render settings are almost the default, PT+PT 4 samples and lights samples multiplier at 10, last build.
try HD cache for secondary solver
Corona - the best rendering solution!

2013-04-08, 14:19:20
Reply #19

ecximer

  • Active Users
  • **
  • Posts: 286
  • Scriptobot
    • View Profile
I think the picture understandable I'm talking about ... :)



And still, why the shadow from a chair leg when the shadow from all the rest behaves on another so strange looks?
« Last Edit: 2013-04-08, 14:52:41 by ecximer »
sorry for my english

2013-04-08, 14:22:47
Reply #20

Polymax

  • Active Users
  • **
  • Posts: 830
  • CG Generalist
    • View Profile
    • maxkagirov.com
Yep, it's abnormal!
Corona - the best rendering solution!

2013-04-08, 14:36:16
Reply #21

andreupuig

  • Active Users
  • **
  • Posts: 59
    • View Profile
    • APtecture
try HD cache for secondary solver

It was my first try: better but extremely long render times. 9 hrs [estimated] for clean reflections in a 2k render, there's something to investigate. Don't know if it's a IES light or Corona issue.

I didn't noticed at first sight, but what ecximer said is true and abnormal

2013-04-08, 14:44:27
Reply #22

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com

2013-04-08, 14:54:00
Reply #23

ecximer

  • Active Users
  • **
  • Posts: 286
  • Scriptobot
    • View Profile
Quote
why 6 minutes for this extreme
because it was calculated on the laptop
sorry for my english

2013-04-08, 15:53:50
Reply #24

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
and with assert build
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2013-04-08, 15:59:23
Reply #25

ecximer

  • Active Users
  • **
  • Posts: 286
  • Scriptobot
    • View Profile
Well. With a leg of a chair dealt - so has to be.
And here concerning shadows the question remains open.
sorry for my english

2013-04-08, 16:21:20
Reply #26

cecofuli

  • Active Users
  • **
  • Posts: 1577
    • View Profile
    • www.francescolegrenzi.com

2013-04-10, 16:29:48
Reply #27

patoaltaco

  • Active Users
  • **
  • Posts: 88
    • View Profile
Is working fine now.

Just i dont know about the white dots.. they increased with passes.

Cheers,

2013-04-10, 16:55:10
Reply #28

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Those look like NaNs.... you know the drill, put it on mantis & upload scene ;)
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2013-04-10, 16:58:14
Reply #29

patoaltaco

  • Active Users
  • **
  • Posts: 88
    • View Profile
Got it ;)

2013-04-11, 16:25:32
Reply #30

dschaga

  • Active Users
  • **
  • Posts: 10
    • View Profile
And still, why the shadow from a chair leg when the shadow from all the rest behaves on another so strange looks?


One scene have only point lights (sharp shadows) and one only area lights (soft shadows)
..the one leg looks like a bug, but if look carefully you can see that it's shadow is blured too. Maybe it's the angle of the light to the leg(?)

anyway.. good to see that ies lights coming to corona... maybe someone can test some linear lights?

2013-04-11, 16:39:15
Reply #31

ecximer

  • Active Users
  • **
  • Posts: 286
  • Scriptobot
    • View Profile
From a chair I already dealt with a pinch, VRay in the same way calculates everything and logically it and shall be. I in vain a panic lifted it :)
But with the spread caustic from light IES something not so, can do everything so, but result not what waited more precisely. :(
sorry for my english

2013-04-12, 09:13:29
Reply #32

dschaga

  • Active Users
  • **
  • Posts: 10
    • View Profile
I wouldn't bet that vray is doing everything right with IES files... test your scene with iray and you will get at least proper light distribution with area lights!

2014-01-09, 11:51:24
Reply #33

watchtheinside

  • Guest
hi, guys
can you help to solve this problem with IES light
dont know which settings need to change

thanks!

2015-01-12, 03:39:00
Reply #34

3dwannab

  • Active Users
  • **
  • Posts: 362
    • View Profile
Are photometric web lights allowed to be used in Corona?

I've set the shadows type to corona but no light emits for the IES file. Reason I say this is because most of my libraries light has this type and I have a script (IES viewer) which allows me to click on a toolbar icon an view the IES file and swap it out. It's super handy. See a video here. First 3mins show how to install. See the other on how it's used.


Thanks in advance if this can be done.
« Last Edit: 2015-01-12, 03:54:54 by 3dwannab »

2015-01-12, 10:12:54
Reply #35

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12776
  • Marcin
    • View Profile
I think that photometric lights only work as with "point" shape. Are you using point shape?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-01-12, 15:59:16
Reply #36

3dwannab

  • Active Users
  • **
  • Posts: 362
    • View Profile
Thanks, it works (Sort of) It gives unexpected results.. I think this is due to light only allowed to be emitted from a point and not a shape. I've done two test scenes. Both with 8700 Lumens in the light source. Only difference is the Corona IES light is 1cm disk as the shape.

The darker of the two images is the photometric IES file.. the Coroan IES is how it should appear.


2015-01-12, 17:21:01
Reply #37

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12776
  • Marcin
    • View Profile
Isn't this light blocked by something (glass) or facing in the wrong direction?

Update: I checked and it works strange for me too. Photometric light is much darker. I guess you are right that it's because Corona light has some radius (it gets brighter as it gets bigger) and point light is just a point. It could take "area radius" from Corona shadows parameters into account but it would be a bit awkward to set light's intensity by changing shadow settings. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-01-12, 22:23:19
Reply #38

3dwannab

  • Active Users
  • **
  • Posts: 362
    • View Profile
Will this be fixed at all in the 1st release to allow those shapes in the photometric lights?

2015-01-14, 15:51:27
Reply #39

agentdark45

  • Active Users
  • **
  • Posts: 577
    • View Profile
I tend to avoid mixing max lights and corona lights in a scene. I've found that max photometric lights tend to get sampled way more than the corona lights which leads to excessively long render times in order to clear up directional / ies corona light noise.
Vray who?

2015-01-14, 17:42:29
Reply #40

3dwannab

  • Active Users
  • **
  • Posts: 362
    • View Profile
I tend to avoid mixing max lights and corona lights in a scene. I've found that max photometric lights tend to get sampled way more than the corona lights which leads to excessively long render times in order to clear up directional / ies corona light noise.
Most likely but I like the functionality of the IES script to hotswap out the lights. I might contact the dev and ask if he could do something.