Microsoft Knowledge Base |
|
Distributed Rendering Across IRIX and NT Platforms SI3D 3.51 |
|
|
Last reviewed: April 22, 1997
Article ID: Q162638 |
|
The information in this article applies to:
SUMMARYIn SOFTIMAGE 3D, all files that compose a scene are normally placed in a given database. Problems occur when references to files external to the database are kept within a scene (for example, picture files taken from another machine on the network). SOFTIMAGE 3D (SI3D) uses the linktab.ini translation table as a way to locate files (references) from other locations. This article discusses the following:
MORE INFORMATIONWHAT IS THE linktab.ini FILE? The linktab.ini file lets you specify a set of rules that translates IRIX pathnames to NT pathnames, and vice versa (it can also be used to translate pathnames between two NT hosts when the software is installed at different locations). The linktab.ini file also provides SI3D NT with the necessary information to locate and load files that are either on a remote machine or are installed at a different location on the current machine. This file is also used when saving scenes from an NT machine.
WHEN IS THE linktab.ini FILE REQUIRED? The following are functions that require the linktab.ini file:
The following are functions that do not require the linktab.ini file:
The IRIX version of SI3D and mental ray generate UNIX format path information, in addition, the IRIX version of mental ray is dependent on paths being in UNIX format. Therefore, it is the responsibility of the NT version of SI3D to:
IRIX REQUIREMENTS On IRIX machines, you must export the file systems that contain the following directories (assuming that the render is not initiated from the IRIX machine):
You must have a .rayhosts file on the machine that initiates the render. This file is located in your HOME directory (usually C:\USERS\%USERNAME%) and contains a list of all the machines that will take part in the distributed render. Your .rayhosts file must contain only one host name per line, excluding the machine that initiates the render. The HOME variable is defined in the setenv.bat file on NT machines and in the .softimage file on IRIX machines. This directory is necessary for mental ray to find the .rayhosts file. For IRIX, you can put IP addresses in the .rayhosts <valerie shouldn't his be the .softimage file?> file instead of host names. For NT, you must use host names. To reduce the time it takes to locate the hosts on the network, you can add entries in your hosts file (located in %WINDIR%\SYSTEM32\DRIVERS\ETC). On NT machines you connect the exported IRIX directories to an assigned drive letter through the File Manager or Windows Explorer. This assigns an NT drive letter to the location of each exported NFS location on the IRIX machine. These locations are the entries that you make in the linktab.ini file. You must also ensure LM_LICENSE_FILE and SI_LOCATION system environment variables are set in the Control Panel/System application. On NT machines, rules must be created in the linktab.ini file for the following situations:
Create a linktab.ini file similar to the following and place it in %SI_LOCATION%: This file must exist on each NT machine that takes part in a distributed render, regardless of whether it is the master or slave. The Master is the machine that initiates the render, while the Slaves are the machines that take part in the render. This example is based on PC-NFS protocol, different NFS software will give you different mapping parameters.
D:/!351RC2/3D/bin/rsrc /usr/softimage/351_RC2/3D/rsrc/ cs2.cs:/usr/local2/databases /usr/local2/databases/ \\server\share\database /home/people/database/D:/!351RC2/mental_ray/MR_Shaders /usr/softimage/351_RC2/mental_ray/MR_Shaders/ <Due to the limited number of characters that can fit on a line in a Knowledge Base article, the last line, referring to the shaders, wasForced to wrap around to the next line.> The first line ensures the translation of the SI3D resource directory. The second line ensures the translation of a number of scene databases that are stored in a common directory. You require the third line if the databases reside on another NT server, and there are no IRIX machines involved in the rendering. The fourth and last line in this case ensures the translation of the mental ray shaders directory. The mental ray shader path must be the last line of the linktab.ini file. The "!" indicates that only that portion of the path should be looked up in the current list of NFS networked drives. Note that the first path argument of each line is the NT path, while the second path argument on each line is the UNIX equivalent. Ideally, if all the databases that the linktab.ini file referenced were in a single location, entering each database in the table would be eliminated.
PROBLEMS AND LIMITATIONS FOR linktab.ini
ray error:DLL "D:/351RC2/mental_ray/MR_Shaders/Shader_Gifts/lib/ari_shaders.so" not found system error message: No error
CHECKLIST TO ENSURE SUCCESS
is to place the longest matching UNIX path first. The following
is an example of a linktab.ini file that contains conflicting
rules:
sgi1:/mnt1/allusers!user2 /home
sgi2:/home/people/user3 /home/people/user3
In this example, when SI3D loads a scene that references the path
"/home/people/user3", the first rule is applied which results in an
invalid path like "h:/user2/people/user3". This erroneous result would
not occur if you had entered the longest UNIX path first in the table.
TROUBLESHOOTING
You should not edit the .mi file as it contains binary data.
CONFIGURING linktab.ini FOR DISTRIBUTED RENDERING
NT to NT DISTRIBUTED RENDERING
Remember: On NT machines, if the drive or path name pointing to
SI_LOCATION is changed on one machine, then all the machines
must have a linktab.ini file to map each other's installation
correctly and thus be able to perform mental ray distributed
rendering.
The following table is an example of typical NT machine configurations and
what is required for NT to NT rendering when mental ray is installed in
different locations.
not possible to configure the following two examples - NT to NT and IRIX to NT DISTRIBUTED RENDERING - in a table. Had it been possible, Machine 1 and Machine 2 and their respective path configurations would have appeared opposite from one another, thus providing a visual representation of the linktab.ini file requirements.>Machine 1, Master NT Machine Name: STARSKY SOFTIMAGE is installed: C:\SOFT3D_3.51 Databases: C:\Databases Shared as \\STARSKY\DATABASES
File, C:\SOFT3D_3.51\3D\bin\rsrc\DatabaseSys.rsrc
DATABASE Shader_Gifts PATH C:\SOFT3D_3.51\mental_ray\MR_Shaders\Shader_Gifts TYPE SHADERLIB DATABASE Shader_Lib PATH C:\SOFT3D_3.51\mental_ray\MR_Shaders\Shader_Lib TYPE SHADERLIB
If STARSKY is the master and HUTCH is the Slave:
File, C:\SOFT3D_3.51\linktab.ini
C:\!SOFT3D_3.51 /softimageFile, C:\USERS\%USERNAME%\.rayhosts (note the dot!)
HUTCH
If STARSKY generates the .mi file, and it is rendered on HUTCH:
File, C:\SOFT3D_3.51\linktab.ini
C:\!Databases /databases C:\!SOFT3D_3.51 /softimage File, C:\USERS\%USERNAME%\.rayhosts None needed
Machine 2, Slave NT
Machine Name: HUTCH
SOFTIMAGE is installed: D:\3DRC2
Databases: none
\\STARSKY\DATABASES is connected to F:
File, D:\3DRC2\3D\bin\rsrc\DatabaseSys.rsrc
DATABASE Shader_Gifts
PATH D:\3DRC2\mental_ray\MR_Shaders\Shader_Gifts
TYPE SHADERLIB
DATABASE Shader_Lib
PATH D:\3DRC2\mental_ray\MR_Shaders\Shader_Lib
TYPE SHADERLIB
If STARSKY is the master and HUTCH is the Slave:
File, D:\3DRC2\linktab.ini
D:\!3DRC2 /softimage
If STARSKY generates the .mi file, and it is rendered on HUTCH:
File, D:\3DRC2\linktab.ini
\\STARSKY\DATABASES /databases
D:\!3DRC2 /softimage
If the mental ray shaders are NOT stored locally, but are on a shared
drive, when referencing them in the linktab.ini file, make sure to use the
UNC naming convention and not the drive letter they are mapped to. When
mental ray connects to a slave machine it does not use the same
environment as the one it is currently logging on to, therefore the drives
are not mapped. For example, all machines access shaders from a main file
server called ELVIS. The shaders are in the shared directory called
SHADERLIB (readable by everyone) on ELVIS. In this case, the last line in
the linktab.ini file (on all machines) must contain the following:
\\ELVIS\SHADERLIB /shaderlib IRIX to NT DISTRIBUTED RENDERINGThe following table is an example of IRIX to NT machine configurations and the requirements for cross platform rendering.
Exported -rw and Shared as \\KLAATU\homes (Samba)
Machine 2, Slave NT
Machine Name: GORT
Softimage is installed: C:\SOFT3D_3.51
Databases: none
If KLAATU is the master and GORT is the Slave:
File, C:\SOFT3D_3.51\linktab.ini
C:\!SOFT3D_3.51\3D\bin\rsrc /usr/softimage/3D/rsrc
C:\!SOFT3D_3.51\mental_ray /usr/softimage/mental_ray
If KLAATU generates the .mi file, and it is rendered on GORT:
File, C:\SOFT3D_3.51\linktab.ini
C:\!SOFT3D_3.51\3D\bin\rsrc /usr/softimage/3D/rsrc
\\KLAATU\homes!databases /home/people/databases (Samba)
klaatu:/home/people!databases /home/people/databases (PCNFS)
C:\!SOFT3D_3.51\mental_ray /usr/softimage/mental_ray
REFERENCESIn the Support section of the Softimage web site: The Softimage URL address is: http://www.softimage.com If you have any questions concerning the information contained in this article, contact support@softimage.com by e-mail.
|
|
Additional query words: si si3d si3dren si3dhard si3dmr
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |