Corona Renderer Forum

General Category => I need help => Topic started by: K u r a i on 2014-09-01, 16:46:41

Title: Corona Material Converter info
Post by: K u r a i on 2014-09-01, 16:46:41
Does anyone know how to use the Material Converter to change VrayMtl to CoronaMtl?

Can someone direct me to a video or something.... in basic terms.
Also, please direct me to tutorials on how to get the best rendering options within Corona.

Thanks.
Title: Re: Corona Material Converter info
Post by: DeadClown on 2014-09-01, 18:19:52
For the material converter: click on "Start conversion" (everything else is optional)
Title: Re: Corona Material Converter info
Post by: K u r a i on 2014-09-01, 21:37:22
???

Title: Re: Corona Material Converter info
Post by: DeadClown on 2014-09-02, 12:56:17
What exactly is the problem here? If there's any problem with a specific feature ask that, but I seriously have no idea what needs further explanation?

(https://corona-renderer.com/forum/index.php?action=dlattach;topic=5067.0;attach=20140;image)

P.S.: another thread (asking the exact same thing) won't do it either, I deleted the other one.
Title: Re: Corona Material Converter info
Post by: tomislavn on 2014-09-02, 13:53:06
Does anyone know how to use the Material Converter to change VrayMtl to CoronaMtl?

Can someone direct me to a video or something.... in basic terms.
Also, please direct me to tutorials on how to get the best rendering options within Corona.

Thanks.

Kurai,

1st. - Download the script if you have some older Corona version, or if you have installed the latest A7.1, or even A6 the script will be installed for you already.
2nd - If you had to download, copy "coronaConverter_v0.20.ms" or any other version to your C:\Program Files\Autodesk\3ds Max XXXX\scripts\ directory. Start 3dstudio max. If you have latest Corona version skip this step to the "Start 3dstudio max" part.
3rd - Once inside max, open up your v-ray scene and change the render engine to Corona (you can do that with the script also but since it is not ticked by default I have mentioned it here)
4th - Go to the "MAXscript" toolbar, press "Run Script..."
5th - It should immediately point you to the scripts directory, if it doesn't then search for it (should be somewhere in your C:\Program Files\Autodesk\3ds Max XXXX\scripts\
6th - Choose "coronaConverter_v0.20.ms" or any other version that you might have (but shouldn't :D - update!)
7th - You will get a little window with Corona Material Converter
8th - Press START CONVERSION
9th - Enjoy :)
Title: Re: Corona Material Converter info
Post by: K u r a i on 2014-09-02, 15:00:54
Thanks Tomislavn,

I did that and when I press 'start convertion' nothing happens. Maybe I am missing something.

Hey, DeadClown. Courtesy costs nothing. If you want people to become loyal to your product you have to cater to peoples needs without attitude.
If I don't understand something it's not my fault.

What am I converting? Materials in the Max viewport or specific files on my HD?
Why is there no clear instructions? The buck stops with you. Case closed.






Title: Re: Corona Material Converter info
Post by: tomislavn on 2014-09-02, 15:11:30
Thanks Tomislavn,

I did that and when I press 'start convertion' nothing happens. Maybe I am missing something.

...What am I converting? Materials in the Max viewport or specific files on my HD?...

You are welcome. Anyway, that is a bit weird. Have you checked with scripts listener in the left bottom part of the screen? It should say "DONE" when the process is over. Usually it takes a while if you have more then 1-2 materials. You can also notice that the process is over when all of your objects become grey in the viewport.

You are converting only the materials in max. Files on the hdd remain the same.
Title: Re: Corona Material Converter info
Post by: johan belmans on 2014-09-02, 15:24:46
Hi Kurai

Your opinion about Deadclown is incorrect.
Perhaps you should thick "switch renderer to Corona".


Title: Re: Corona Material Converter info
Post by: tomislavn on 2014-09-02, 15:41:44
Perhaps you should thick "switch renderer to Corona".

Yeah that might be it also, but then again in the steps above I have mentioned that he has to switch to Corona renderer before running the script so if he followed my steps this should be obsolete :/ ...then again you never know =D
Title: Re: Corona Material Converter info
Post by: K u r a i on 2014-09-02, 15:59:49
Thanks Tomislavn,

I will try again later. Hopefully the Corona Mat Library will expand with time. I have a huge collection of VrayMtl and VRmats.
I really need to convert: Porcelain. I use it for my kitchen doors.

Don't want them to go to waste cos I have just spent the last two months compiling them. In fact, in the last few months I have gone
from Sketchup + Vray2 to 3Ds Max + Vray3. But I am going to give everything up for Max + Corona. The colour mapping is the best I've seen.

I ONLY JOINED YESTERDAY....SO APOLOGIES TO DEADCLOWN :))) I AM NEW TO 3DS MAX, VRAY + CORONA. I AM NEW TO CG FULLSTOP.

So any support, however small, goes a long way....


Title: Re: Corona Material Converter info
Post by: K u r a i on 2014-09-02, 16:45:36
Okay, I got it to work. It says "Done" in the Maxscript as you mentioned (in the bottom left) and the Material Editor has now changed from Standard to CoronaMtl.

But, is it possible to save this as a CoronaMtl file on my HD so I can apply it to other objects in other projects?
And build up a library of converted materials?

Thanks
Title: Re: Corona Material Converter info
Post by: tomislavn on 2014-09-02, 17:07:36
Okay, I got it to work. It says "Done" in the Maxscript as you mentioned (in the bottom left) and the Material Editor has now changed from Standard to CoronaMtl.

But, is it possible to save this as a CoronaMtl file on my HD so I can apply it to other objects in other projects?
And build up a library of converted materials?

Thanks

Great! Glad that you got it sorted out :) Now you can go on and submit some nice renders!
I haven't tried actually, but I don't see why would it be a problem to make a material library out of Corona materials. Go on and try it :) it should work as usual.
Title: Re: Corona Material Converter info
Post by: K u r a i on 2014-09-02, 17:25:53
Thanks...

But, what I am asking is.... HOW to save a converted file... so I can store it for other projects
I don't know how to save it.
Title: Re: Corona Material Converter info
Post by: romullus on 2014-09-02, 19:14:07
Make new material library or open existing one, put your materials in it and save it to hdd. Simple as that.
Title: Re: Corona Material Converter info
Post by: DeadClown on 2014-09-02, 19:14:44
I won't address everything that has been said here now but...
1) we (at least me) normally expect a certain amount of basic max knowledge when some questions are asked. I do not know how much or how few you know about max. So when you ask "how to use the converter" I could ...
a) explain how to load scripts, what a material is and how it is structured and how to save material libraries and so on
b) assume you know how to use max and just need help with a specific feature (that's what I asked for).

2) I'm not in any way associated with the product (Corona renderer). I'm only the developer of the converter script, so if if you think I behave to harsh, it's just me, not the corona team ;-)

3) Corona does not have to be the active renderer to use the converter, just as a note, it works nontheless.

4) again about courtesy and support. I do that (you can have a look in the converter thread), I just don't have the time to answer questions that have been put in a very general way. If you need help, make clear what you need. I don't mean anyone any harm (...and everyone may have a bad mood once in a while) ;-)
Title: Re: Corona Material Converter info
Post by: K u r a i on 2014-09-02, 21:15:38
Many thanks
Title: Re: Corona Material Converter info
Post by: K u r a i on 2014-09-02, 21:20:07
Make new material library or open existing one, put your materials in it and save it to hdd. Simple as that.

Thanks Romullus. I will give it a go tomorrow :)
If it works it will be a little miracle for me.
Title: Re: Corona Material Converter info
Post by: K u r a i on 2014-09-02, 21:25:27
I won't address everything that has been said here now but...
1) we (at least me) normally expect a certain amount of basic max knowledge when some questions are asked. I do not know how much or how few you know about max. So when you ask "how to use the converter" I could ...
a) explain how to load scripts, what a material is and how it is structured and how to save material libraries and so on
b) assume you know how to use max and just need help with a specific feature (that's what I asked for).

2) I'm not in any way associated with the product (Corona renderer). I'm only the developer of the converter script, so if if you think I behave to harsh, it's just me, not the corona team ;-)

3) Corona does not have to be the active renderer to use the converter, just as a note, it works nontheless.

4) again about courtesy and support. I do that (you can have a look in the converter thread), I just don't have the time to answer questions that have been put in a very general way. If you need help, make clear what you need. I don't mean anyone any harm (...and everyone may have a bad mood once in a while) ;-)

I get everything you say and you are right in what you have said. I should have been more specific in what I wanted :)
I guess I got intimidated by your "DeadClown" avatar. Maybe you should have a pic of an angel or something less scary :-)

I am 47 trying to understand and catch up with you talented guys. What's simple to most is taxing for me.
My conversion from Sketchup to Max has been hard. Each day I get alittle better though. Last week I did not even
know what a script was.... though I am familiar with Ruby scripts in SU.

So, again, I apologize for barking at you. It is more to do with my frustration at not knowing how to overcome something.

Is it possible to save a converted material to your HD so I don't have to do it again?
If so, how do I do it?
Will you be making the script convert VRmats in the future? Alot of my best materials are VRmats.

YOU GUYS ARE VERY TALENTED TO BE ABLE TO WRITE THESE SCRIPTS AND MAKE THEM DO WHAT THEY DO.
Thanks for spending the time trying to make our lives easier.
Title: Re: Corona Material Converter info
Post by: DeadClown on 2014-09-02, 21:52:07
I understand how difficult it is to learn a completely new program, it takes a lot of time.
Your statement about frustration fits quite well here - it's also a bit of frustration on my side if I'm a bit grumpy sometimes. I mean, some of us are doing this kind of stuff for many years already (  > 10 years myself ), so if someone asks things we don't think about anymore you may become a bit impatient ;-)

anyways, you can save your materials by using a material library, more information here:
http://docs.autodesk.com/3DSMAX/16/ENU/3ds-Max-Help/index.html?url=files/GUID-F6EAAD34-6B31-4A0D-A3B6-27E14C2F3AD6.htm,topicNumber=d30e460328 (http://docs.autodesk.com/3DSMAX/16/ENU/3ds-Max-Help/index.html?url=files/GUID-F6EAAD34-6B31-4A0D-A3B6-27E14C2F3AD6.htm,topicNumber=d30e460328)

If you need a more guided approach, I'm sure you can find something on youtube.

About VRmats: we just upgraded our licenses to Vray3, I'll have a look if and how they are accessable via maxscript. Can't promise anything ;)
Title: Re: Corona Material Converter info
Post by: K u r a i on 2014-09-03, 00:18:07
I understand how difficult it is to learn a completely new program, it takes a lot of time.
Your statement about frustration fits quite well here - it's also a bit of frustration on my side if I'm a bit grumpy sometimes. I mean, some of us are doing this kind of stuff for many years already (  > 10 years myself ), so if someone asks things we don't think about anymore you may become a bit impatient ;-)

anyways, you can save your materials by using a material library, more information here:
http://docs.autodesk.com/3DSMAX/16/ENU/3ds-Max-Help/index.html?url=files/GUID-F6EAAD34-6B31-4A0D-A3B6-27E14C2F3AD6.htm,topicNumber=d30e460328 (http://docs.autodesk.com/3DSMAX/16/ENU/3ds-Max-Help/index.html?url=files/GUID-F6EAAD34-6B31-4A0D-A3B6-27E14C2F3AD6.htm,topicNumber=d30e460328)

If you need a more guided approach, I'm sure you can find something on youtube.

About VRmats: we just upgraded our licenses to Vray3, I'll have a look if and how they are accessable via maxscript. Can't promise anything ;)

I have enclosed my first render with Sketchup+Vray. I have not produced anything since. After I finished this render I realised that if I want to get good at CG I need to move onto Max.
Corona has side tracked me. So I have gone into a little panic about materials for Corona. I like to hoard stuff.

Thanks for the info on saving materials. But, if you ever get chance can you just create a simple set of instructions (for everyone) on what the rest of the converter does. Just a quick notepad thing.
I always feel that I am missing out on something good I need to know. You must also be fed up of having to explain it on a daily basis.

VRmats are worth paying attention to. I prefer them to the materials from vray-materials.de cos they are self contained and can be assigned in one go.
Now that VRmats are cross platform between SU, Max and Rhino, it would future-proof your converter cos I am sure Corona will traverse to other software and people are persuaded not so much by the software
but the potential assets of the software.... hence my move to Max... it opens doors to other possibilites.

Thanks again DC.


Title: Re: Corona Material Converter info
Post by: tomislavn on 2014-09-03, 00:41:52
Nice render :)
Title: Re: Corona Material Converter info
Post by: K u r a i on 2014-09-03, 09:31:13
Nice render :)

Thanks.... I lived in Japan for a short time and it influenced by design philosophy.
Title: Re: Corona Material Converter info
Post by: Stanislav_But on 2014-09-03, 14:19:13
Finally!))
Not a bad! Good first try!
U welcome to magic! (;
Title: Re: Corona Material Converter info
Post by: K u r a i on 2014-09-03, 14:50:37
Finally!))
Not a bad! Good first try!
U welcome to magic! (;

Headoff... I looked at your site. Your work is really good. Are you Greek? Don't understand the language.


Title: Re: Corona Material Converter info
Post by: Stanislav_But on 2014-09-03, 18:08:21
Finally!))
Not a bad! Good first try!
U welcome to magic! (;

Headoff... I looked at your site. Your work is really good. Are you Greek? Don't understand the language.

Thanks!)

I'm from Ukraine! Just yet I work almost only for local clients so it was no need to translate to other language.
Think now it is time to do it ))
Title: Re: Corona Material Converter info
Post by: K u r a i on 2014-09-03, 19:12:13
Finally!))
Not a bad! Good first try!
U welcome to magic! (;

Headoff... I looked at your site. Your work is really good. Are you Greek? Don't understand the language.

Thanks!)

I've travelled to Kiev in the summer many years ago.... my room over-looked the main square with the fountains and underground Mall. Had some Bolsh Soup, but did'nt like it.
Also been to Odessa in the south.

I'm from Ukraine! Just yet I work almost only for local clients so it was no need to translate to other language.
Think now it is time to do it ))