Maya Exporter material bug?

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
Ptr
Gnoblar
Posts: 5
Joined: Sat Jun 18, 2005 12:02 pm
Location: Germany

Maya Exporter material bug?

Post by Ptr »

Hello,

when I have a material in Maya, which type is -not- "lambert", the ogre exporter does not write the material properties into the .material file.

For example I export a lambert material, everything is fine. The written material file looks like:

Code: Select all

      lighting on
      shading  gouraud

      depth_write on
      depth_check on
But when the material type in maya is phong or blinn for example, the written material file looks like:

Code: Select all

      lighting
      shading 

      depth_write
      depth_check
As you can see, the values are completely skipped. Hope someone can fix this :)

Thank you!
joi
Gnome
Posts: 327
Joined: Tue Feb 22, 2005 8:11 pm
Location: brazil

Post by joi »

i suggest you start using lambert. i dont think the exporter is set to read any other nodes inside the maya scene that isnt a lambert. its only my guess tho. good luck. :roll:
maya 7.0, vs 2005, ogre 1.2
User avatar
bisco
OGRE Contributor
OGRE Contributor
Posts: 235
Joined: Wed Nov 03, 2004 5:01 pm
Location: London, United Kingdom

Post by bisco »

which exporter are you using? 6.0 and 6.5 should actually support blinn and phong....
Rixeh
Greenskin
Posts: 135
Joined: Sat Nov 20, 2004 8:36 am

Post by Rixeh »

Check your hypershade shading groups -- if there's still a connection between your model and the InitialSG, delete it. The lambert1 shader will always be exported as the default, unless there's no connection at all...
Post Reply