Announcement

Collapse
No announcement yet.

syntax for .mtl files for use by vray

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • syntax for .mtl files for use by vray

    When importing OBJ files, I sometimes need to edit the accompanying .mtl file to enable maya to correctly locate the texture maps (see example below) or to turn down the ks value (specular?). What is the correct syntax in the .mtl file such that upon import the material (newmtl in example below) is designated as a vray material ? Also, does anyone know what the syntax would be to define the normal map for the vray material ?

    newmtl Table
    d 1
    Ns 0.9
    Ni 0
    Ka 0 0 0
    Kd 1 1 1
    Ks 0.811765 0.811765 0.811765
    Km 0.02
    map_Kd /Maps/B9ATRectTableOak_C.jpg

  • #2
    I don't think it is possible to instruct Maya to create V-Ray materials when importing .obj files.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      the normal map is with map_Kn, but not sure if Maya supports it. You will probably import this as a blinn material which you can convert to V-Ray material using a script for exmample.
      V-Ray/PhoenixFD for Maya developer

      Comment

      Working...
      X