Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] Corona Goodies - User Contributions => Topic started by: GroveR_GoL on 2012-09-13, 12:59:03
-
Сorona lights converter from Vray and photometric lights.
converts:
VraySun to corona sun
VrayLight to corona light
VrayIES to corona light
Photometric target to corona light (very rough)
Photometric free to corona light (very rough)
Vray Suns are not deleted but hidden.
Latest build is in attachment.
edit by keymaster: updated script version: https://forum.corona-renderer.com/index.php?action=dlattach;topic=79.0;attach=6596
-
Very nice! I didn't test it yet but after a quick look on your code I think it's not considering instanced lights. So if you have about 20 instanced lightsources somewhere you will have 20 unique lights later.
-
Yes you are right. I had not thought about this.
-
Now considering instanced light for VrayLight and VrayIES.
-
New version for last 17.09.2012 build
-
LightConverter don`t work for me... on legacy CPU version
http://imageshack.us/a/img822/3530/pic20qq.jpg
-
New versin for 19.09 build
-
Hi Grover,
I ran the script on a scene, it converted the lights, but it made the target at the wrong end, so the light is flipped 180°.
cheers
-
i'll figure it out tomorrow
-
I tested script again, and didn't find any issue. So if you have this problem, just delete code:
tmpcorlight.dir = -tmpcorlight.dir
-
Keymaster changed the way CoronaLights are created. Before, they were created pointing towards the camera/view. I made a request to do it the other way around (which is much more logical if you create them in a top view or from the side).
-
Witch build are you using? And where can i get it?
-
I'm using the daily builds. But this change is there for some days already, so you should have it too :)
-
Hi, i have problem, on this line write error: CorLight.visibleDirectly = not orignLight.invisible
i tried switch off "invisible" in all lights but this same problem. what is wrong?
-
it seems that does´t work with sphere lights
-
i'll figure it out soon
-
you know, I haven't got any problems with that. Could you send me a link on max file or make screenshot.
-
This problem in max 2013 with vray lights, can provide scene if required
-
Try this new version.
-
Hi everyone and thank you for this fantastic render engine, come to us, I have a problem as you see attached nelal string of the sun, I'm not a programmer so I can not help you but I can test the various scripts with scenes of my daily work, converting etc. attached you find the stamp screen, ah forgot I use 3dsmax 2012/13 vray 2.03. and cornona alpha legacy bye.
-
Hi, lamar_ray, please use last 0.05 version.
-
Hi GroveR_Gol you're right i never saw the second page of the blog.......thx
-
Hi Grover,
I suggest you update the first post of this thread by using modify feature every time you release an updated version of the script. If it's on the first page in the first post, users will find it faster :)
-
Any chance or adding Mental ray photo metric lights ? I realise the intensities will be a problem, but even just converting the lights to corona saves me time, having to place each light and I can manually adjust the intensity. So maybe just default corona light intensity to 10 ?
cheers
-
which kind of lights do you mean?
-
Photometric, the top screen grab.
cheers
-
Photometric lights added.
-
Photometric lights added.
Thanks, I'll tested it tonight.
cheers
-
this script seems to not work with the new daily builds. always gives an error
-
This is awesome ....running test ....thanks
-
Yeah, converter doesn't work with latest builds. always shows mistake.
-
Agree, not working with latest build
-
Hello,
I have changed something in the script, it works with the Daily's now
Thomas
-
Hi thanks for the script.
I see some problem.
When I change lights lets say from Vray the lights visibility is strange.
Please take look example.
-
nice.
-
What about Mental ray lights converting? Very needed feature
-
lights converter doesnt work for A6 for me, do you know any solution?
-
An for me too :(
-
plz Fix
Unknown property - sphereRadius
eror - "CorLight.sphereRadius = orignLight.size0"
-
Same for me ...
-
light converter for alpha v6 does not work ... Urgent to update ....
-
It looks like nobody care
:(
-
Look at the first page, Keymaster added a link to the fixed version by booker ;)
-
me it's not working, everytime I try to convert it (and I have the latest version.. and i'm in max 2013 and alpha v6 ) it says :
-- Unkown property: "sphereRadius"in SCoronaLight:CoronaLight001 @ 0.00000 etc ...
any one know the problem ?
-
The link that Keymaster added doesn't download anything, it takes me to the forum main page.
-
fixed link
-
Awesome response time Keymaster, kudos to you!
-
v7 script still has unknown property sphere radius thingy, am I stoopid ?
-
Hi Can someone please provide Vray Light converter that works....
I have coronaLightsConverter_v0.06.ms which gives error when ran in CORONA A6 on 3DS Max2014
Thanks
-
Nice work & many thanks Keymaster found your link.
-
thanks for the update but it still doesnt work, the same error came up ;spheare radius;
-
In the corona A6 the script did not work, it gave an error at line 226 (CorLight.sphereRadius = orignLight.size0).
I tried to check the problem and I believe that has changed the nomenclature of the sphere light to CorLight.rectangleWidth
Is that right?
-
yes, names of the parameters for all light types were unified into 2 variables
-
Hi! When I convert a scene from vray, it works just fine. Only when I save and reopen the file, I get an unrecoverable error (can't open the file again).
I think the culprit *might* be with IES lights, but cannot confirm. Here's my scene (only lights). After conversion, I can't reopen the saved file.
http://www.zdi.it/var/error_vraylights.zip
Any ideas?
[edit]
Upon further testing; yes: the problem is IES lights. Also, VRaySun isn't deleted post-conversion.
[edit 2]
Maybe targeted IES only?
-
Same problem here with max2014 x64
-
Works flawlessly! :)
-
Same problem here with max2014 x64
Same issue with Max 2013 64 Bit..
-
Hello,
I have changed this part of the code (V0.06):
CorLight.colorMode = orignLight.color_mode
CorLight.blackbodyTemperature = orignLight.color_temperature
CorLight.sphereRadius = orignLight.size0
CorLight.rectangleHeight = 2*orignLight.size1
CorLight.rectangleWidth = 2*orignLight.size0
CorLight.rectangleDirectionality = orignLight.lightDistribution
for it:
CorLight.colorMode = orignLight.color_mode
CorLight.blackbodyTemperature = orignLight.color_temperature
--CorLight.sphereRadius = orignLight.size0
CorLight.rectangleHeight = 2*orignLight.size1
if CorLight.type==0 then
CorLight.rectangleWidth = orignLight.size0
else
CorLight.rectangleWidth = 2*orignLight.size0
CorLight.rectangleDirectionality = orignLight.lightDistribution
and now it works...
EDIT: I did not see that there was a version 0.007 that existed. So my message is no longer needed ! There are still just the problem with the diameter of the spheres...
-
Hi have the same problem with sphere radius, but with v0.07.ms any help:?
-
Stopped working. Corona_v.1.0
-
The (previous Material only) Converter now also converts lights, have a look here: https://forum.corona-renderer.com/index.php/topic,126.0.html (https://forum.corona-renderer.com/index.php/topic,126.0.html)
So this script is obsolete.