Rendered images in wavefront format contain wavefront extensions
Article needs peer review
Symptom
You have rendered a sequence in Wavefront image format. Once the rendering process is completed, you notice that the image file includes a .wavefront extension, when in fact the extension should be .rla. This will cause problems if you want to subsequently import the image files into another application, as the .wavefront file extension will not be recognized.
Cause
This is a known bug:
XSI bug 67171: Rendering: Sequences rendered in wavefront format include .wavefront extensions; should be .rla.
Solution
Here is a workaround to circumvent this problem, until the bugfix is available:
- Render the scene in SOFTIMAGE|XSI, as you would normally do.
- When all the .wavefront image files are written to disk, for example in c:my_renderspass1.*.wavefront, open a DOS command prompt.
- cd to the path where the rendered images are stored, and run the following command:
facsimili
<DIR> <DIR></DIR></DIR>C:>for %i in (pass1.*.wavefront) do move %i %~ni.rla
if you want to test the command first, you simply need to add "echo" in between "do" and "move". This will printout the command that it will execute, without executing it.
<DIR> <DIR></DIR></DIR>Example:
<DIR> <DIR></DIR></DIR>Microsoft(R) Windows NT(TM)
(C) Copyright 1985-1996 Microsoft Corp.
C:users>cd
C:>dir *.wa*
Volume in drive C has no label.
Volume Serial Number is 231C-1305
Directory of C:
04/11/01 09:39a 18,720 test.1.wavefront
04/11/01 09:39a 18,720 test.2.wavefront
04/11/01 09:39a 18,720 test.3.wavefront
3 File(s) 56,160 bytes
208,830,464 bytes free
C:>for %i in (test.*.wavefront) do echo move %i %~ni.rla
C:>echo move test.1.wavefront test.1.rla
move test.1.wavefront test.1.rla
C:>echo move test.2.wavefront test.2.rla
move test.2.wavefront test.2.rla
C:>echo move test.3.wavefront test.3.rla
move test.3.wavefront test.3.rla
C:>for %i in (test.*.wavefront) do move %i %~ni.rla
C:>move test.1.wavefront test.1.rla
1 file(s) moved.
C:>move test.2.wavefront test.2.rla
1 file(s) moved.
C:>move test.3.wavefront test.3.rla
1 file(s) moved.
C:>dir *.rla
Volume in drive C has no label.
Volume Serial Number is 231C-1305
Directory of C:
04/11/01 09:39a 18,720 test.2.rla
04/11/01 09:39a 18,720 test.3.rla
04/11/01 09:39a 18,720 test.1.rla
3 File(s) 56,160 bytes
208,830,464 bytes free
C:>
Result: The image sequence should now contain a 'rla' file extension(s).</P></FONT></font HTMLFixup>
References
Applies To: XSI 1.5 on NT,Win2K,Irix
Posted: 5/4/2001

