Microsoft Knowledge Base

PRB: Pre-Frame and Post-Frame Render Scripts In Mental Ray

Last reviewed: February 21, 1997
Article ID: Q163988
The information in this article applies to:
  • Softimage 3D for Windows NT, version 3.51

SYMPTOMS

When using mental ray, you are not able to render pre-frame and post-frame render scripts.

CAUSE

On NT machines, the mental ray translator outputs backslashes ( \ ) instead of forward (/) slashes for pre-frame and post-frame render script paths. This prevents the scripts from being properly called.

RESOLUTION

Complete the following procedure to correct this problem:

  1. Set the environment variable SI_ASCII_VECTORS to any value. To do this, edit the SETENV.BAT file and add the following line:

          set SI_ASCII_VECTORS = yes
    

  2. When you are ready to render your scene, click Options in the Render dialog box. From the dialog box that appears, select Output to File and enter the name you want the .mi file to be saved with (always add the .mi extension).

  3. Click Accept and then click Render Sequence.

  4. Edit the .mi file with a text editor such as Write. At the end of each frame description (after end frame key words) there is a line similar to the following: (the following should appear on ONE line)

          system "C:\Soft3d\scripts\mrscript.bat
          C:\users\soft\SOFTDB\RENDER_PICTURES\mypic 1 0 1"
    

    On these lines, replace all of the backslashes ( \ ) with forward slashes ( / ), and then save the file.

  5. Your file is now ready to render.

STATUS

Softimage has confirmed this to be a problem and will post new information in the Microsoft Knowledge Base as it becomes available.

REFERENCES

Query the Microsoft Knowledge Base for articles with the Keywords: si3dren and si3dmr.

If you have any questions concerning the information contained in this article, contact support@softimage.com by e-mail.


KBCategory: kbgraphic kbprb
KBSubcategory: si si3d si3dren si3dmr
Additional reference words: 3.51



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 21, 1997
©1997 Microsoft Corporation. All rights reserved. Legal Notices.