2023-12-05, 17:16:05
Home
Help
Search
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Chaos Corona Forum
Chaos Corona for 3ds Max
[Max] Corona Goodies - User Contributions
Lights Converter
Print
Pages: [
1
]
2
3
...
5
All
Author
Topic: Lights Converter (Read 61369 times)
2012-09-13, 12:59:03
GroveR_GoL
Active Users
Posts: 28
Lights Converter
С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
«
Last Edit: 2014-04-24, 20:25:58 by Keymaster
»
Logged
2012-09-13, 14:41:56
Reply #1
racoonart
Active Users
Posts: 1446
Re: Lights Converter
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.
Logged
Any sufficiently advanced bug is indistinguishable from a feature.
2012-09-13, 15:03:05
Reply #2
GroveR_GoL
Active Users
Posts: 28
Re: Lights Converter
Yes you are right. I had not thought about this.
Logged
2012-09-14, 10:47:21
Reply #3
GroveR_GoL
Active Users
Posts: 28
Lights Converter v0.02
Now considering instanced light for VrayLight and VrayIES.
Logged
2012-09-18, 09:30:55
Reply #4
GroveR_GoL
Active Users
Posts: 28
Lights Converter v0.03
New version for last 17.09.2012 build
Logged
2012-09-18, 17:42:03
Reply #5
Tom Zamorin
Active Users
Posts: 83
Re: Lights Converter
LightConverter don`t work for me... on legacy CPU version
http://imageshack.us/a/img822/3530/pic20qq.jpg
Logged
TOm Mani Padme Hum !
http://tomyoda.livejournal.com/
,
http://tomyoda.deviantart.com/
2012-09-20, 11:30:15
Reply #6
GroveR_GoL
Active Users
Posts: 28
Re: Lights Converter
New versin for 19.09 build
Logged
2012-09-26, 13:54:33
Reply #7
Javadevil
Active Users
Posts: 399
Re: Lights Converter
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
Logged
2012-09-26, 14:21:57
Reply #8
GroveR_GoL
Active Users
Posts: 28
flipped 180°
i'll figure it out tomorrow
Logged
2012-09-27, 09:30:46
Reply #9
GroveR_GoL
Active Users
Posts: 28
flipped 180°
I tested script again, and didn't find any issue. So if you have this problem, just delete code:
Code:
[Select]
tmpcorlight.dir = -tmpcorlight.dir
Logged
2012-09-27, 10:09:06
Reply #10
racoonart
Active Users
Posts: 1446
Re: Lights Converter
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).
Logged
Any sufficiently advanced bug is indistinguishable from a feature.
2012-09-27, 10:22:06
Reply #11
GroveR_GoL
Active Users
Posts: 28
Re: Lights Converter
Witch build are you using? And where can i get it?
Logged
2012-09-27, 11:14:13
Reply #12
racoonart
Active Users
Posts: 1446
Re: Lights Converter
I'm using the daily builds. But this change is there for some days already, so you should have it too :)
Logged
Any sufficiently advanced bug is indistinguishable from a feature.
2012-10-11, 14:14:14
Reply #13
petoboso
Active Users
Posts: 18
Re: Lights Converter
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?
«
Last Edit: 2012-10-11, 15:52:46 by petoboso
»
Logged
2012-10-12, 13:35:26
Reply #14
petoboso
Active Users
Posts: 18
Re: Lights Converter
it seems that does´t work with sphere lights
Logged
Print
Pages: [
1
]
2
3
...
5
All
Chaos Corona Forum
Chaos Corona for 3ds Max
[Max] Corona Goodies - User Contributions
Lights Converter