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

2017-09-22, 19:51:37
Reply #1065

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
If it's technically possible, script could look if some multimap uses more than 25 slots before conversion and give user warning, that after conversion some maps will be inaccessible through editor.
Yes, I'm currently discussing a "depends-on.." solution with warnings. I'm just not too happy about it.

I wonder why this button is needed in the first place, when displacement can be globally toggled from render setup?
Well, you might open and convert an evermotion scene with hundreds of displacements in it (which you probably want to disable). You can of course disable it globally but you will not be able to add a single displacement on any of your own materials then.
« Last Edit: 2017-09-22, 19:55:58 by DeadClown »
Any sufficiently advanced bug is indistinguishable from a feature.

2017-09-22, 21:37:06
Reply #1066

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8779
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Well, you might open and convert an evermotion scene with hundreds of displacements in it (which you probably want to disable). You can of course disable it globally but you will not be able to add a single displacement on any of your own materials then.

Ah, that's a good point! :]
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2017-10-05, 11:16:23
Reply #1067

thinhmx

  • Users
  • *
  • Posts: 1
    • View Profile
Hi you all, Can anyone help me that error when converting vray to Corona.
After convert, all vray materials fresnel ior to 25, if no check 999fresnel ior to 25, then it wll be 999 for every material. And then I have to number them all again.
I see only me got this error -.-
Thank you all !

2017-10-18, 10:19:07
Reply #1068

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Sorry for the late answer. The ior is set to 999 when your original vray material does not have fresnel reflection activated. The ior 25 option is there to clamp that value. So, this is not an error but caused by the materials you are converting.
Any sufficiently advanced bug is indistinguishable from a feature.

2017-10-19, 23:03:37
Reply #1069

rendertime

  • Guest
Just Vray God Damn Bump  .... please make it work

2017-10-20, 09:33:19
Reply #1070

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
I've got no idea what you're requesting ?!
Any sufficiently advanced bug is indistinguishable from a feature.

2017-10-21, 16:09:34
Reply #1071

Tok_Tok

  • Active Users
  • **
  • Posts: 121
    • View Profile
I got this error and the request to post this here, so here you go. This does not happen in CR 1.6.

>>> SCENE Info: <<<
Corona version: 1.7 RC9, build timestamp: Oct 18 2017 22:32:23
Converter version: 1.38
Max version: 19000
Installed Vray plugins: V_Ray_RT_3_40_01  V_Ray_Adv_3_40_01 
# Material conversion took 0.04 seconds
# Iterations: 2, converted: 0

Error occured in VRayFastSSS2 : AM150_50:VRayFastSSS2
-- Unknown property: "texmapOnDisplacement" in AM150_50:CoronaSkinMtl

Error occured in VRayFastSSS2 : AM150_50:VRayFastSSS2
-- Unknown property: "texmapOnDisplacement" in AM150_50:CoronaSkinMtl


2017-10-23, 19:00:49
Reply #1072

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Thanks for the report. I would actually appreciate if people updated their vray version (it's a point release, so it's a free update ;) ). Looks like vray 3.4 didn't have support for displacement in the SkinMtl. So these kind of problems will pop up all the time. I will fix this one in the next version nonetheless ;)
Any sufficiently advanced bug is indistinguishable from a feature.

2017-10-25, 16:54:17
Reply #1073

Herve-Marmillot

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

First of all, thanks a lot for this really helpful script, without it I wouldn't have change for Corona...
I encounter a little problem since I upgraded to Max 2018 : I loaded all my UI stuff, buttons and shortcuts wich I didn't really understand how it works because it always creates bugs with the new version of Max... But now when I hit the right click, the Corona Converter line doesn't show in the list and I can't open it without manualy launching the script everytime.

Can you please explain me how to resolve this problem ? So I can have it in my right click menu everytime I open Max...

Thanks a lot for your help.

Hervé Marmillot

2017-10-25, 17:03:08
Reply #1074

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Can you try to delete this file? "C:\Users\YOURUSERNAME\AppData\Local\Autodesk\3dsMax\2018 - 64bit\ENU\en-US\plugcfg\CoronaRendererMenus.ini"
That should reset the quad menu state and "reinstall" it (I hope).
Any sufficiently advanced bug is indistinguishable from a feature.

2017-10-25, 20:16:57
Reply #1075

NikaNikitina

  • Active Users
  • **
  • Posts: 27
    • View Profile
    • Portfolio
Came searching for a solution and this worked!

2017-10-26, 09:16:24
Reply #1076

Herve-Marmillot

  • Active Users
  • **
  • Posts: 14
    • View Profile
Can you try to delete this file? "C:\Users\YOURUSERNAME\AppData\Local\Autodesk\3dsMax\2018 - 64bit\ENU\en-US\plugcfg\CoronaRendererMenus.ini"
That should reset the quad menu state and "reinstall" it (I hope).

I tried this, but doesn't worked :/

I didn't change my quad menu, but it seems that he is saved somewhere and your script can't overide this save. Maybe you can explain me how to add this Corona Converter option to my menu through the UI presets, and then I save it again somewhere ?

EDIT : It just worked after I restarted my PC ! Thanks for your help ;)
« Last Edit: 2017-10-26, 10:07:02 by Herve-Marmillot »

2017-10-31, 13:55:30
Reply #1077

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Update! Just the VrayHairMtl for now. I'd appreciate if someone who uses hair (I don't) could comment on that. I bypassed the melanin and pheomelanin parameters and just used the vray secondary specular and transmission as tint colors. That works relatively good with the presets in the VrayHairMtl. I also do not convert any glossiness values since that likely makes it worse than better (Please tell me if you disagree).

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

changelog:
v1.39 - [2017/31/10]
  • added VRayHairMtl conversion
Any sufficiently advanced bug is indistinguishable from a feature.

2017-11-25, 14:22:23
Reply #1078

ARTsnake

  • Users
  • *
  • Posts: 3
    • View Profile
Hello
Corona Converter does not work for me in Max 2018 :(((( help me

2017-11-25, 15:21:55
Reply #1079

PROH

  • Active Users
  • **
  • Posts: 1219
    • View Profile
Then help us to help you :) What's not working? Please be more specific.