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

2013-07-31, 20:08:52
Reply #105

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
ok...

1) You found a bug... but not the one we're searching for :D . It's visible in your first screenshot: If you convert a selection and one of the objects does not have a material assigned, the script fails. I will correct this for the next version.

2) I was able to convert the file without any errors (max 2012, Vray 2.4.04). Just started the script and pressed the conversion button. Since I cannot find a problem here I want to ask you to install a new vray version and try it afterwards. I'm not sure why but it seems to be the reason - no one else reported such a behavior before (the one you mentioned was something else) :( . I'd strongly recommend to update anyways since there were some important bugfixes in the early 2.0 versions.
I converted the file and sent you a link to the max 2012 file (So you can at least play with the scene :) ).
Any sufficiently advanced bug is indistinguishable from a feature.

2013-07-31, 20:26:16
Reply #106

gabe

  • Active Users
  • **
  • Posts: 33
    • View Profile
Wow, i found a bug. I'm in a way happy for that, but damn, i really wanted to work with some scenes and some materials for new secnes... i guess i'll have to wait for that! When do you think a ew version will come out? =D

So the idea is that i should get a newer version of vray (wich one do you sugest, for Max 2011?), then i save the file / archive in this new version, and try then to convert it using the script?

Thanks for the help, and the conversion file, at least i can start learning a few things =)

2013-07-31, 21:09:06
Reply #107

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Wow, i found a bug. I'm in a way happy for that, but damn, i really wanted to work with some scenes and some materials for new secnes... i guess i'll have to wait for that! When do you think a ew version will come out? =D
Oh it's really not a big deal. It's a stupid but not severe bug. It has not been reported before (after about 2.5k downloads :D, so I guess it's not being used very frequently). You can still use the converter to it's full extend, just make sure that all selected objects have a material when you use the "selected" option. "all materials + maps" will work anyway.

So the idea is that i should get a newer version of vray (wich one do you sugest, for Max 2011?), then i save the file / archive in this new version, and try then to convert it using the script?
Yes, please try a new Vray version. Why not just using the latest ;) ?
I guess you won't have to resave the file but it doesn't hurt if you do so ;) . Loading and converting should be enough.
Any sufficiently advanced bug is indistinguishable from a feature.

2013-08-01, 11:21:45
Reply #108

gabe

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

2013-09-02, 19:59:24
Reply #109

xt13r

  • Active Users
  • **
  • Posts: 157
  • Viva la Corona!
    • View Profile
    • my portfolio
Hello!
It seems like with the latest build 2013-09-02 doesn't work material converter script. When i click on convert button, 3dsmax simply freezes and don't react on any actions and buttons.

2013-09-02, 20:56:33
Reply #110

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
mhh... No problem here. Still works fine.
Does it already crash with simple scenes or just "production scenes"? If you have a (small) scene that fails you can send it to me and I will try to debug it here.
« Last Edit: 2013-09-02, 21:19:40 by DeadClown »
Any sufficiently advanced bug is indistinguishable from a feature.

2013-09-02, 21:42:20
Reply #111

xt13r

  • Active Users
  • **
  • Posts: 157
  • Viva la Corona!
    • View Profile
    • my portfolio
it's strange, but right now script works fine. but right now i'm sitting and working in 2014 max with a new scene....
i don't know does it happens only in 2012 max, i'll try to test it in 2012 tomorrow, when i come to work.:)
well, may be it's because of my mistake in process of working or anything else, sorry for that.:) I'll try to find out what's wrong. and if this error happens again - i'll send you scene for debug.

2013-09-02, 22:07:31
Reply #112

Ondra

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

2013-09-04, 13:51:08
Reply #113

xt13r

  • Active Users
  • **
  • Posts: 157
  • Viva la Corona!
    • View Profile
    • my portfolio
Sorry for false alarm!
I understood what happened: i open scene made with vray and while mateditor with full of vray materials is loaded i started your script. and of course it started to convert all materials in mateditor and at the same time corona starts to render preview of those materials. while this happens 3dsmax freezes until the end of process. so, may be it's not a good idea to start script with opened mateditor window where all slots are full of loaded materials)
sorry, again:)
« Last Edit: 2013-09-04, 14:14:53 by xt13r »

2013-09-04, 14:13:15
Reply #114

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Yes, I noticed that too but normally it doesn't take too long :) Good to hear that the problem is not a bug :)
Any sufficiently advanced bug is indistinguishable from a feature.

2013-09-11, 17:10:31
Reply #115

Salamb

  • Active Users
  • **
  • Posts: 6
    • View Profile
Converter does not work in 3dsmax2014??? I would like to know what the problem is.
« Last Edit: 2013-09-11, 17:12:07 by Salamb »

2013-09-11, 19:06:12
Reply #116

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
It does but I will not be able to help you if you don't supply more information.
Any sufficiently advanced bug is indistinguishable from a feature.

2013-09-11, 19:11:13
Reply #117

Salamb

  • Active Users
  • **
  • Posts: 6
    • View Profile
in 2013 version is converted. in 2014 version will only convert pristine materials. Materials of the v-ray models, might I add, are not converted. Sorry for the bad English
« Last Edit: 2013-09-11, 19:12:52 by Salamb »

2013-09-11, 19:16:05
Reply #118

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Are there any error messages or something?
You can send me a very simple scene that does not work and I will test it here. But I didn't have any problems yet with 2014. Which Vray version are you using?
Any sufficiently advanced bug is indistinguishable from a feature.

2013-09-11, 19:19:31
Reply #119

Salamb

  • Active Users
  • **
  • Posts: 6
    • View Profile
different versions. even downloaded models are not converted. No error message. I know that this error is not associated with one scene.