Itoo Software Forum

Author Topic: Multi/Sub-Object VrayMtl and Standard  (Read 9834 times)

LunarStudio

  • Newbie
  • *
  • Posts: 10
    • LunarStudio Architectural Renderings
Multi/Sub-Object VrayMtl and Standard
« on: February 28, 2010, 08:01:58 PM »
Hi. Thank you for the great plugin!

One thing I wanted to mention is that as I'm going through the multi materials when using Vray, I noticed that some (not all) of the material slots are using Standard materials. This is going to drastically slow down the rendering, especially on animations. From my previous experience with Vray, Standard materials can add an extra minute worth of rendering time.

Can future releases contain VrayMtl only? As of now, I have to manually change all of the Forest materials.

Thanks!

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Multi/Sub-Object VrayMtl and Standard
« Reply #1 on: February 28, 2010, 08:41:50 PM »
Hi,

Do you mean the billboard materials included with Forest or the HQPlants libraries ?

The Forest libraries use standard materials to maintain the compatibility with all renderers.

Carlos Quintero
iToo Software

DIMITRIS

  • Full Member
  • ***
  • Posts: 102
Re: Multi/Sub-Object VrayMtl and Standard
« Reply #2 on: February 28, 2010, 09:09:30 PM »
I must say that it would be great if in the future we could have forest libs downloaded as a seperate file, choosing what kind of materials we need... Vray, Mental Ray, Maxwell, etc...
I will sign it only if it is a piece of art!

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Multi/Sub-Object VrayMtl and Standard
« Reply #3 on: February 28, 2010, 11:42:40 PM »
I must say that it would be great if in the future we could have forest libs downloaded as a seperate file, choosing what kind of materials we need... Vray, Mental Ray, Maxwell, etc...

Well, that's easy. I just wrote a couple of scripts (FMat = Forest Material):

- FMat2VRay: converts all materials from current library from FMat+Standard to FMat+VRayMtl
- StripFMat: converts from FMat+Standard to Standard
- AddFMat: converts from any material to FMat+material

How to convert Forest libraries to VRayMtl:

- Copy ForestMaterialTools.ms to <maxdir>\scripts\startup
- Create a new toolbar (Customize User Interface), and drag the macroscript FMat2VRay from "Itoo Software" category to the toolbar.
- Open a Forest material library from the Material editor (libraries are stored in Program Files\Itoo Software\Forest Pack Pro\matlib).
- Click on FMat2VRay button
- Save the library

I've also attached the Forest Pro libraries already converted to VRayMtl using this script.

And this amazing script to convert any material to VRayMtl would be useful too: http://www.scriptspot.com/3ds-max/scripts/vraymtlconverter-v2-5

For Mental Ray is better to use FMat+Standard, because Forest converts internally the Standard material to a custom MR shader that is optimized for billboards. For Meshes/Proxies you can use FMat with Standard or Arch&Design materials, as you like.

I think it would not be difficult to write a script for Maxwell, but unfortunately i have not a Maxwell license here.

« Last Edit: February 28, 2010, 11:52:18 PM by Itoo »
Carlos Quintero
iToo Software

DIMITRIS

  • Full Member
  • ***
  • Posts: 102
Re: Multi/Sub-Object VrayMtl and Standard
« Reply #4 on: March 01, 2010, 07:27:12 AM »
Nice work as always... thanks!
I will sign it only if it is a piece of art!