The case of satellite rendering not working in 2011 SAP on 32-bit Windows XP


In this case, a customer was trying to use 64-bit Windows satellites from a 32-bit Windows XP master computer. The problem: it didn’t work. The mental ray diagnostic messages don’t show any usage of the satellites when he rendered on the master computer.

The customer double-checked that ray3hosts had the right computer names and ports, that the raysat service was running on the master and the satellites, and that telnet could connect to the raysat ports. In addition, the customer tried using the 32-bit XP machine as a satellite, and that did work. So it looked to the customer like maybe 32-bit 2011 SAP couldn’t use 64-bit satellites.

I set up a 32-bit Windows XP master with some 64-bit Windows 7 satellites, and sure enough it didn’t work. In addition to checking the mental ray diagnostics on the master, I also run Process Monitor on the satellites to check for raysat activity, and I wasn’t seeing anything.

After double-checking everything again, I tried using WireShark, a network protocol analyzer, on the master to see if Softimage was even trying to connect to the satellite.

I didn’t see any outgoing TCP traffic to the satellite, so I decided to use Process Monitor on the master to check whether Softimage was loading .ray3hosts. And sure enough, it wasn’t.

So I used Process Monitor to check where UserTools was creating .ray3hosts, and it turned out that on Windows XP, UserTools creates the .ray3hosts file in the “wrong” place:

C:\Documents and Settings\blairs\Autodesk\Softimage_2011_Subscription_Advantage_Pack\.ray3hosts

It’s the wrong place because Softimage looks for .ray3hosts here:

C:\users\blairs\Autodesk\Softimage_2011_Subscription_Advantage_Pack\.ray3hosts

Some workarounds:

  • Manually copy the .ray3hosts file to the right place
  • Edit setenv.bat and set MI_RAY_HOSTSFILE to point to the folder used by UserTools
  • Start UserTools from a Softimage command prompt, so it picks up XSI_USERROOT from the environment set by setenv.bat

Setting the active project


To set the active project, you use CreateProject to get an XSIProject object and then assign the XSIProject object to the XSIApplication.ActiveProject2 property.

Application.LogMessage( Application.ActiveProject2.Path ) 

# In this example, I use the path to an existing project
sPath = "C:\\Users\\blairs\\Documents\\Support\\Project" 
oProj = Application.CreateProject( sPath ) 

# ActiveProject2 is a property that takes an XSIProject object
Application.ActiveProject2 = oProj 

Application.LogMessage( Application.ActiveProject2.Path ) 

# INFO : C:\Program Files\Autodesk\Softimage 2011 Subscription Advantage Pack\Data\XSI_SAMPLES
# INFO : C:\Users\blairs\Documents\Support\Project

You can use CreateProject on an existing project, and you’ll get back the object for that project. However, CreateProject will re-create any of the missing default folders (like Actions, Audio, Backup, and so on). If you’re using a customized set of project folders, you can avoid this by using the deprecated ActiveProject property:

p1 = "C:\\Program Files\\Autodesk\\Softimage 2011 Subscription Advantage Pack\\Data\\XSI_SAMPLES"
Application.ActiveProject = p1

Troubleshooting installation failures


When a Softimage (or any other Autodesk product) installation fails, you’ll have to check the install logs to see what went wrong. Typically the only error message you’ll see during the actual install will be too generic to be helpful (for example, Error 1603, which could mean almost anything).

The installation log files are found in your %TEMP% folder.

The main log file is Autodesk_Softimage_IF.log.
If the installation works, you’ll see something like this:

2010/5/4:16:41:15	blairs	MTL-EXAMPLE	=== Setup started on MTL-EXAMPLE by blairs ===
2010/5/4:16:42:17	blairs	MTL-EXAMPLE	Install	Microsoft Visual C++ 2005 Redistributable (x64)	Succeeded	
2010/5/4:16:42:23	blairs	MTL-EXAMPLE	Install	Microsoft Visual C++ 2008 SP1 Redistributable (x86)	Succeeded	
2010/5/4:16:42:30	blairs	MTL-EXAMPLE	Install	Microsoft Visual C++ 2008 SP1 Redistributable (x64)	Succeeded	
2010/5/4:16:44:10	blairs	MTL-EXAMPLE	Install	Autodesk Softimage 2011 Subscription Advantage Pack 64-bit	Succeeded	
2010/5/4:16:58:36	blairs	MTL-EXAMPLE	=== Setup ended ===

If the install failed, Autodesk_Softimage_IF.log tells you which component failed to install.
For each component, there will be a [much] more detailed log.

Depending on whether you installed 64-bit (x64) or 32-bit (x86) Softimage, you’ll see these log files for Softimage:

  • Autodesk_Softimage_x64_Install.log
  • Autodesk_Softimage_x86_Install.log

For the Visual C++ Redistributable, these are the log files to look for:

  • vcredist_x64.log
  • vcredist_x86.log
  • vcredist_x64_2005.log
  • vcredist_x86_2005.log

In these files, I generally look for the point where the install rollback started, and the look back up the file from there. Or I search for things like “error” or “result”.

Once you find the error, it’s off to google to see what you can find.

Learning movies play in the wrong language


A customer in Germany reported that he couldn’t play the Softimage learning movies (aka Essential Skills movies) from NetView, and that when he used Windows Explorer to open the movies, they were playing in Japanese. I had a similar problem on my own machine, where the Maya learning movies played in Japanese instead of English.

First, the links in the NetView learning movies page just “run” the files using the default program for .mov files. If nothing happens when you click a link, check the default program registered for the .mov file type. If you cannot get the links to work, you can find the movies in the folder %XSI_HOME%\Data\NetView_Database\Movies.

The movie files contain multiple audio tracks. Here’s a video that shows how to change to the English audio track:

ERROR : 2004 – Invalid pointer – [line 2]


When you render with xsibatch, you get this error even though the frame does render successfully.

ERROR : 2004 – Invalid pointer – [line 2]

For example:

COMMAND: -render "C:\Users\blairs\Documents\Support\Project\Scenes\Sphere.scn" -
frames 2-4
>Loading: C:\Users\blairs\Documents\Support\Project\Scenes\Sphere.scn...
' ERROR : 2004 - Invalid pointer - [line 2]
' INFO : 4034 - Loaded scene was created with build number: 9.5.184.0 - compatibility version: 900
' ERROR : 2004 - Invalid pointer - [line 2]
OpenScene "C:\Users\blairs\Documents\Support\Project\Scenes\Sphere.scn", False,True
' INFO : Rendering all passes: Passes.Default_Pass
' INFO : Rendering frames '2-4'
' INFO : Rendering pass 'Default_Pass'...
' INFO : Rendering frame 2 (0.0% done)
' INFO : Rendering frame 3 (33.3% done)
RenderPasses "Passes.Default_Pass", , , , siRenderVerbosityDefault

If you running xsibatch from a render manager, this error may cause the render manager to quit the render job.

You can workaround this by renaming the ICEFlow plugin (Application\Plugins\ICEFlow.dll). This plugin manages the transfer of data between Softimage and Maya (the one-click ICE workflow).