Example of .softimage40 file (IRIX and Linux Environment Script)

Here is what a typical .softimage40 file contains:

 

# Softimage environment variables

#

 

setenv SI_LOCATION /usr/Softimage/Soft3D_4.0

 

set glIsIGLOO=(`/bin/strings /usr/lib/libgl.so | /bin/grep -c IGLOO`)

if ( $glIsIGLOO ) then

set glext="OGL"

else

set glext="GL"

endif

setenv SI_MAX_NB_POL   60000

setenv SI_DBDIR ~

setenv SI_IMAGE_PATH   $SI_LOCATION/3D/dso/sil

setenv SI_CUSTOM_REFINE_TEMP_PATH /usr/tmp

setenv SI_CUSTOM_REFINE_MAX_OPT 5

setenv SI_CUSTOM_MOTION  $SI_LOCATION/3D/custom/motion

setenv SI_CUSTOM_MODEL  $SI_LOCATION/3D/custom/model

setenv SI_CUSTOM_MATTER  $SI_LOCATION/3D/custom/matter

setenv SI_CUSTOM_ACTOR  $SI_LOCATION/3D/custom/actor

setenv SI_CUSTOM_TOOLS  $SI_LOCATION/3D/custom/tools

setenv SI_CHNLDRIVER   $SI_LOCATION/3D/chnlDriver/bin

setenv SI_FONTS   $SI_LOCATION/3D/fonts

setenv SI_VIDEOTAPE    /dev/ttyd1

setenv SI_WACOM    /dev/ttyd2

 

setenv SI_PAINT_FX   $SI_LOCATION/3D/pfx

setenv EFFECTS_EDITOR 'jot -f'

 

if ( ! $?LD_LIBRARY_PATH ) then

setenv LD_LIBRARY_PATH "$SI_LOCATION/3D/dso:$SI_LOCATION/3D/custom/dso:$SI_LOCATION/3D/custom/bin:$SI_LOCATION/3D/dso/softGraphic${glext}:$SI_LOCATION/Particle/dso"

else

setenv LD_LIBRARY_PATH "$SI_LOCATION/3D/dso:$SI_LOCATION/3D/custom/bin:$SI_LOCATION/3D/custom/dso:$SI_LOCATION/Particle/dso:$SI_LOCATION/3D/dso/softGraphic${glext}:${LD_LIBRARY_PATH}"

endif

 

setenv SI_MI_PREVIEW  $SI_LOCATION/mental_ray/bin/mi_preview.so

setenv SI_MI_TRACER  $SI_LOCATION/mental_ray/bin/ray.irix5

 

# Defines the path where the "tmp" files are created when using the option:

# particle -a

 

setenv PARTICLE_TMPDIR  ~

 

setenv LM_LICENSE_FILE  744@localhost

 

# Softimage's alias

#

 

alias soft     $SI_LOCATION/3D/bin/soft -f $SI_LOCATION/3D/rsrc

alias particle '(setenv LD_LIBRARY_PATH "$SI_LOCATION/Particle/dso:$SI_LOCATION/3D/dso/softGraphic${glext}"; $SI_LOCATION/Particle/bin/particle $SI_LOCATION/Particle/rsrc)'

 

 

# Path for easy access to SOFTIMAGE

#

 

set path = ($SI_LOCATION/3D/bin $SI_LOCATION/3D/dev/DKit/bin $SI_LOCATION/3D/custom/bin $SI_CHNLDRIVER/ $SI_LOCATION/mental_ray/bin $SI_LOCATION/Particle/bin $path)

 

 

List of Environment Variables