Author Topic: Corona Material/Lights Converter (legacy)  (Read 1088645 times)

2015-06-13, 06:56:41
Reply #630

Stan_But

  • Active Users
  • **
  • Posts: 526
    • View Profile
    • https://www.behance.net/archdizs
Hi Martin!
I got the report with two VrayIesLights

Quote
>>> SCENE Info: <<<
Corona version: 1.01 DailyBuild Jun  9 2015, build timestamp: Jun  9 2015 21:54:59
Converter version: 1.06
Installed Vray plugins: V_Ray_RT_3_00_08  V_Ray_Adv_3_00_08 
# Material conversion took 0.034 seconds
# Iterations: 0, converted: 0
# Map conversion took 0.018 seconds
# Iterations: 1, converted: 0
# Light conversion took 0.004 seconds
# Iterations: 4

Error occured in VRayIES : $VRayIES:Ginger_42_IES @ [-294.613312,176.317032,200.664001]
-- Unable to convert: undefined to type: FileName

Error occured in VRayIES : $VRayIES:Ginger_42_IES001 @ [-203.078262,174.857895,200.664001]
-- Unable to convert: undefined to type: FileName



scene in the max 2014 is attached

2015-06-13, 11:59:15
Reply #631

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Hi,
Thank you very much for your brilliant converter!
One question about normal maps - they need to be loaded with gamma1.0 to corona normal map. It would be great to have possibility to automate the process of reloading normal maps with gamma 1.0. Is it possible to add this function to your great Corona Material/Lights Converter?
I have made a feature request to the Corona devs to add a "gamma warning" maxscript property to the CoronaNormal map. Once this is in I can filter the maps that are probably wrong and add the requested auto-solve tool ;)

Hi Martin!
I got the report with two VrayIesLights
Fixed! Thanks for the full report AND the scene, that's how I like my bug reports :D
Any sufficiently advanced bug is indistinguishable from a feature.

2015-06-13, 15:10:52
Reply #632

Bormax

  • Active Users
  • **
  • Posts: 568
    • View Profile

2015-06-15, 20:35:18
Reply #633

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Update :)

Get it here: http://www.racoon-artworks.de/CoronaConverter/CoronaConverter.html

changelog:
v1.12 - [2015/06/15]
  • fixed: additional CoronaSun on DaylightAssembly conversion
  • fixed: autodesk map Width/Height scale parameters are now converted properly to Bitmap worldunits
  • fixed: VrayIES lights did not convert when the file path was undefined
  • CoronaBitmap: updated realWorldScale conversion
  • CoronaBitmap: added gamma conversion
Any sufficiently advanced bug is indistinguishable from a feature.

2015-06-16, 12:06:11
Reply #634

ktulu

  • Active Users
  • **
  • Posts: 33
    • View Profile
Martin,
first of all a huge thank you for the tremendous work that you have done! I find myself using your converter on a daily basis.

I have one feature request, that could potentially make our lives so much easier with staying up to date: would it be possible to push notifications about available updates of the script? One wouldn't have to check on the forums to get the latest version.

Wwould be much appreciated.

2015-06-16, 13:50:27
Reply #635

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Glad you find the script so much helpful :)

I have one feature request, that could potentially make our lives so much easier with staying up to date: would it be possible to push notifications about available updates of the script? One wouldn't have to check on the forums to get the latest version.

Done. ... Actually a long time ago already :D
You have a button on the right side called "Check online for new converter versions ;)"
It's not checking by itself but I don't want to run any web data transfer thing automatically without user interaction.

mhh.. on second thought... maybe I'll do a checkbutton or something for automatic notification ONLY if users choose to
Any sufficiently advanced bug is indistinguishable from a feature.

2015-06-16, 15:47:17
Reply #636

ktulu

  • Active Users
  • **
  • Posts: 33
    • View Profile
mhh.. on second thought... maybe I'll do a checkbutton or something for automatic notification ONLY if users choose to

This would be perfect.
Thanks.

2015-06-18, 00:59:12
Reply #637

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Some unfortunate bugs were fixed

Get it here: http://www.racoon-artworks.de/CoronaConverter/CoronaConverter.html

changelog:
v1.13 - [2015/06/18]
  • fixed CoronaBitmap conversion errors when referenced bitmaptexture bitmap is not existing (missing map)
  • fixed CoronaBitmap conversion crashing the script when map paths were empty or hit unsupported file type
  • added ".jpeg" to supported file types in CoronaBitmap conversion
Any sufficiently advanced bug is indistinguishable from a feature.

2015-06-18, 12:48:20
Reply #638

Jpjapers

  • Active Users
  • **
  • Posts: 1644
    • View Profile
Great script! Absolutely the best conversion script for any renderer out there!
However theres one thing that would make it even better!
If you could reverse the script to make corona mats and lights standard it would be incredible!
I know i know i should be converting other people to use corona but some of the people i send models to are stubborn and when i render out lovely corona renders and then have to go through and retexture the scene with standard materials its just a little bit annoying.

Its a big ask but i see a few others have mentioned it in the past!
Thanks :)

2015-06-19, 00:01:01
Reply #639

3dwannab

  • Active Users
  • **
  • Posts: 362
    • View Profile
Hi, Will you write in the ability to script the bitmap convert like:
Code: [Select]
CoronaConverter.converterTools.ConvertToCoronaBitmap true
Thanks.

2015-06-19, 12:26:21
Reply #640

Tanakov

  • Active Users
  • **
  • Posts: 831
  • Corona is faster than diarrhea
    • View Profile
    • https://www.behance.net/Gringott
>>> SCENE Info: <<<
Corona version: 1.01.00, build timestamp: Jun 16 2015 16:50:34
Converter version: 1.12
Installed Vray plugins: V_Ray_RT_3_00_07  V_Ray_Adv_3_00_07 
# Material conversion took 3.043 seconds
# Iterations: 3, converted: 3
# Map conversion took 2.846 seconds
# Iterations: 19, converted: 16
# Light conversion took 0.043 seconds
# Iterations: 1

Error occured in Bitmaptexture : Wood Vol.3 100_3_d:Bitmap
-- Runtime error: Error opening bitmap: wood-100_oak-white-american-1_d.png

Error occured in Bitmaptexture : Wood Vol.3 100_3_r:Bitmap
-- Runtime error: Error opening bitmap: wood-100_oak-white-american-1_r.png

Error occured in Bitmaptexture : Wood Vol.3 100_3_b:Bitmap
-- Runtime error: Error opening bitmap: wood-100_oak-white-american-1_b.png


Just doing what I was asked to.
Using Corona since 2014-01-02
https://www.behance.net/Gringott

2015-06-19, 13:22:22
Reply #641

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
If you could reverse the script to make corona mats and lights standard it would be incredible!
I know i know i should be converting other people to use corona but some of the people i send models to are stubborn and when i render out lovely corona renders and then have to go through and retexture the scene with standard materials its just a little bit annoying.

Well, yes, I got this request several times - and it's not like I'm against converting things back to other engines - but the point is that it would mean I'd have to make everything two times, once TO Corona, and once BACK to something else. There are two reasons why I don't want to do that: A) I simply don't have the time to do both B) since I don't have the time to make both things good, one of it would probably suck.  :-/ The amount of bugs would double and thus the workload for the support I usual give to the users of my scripts.

I think it's better to make 1 tool that can do 1 thing great than making several and each of them is doing a moderate job. Maybe I'll change my mind about this in the future, but I wouldn't count on it ;)

Hi, Will you write in the ability to script the bitmap convert like:
Code: [Select]
CoronaConverter.converterTools.ConvertToCoronaBitmap true
Ah, it's already in there, I just forgot to update the maxscript documentation ;) . This should be working:
Code: [Select]
CoronaConverter.converterTools.convertBitmapToCoronaBitmap()
Error occured in Bitmaptexture : Wood Vol.3 100_3_b:Bitmap
-- Runtime error: Error opening bitmap: wood-100_oak-white-american-1_b.png


Just doing what I was asked to.
Thanks for the report! If I'm not mistaken this one should already be fixed in version 1.13, you can download it from the usual place and try again :)
Any sufficiently advanced bug is indistinguishable from a feature.

2015-06-22, 02:43:37
Reply #642

claudyo

  • Active Users
  • **
  • Posts: 95
  • CGI artist / Interior Designer
    • View Profile
    • Portfolio
>>> SCENE Info: <<<
Corona version: 1.01.00, build timestamp: Jun 16 2015 16:50:34
Converter version: 1.12
Installed Vray plugins: V_Ray_RT_3_00_07  V_Ray_Adv_3_00_07 
# Material conversion took 2.466 seconds
# Iterations: 65, converted: 14

Error occured in Bitmaptexture : Map #1123125230:Bitmap
-- Runtime error: Error opening bitmap: D:\Tudordesign\Profi\ideal-lux SOSPIRO AP2\Textures\V5C11.jpg

Error occured in Bitmaptexture : Map #1123125230:Bitmap
-- Runtime error: Error opening bitmap: D:\Tudordesign\Profi\ideal-lux SOSPIRO AP2\Textures\V5C11.jpg

Error occured in Bitmaptexture : Map #1123125230:Bitmap
-- Runtime error: Error opening bitmap: D:\Tudordesign\Profi\ideal-lux SOSPIRO AP2\Textures\V5C11.jpg

Error occured in Bitmaptexture : Map #1123125230:Bitmap
-- Runtime error: Error opening bitmap: D:\Tudordesign\Profi\ideal-lux SOSPIRO AP2\Textures\V5C11.jpg

Error occured in Bitmaptexture : Map #1123125230:Bitmap
-- Runtime error: Error opening bitmap: D:\Tudordesign\Profi\ideal-lux SOSPIRO AP2\Textures\V5C11.jpg

Error occured in Bitmaptexture : Map #1123125230:Bitmap
-- Runtime error: Error opening bitmap: D:\Tudordesign\Profi\ideal-lux SOSPIRO AP2\Textures\V5C11.jpg

2015-06-22, 10:43:42
Reply #643

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Error occured in Bitmaptexture : Map #1123125230:Bitmap
-- Runtime error: Error opening bitmap: D:\Tudordesign\Profi\ideal-lux SOSPIRO AP2\Textures\V5C11.jpg

Thanks for the report!
This bug is most likely already fixed in v1.13, please download it here and check again
http://www.racoon-artworks.de/CoronaConverter/CoronaConverter.html
Any sufficiently advanced bug is indistinguishable from a feature.

2015-06-23, 09:37:19
Reply #644

-Ben-Battler-

  • Active Users
  • **
  • Posts: 170
    • View Profile
Your script is a huge help to all of us, thank you for your tremendous work, DeadClown!
Visit boxel