In what way did the example not work? If it's the socket error problem you can just comment out the first line in beauty_pass.rib which mentions the framebuffer.
It looks like any creation of files in the current directory is failing - probably best to check that the directory is not read-only. If it is, just copy it into your home directory and run from there instead.
How so?
In what way did the example not work? If it's the socket error problem you can just comment out the first line in beauty_pass.rib which mentions the framebuffer.
Here is the batch file I am
Here is the batch file I am using.
[code]
@ECHO OFF
REM ***Compile shaders***
ECHO === Compiling Shader(s) ===
ECHO.
aqsl.exe "indirect.sl"
aqsl.exe "bake_points.sl"
aqsl.exe "ao.sl"
IF NOT ERRORLEVEL 0 GOTO error
REM ***Render files***
ECHO.
ECHO.
ECHO === Rendering File(s) ===
ECHO.
aqsis.exe -progress "shadow_pass.rib"
aqsis.exe -progress "bake_pass.rib"
aqsis.exe -progress "beauty_pass.rib"
aqsis.exe -progress "beauty_pass_ao.rib"
IF ERRORLEVEL 0 GOTO end
REM ***Error reporting***
:error
ECHO.
ECHO.
ECHO An error occured, please read messages !!!
PAUSE
EXIT
:end
[/code]
Here is the results I get in the CMD box.
[code]
=== Compiling Shader(s) ===
Warning: Cannot open file "indirect.slx"
Warning: Cannot open file "bake_points.slx"
Warning: Cannot open file "ao.slx"
=== Rendering File(s) ===
04/10/2012 08:28:36 WARNING: Max eyesplits for object "unnamed" exceeded
TIFFOpen: l1.sm: Cannot open.
04/10/2012 08:28:46 Last message repeated 191 times
TIFFOpen: bake.tif: Cannot open.
04/10/2012 08:28:52 ERROR: RiProcRunProgram: CreateProcess failed
04/10/2012 08:28:52 ERROR: Cannot open display "cornellbox.tif" : Undefined
TIFFOpen: cornellbox.tif: Cannot open.
04/10/2012 08:30:49 ERROR: RiProcRunProgram: CreateProcess failed
04/10/2012 08:30:49 ERROR: Cannot open display "cornellbox.tif" : Undefined
Frame (0) 67.52% complete [ 86 secs / 41 left ]
[/code]
So cornellbox.tif is never created even though I have a l1.sm and bake.tif file created in my folder..?
Read only directory?
That's a lot of errors!
It looks like any creation of files in the current directory is failing - probably best to check that the directory is not read-only. If it is, just copy it into your home directory and run from there instead.