Converting Vray to Corona including Skin and Hair

Converting Vray to Corona including Skin and Hair
April 11, 2017 Tristan Bethe

If you are a Corona renderer user and you tried converting one of our 3D models with Martin Geupel’s excellent Corona Converter (it comes with Corona by default) you might have noticed almost everything converts very well except the skin and the hair. We want to support Corona right out of the box when you buy one of our models, but this will take a little while. So for in the meanwhile I’ll show you how you can do the conversion yourself. It takes a little bit of work the first time and almost no work after that.

Corona 1.5 does not have a dedicated skin or hair material like Vray has and so there is no easy way to convert it automatically (yet) however you can make those yourself, save them in a library and re-use them.

These are the steps you need to take:

  1. Convert our scene using the Corona Converter that comes with Corona
  2. Delete the skin material and mask from the CoronaLayeredMtl completely
  3. Create a skin material yourself
  4. Save the skin material for later use
  5. About hair

As an example I will be using our free model you can download here.

After you open our free model 3ds max + vray file you first need to set your render to Corona:

Now via “Scripting>Run Script…” navigate to 3ds max script folder and in there you should find a folder called “CoronaRenderer” Run “coronaConverter_v1.xx”

You can use the settings I used in the image above. After the conversion is done and you hit render you should get something like this:

You can see that almost all materials and even lights are very well. The hair material converted correctly as well in this case because we used a normal vray material with opacity maps. Most hair we create today has an vray hair shader and you are expected to see the same error on the hair material as well.

You can now delete the offending material and create your own in the top slot of the CoronaLayeredMtl.

It is very important that the skin material, which uses sub surface scattering, goes in the Base mtl or top slot of the CoronaLayeredMtl otherwise this will not work.

But how to create a realistic looking skin material? Luckily Corona has created a great 2 part tutorial explaining how to do this:

It is advisable to create this material yourself at least once so you know what to tweak later on with other models.

Your CoronaLayeredMtl should now look something like this:

You’ve created the skin material as explained in the video tutorial and created it in the top slot aka Base mtl and removed the skin material from the stack below that (layer 5 in this case).

I’ve made some additional tweaks to the skin material shown in the video and I’ve included the corona max files to our free model that can be downloaded here so you can have a look.

As you will notice it is quite a bit of work to setup the skin shader so best to save your just created skin material in a library so you can load it into another model you’ve converted as described above. The only thing you need to do after loading in the saved skin material is to swap out the old textures for the textures of your newly converted model.

To save the skin material to a library go into the skin layer or Base mtl and click on the diskette icon:

3ds Max will ask you if you want to put the entire tree in the library. Since we just want the skin material click on ‘no’ and select or create a library to put the skin material in and give it a name.

To load this material later click on the ‘Get Material’ icon:

About Hair

Although this model had hair that was easily converted most of our models use vrayHair material and Corona also has no equal to that yet. The same workflow applies only a little bit easier: replace the VrayHair material in the CoronaLayeredMtl with a standard CoronaMtl and maybe copy some of the colors over and tweak the reflection until you have something you like. Save that material in your library as well so you do not need to start over every time you need to convert hair.

As mentioned before we’ve included the corona test model shown above to our free model that can be downloaded hereHowever as of yet this is the only model converted into Corona! Until we’ve converted all our paid models this is something you need to do yourself.


Newsletter sign up