Results 1 to 7 of 7

Thread: Black reflection with mi_car_paint and standalone

  1. #1
    Join Date
    Nov 2009
    Posts
    4

    Default Black reflection with mi_car_paint and standalone

    Hi all,

    I get a black reflection pass with mi_car_paint_phen_x_passes via Mental Ray Standalone 3.8.1.28. Mental Ray for Maya has no problem. I use no IBL.

    My setup:
    Maya 2011 Hotfix 3 x64 on Win7 64bit
    Mental Ray Standalone 3.8.1.28 on Win XP SP2 64bit

    Is it a bug or is there a solution for this problem?

  2. #2
    Join Date
    Nov 2009
    Posts
    4

    Default

    Hi,

    I updated to Maya 2011 Advantage Pack and MentalRay Standalone 3.8.1.33 (SP1).
    But I still have problems with the car_paint reflections and get a lot of Warnings and two Errors.

    Code:
    MSG   .0  info : mental ray, version 3.8.1.33
    MSG   .0  info : use -copyright option to view copyright and terms of use.
    MSG   .0  info : License server: 172.17.38.7
    MSG   .0  progr: Running 8 render threads
    MSG  0.0  info : version 3.8.1.33, Aug 20 2010, revision 124793
    MI   0.0  progr: reading startup file "C:\Program Files\Autodesk\mrstand3.8.1-adsk2011\bin/rayrc"
    MI   0.0  progr: parsing file C:\Program Files\Autodesk\mrstand3.8.1-adsk2011\bin/rayrc
    MSG  0.0  info : no ray hosts file .ray3hosts or .rayhosts
    MI   0.0  progr: parsing file C:/rendertemp/rendering_test_cam_cameraShape2_quader1_019.mi
    LINK 0.0  progr: module #2 (AdskShaderSDK.dll) loaded
    LINK 0.0  progr: module #3 (MayaShaders.dll) loaded
    LINK 0.0  progr: module #4 (mayabase.dll) loaded
    LINK 0.0  progr: module #5 (architectural.dll) loaded
    MI   0.0  error  121417: C:/rendertemp/rendering_test_cam_cameraShape2_quader1_019.mi, line 15: cannot find $include file "x_miaCarpaint.mi"
    LINK 0.0  progr: module #6 (architectural.so) loaded
    LINK 0.0  progr: module #7 (paint.so) loaded
    LINK 0.0  progr: module #8 (subsurface.so) loaded
    API  0.0  warn   302004: C:\Program Files\Autodesk\mrstand3.8.1-adsk2011\bin/../shaders/mi/base.mi, line 135: while defining declaration "mib_texture_vector": declaring nonexisting function mib_texture_vector 
    API  0.0  warn   302004: C:\Program Files\Autodesk\mrstand3.8.1-adsk2011\bin/../shaders/mi/base.mi, line 154: while defining declaration "mib_texture_remap": declaring nonexisting function mib_texture_remap 
    API  0.0  warn   302004: C:\Program Files\Autodesk\mrstand3.8.1-adsk2011\bin/../shaders/mi/base.mi, line 168: while defining declaration "mib_texture_rotate": declaring nonexisting function mib_texture_rotate 
    API  0.0  warn   302004: C:\Program Files\Autodesk\mrstand3.8.1-adsk2011\bin/../shaders/mi/base.mi, line 180: while defining declaration "mib_bump_basis": declaring nonexisting function mib_bump_basis 
    API  0.0  warn   302004: C:\Program Files\Autodesk\mrstand3.8.1-adsk2011\bin/../shaders/mi/base.mi, line 197: while defining declaration "mib_bump_map": declaring nonexisting function mib_bump_map 
    API  0.0  warn   302004: C:\Program Files\Autodesk\mrstand3.8.1-adsk2011\bin/../shaders/mi/base.mi, line 214: while defining declaration "mib_passthrough_bump_map": declaring nonexisting function mib_passthrough_bump_map 
    API  0.0  warn   302004: C:\Program Files\Autodesk\mrstand3.8.1-adsk2011\bin/../shaders/mi/base.mi, line 228: while defining declaration "mib_bump_map2": declaring nonexisting function mib_bump_map2 
    ...
    API  0.0  warn   302004: C:\Program Files\Autodesk\mrstand3.8.1-adsk2011\bin/../shaders/mi/base.mi, line 1081: while defining declaration "mib_glossy_reflection": declaring nonexisting function mib_glossy_reflection 
    API  0.0  warn   302004: C:\Program Files\Autodesk\mrstand3.8.1-adsk2011\bin/../shaders/mi/base.mi, line 1109: while defining declaration "mib_glossy_refraction": declaring nonexisting function mib_glossy_refraction
    ...
    PHEN 0.17 error  051011: shader "mib_glossy_reflection" not found
    I did default installations of Maya and MentalRay Standalone. What's the problem?
    I need help!!!

  3. #3
    Join Date
    Jan 2009
    Location
    Berlin/Germany
    Posts
    576

    Default

    The base.dll shader library is required but not loaded according to the log. Check the .mi file for a related link command, and add it if it's missing.

  4. #4
    Join Date
    Nov 2009
    Posts
    4

    Default

    Thanks Steve for your reply.

    You are right there is no link command in the mi-file. In the meantime I also noticed that I have a linking problem. But I don't want to add the missing link in every rendering...
    In former versions of MR STD I used a ray.bat to set MI_ROOT (and MI_RAY_INCPATH/MI_LIBRARY_PATH) to a network path where a customized rayrc link standard and customized shaders. With MR STD 3.8.1 I ran into an license problem when I set MI_ROOT.
    Is there any documentation how to get this network solution work again?

  5. #5
    Join Date
    Dec 2004
    Location
    Marina Del Rey, California
    Posts
    2,929

    Default

    Note that a rayrc file is being parsed at:
    C:\Program Files\Autodesk\mrstand3.8.1-adsk2011\bin/rayrc

    Try saving the original rayrc, eg to rayrc.orig and then putting your customized rayrc there.

    That said, its odd that there was no loading of base.dll. For full debugging, try copy and pasting your rayrc as well as the top of the mi file where the extra link and $include statements could be.
    Barton Gawboy
    Training and Special Projects, NVIDIA ARC
    LAmrUG Forum Originator

  6. #6
    Join Date
    Nov 2009
    Posts
    4

    Default

    Hey Bart, thanks for your reply.
    I did how you suggested and it works fine now.

    If anybody has a solution to set MI_ROOT to a network folder and parse the rayrc from there I'm still interested.

  7. #7
    Join Date
    Mar 2008
    Posts
    28

    Default

    This seems to be a bug in Maya. If you use a mr physical light you don't get reflections on car paint. If you add a mib_cie node to your scene (don't connect it, just add one in the hypershade) then your reflections will work fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •