tgdcli & extra output images - help please

Started by robja, November 24, 2007, 09:00:59 AM

Previous topic - Next topic

robja

Hi,
I'm very impressed with tg2, and slowly getting to know it.

I've had success integrating Terragen 2 into my render farm setup, with one exception, I can't get the extra image argument to work correctly.

Here is the command line and arguments that are generated by some scripts, and launched on the slaves:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

2007-11-23 17-12-05:  0: Plugin rendering frame(s): 4
2007-11-23 17-12-05:  0: INFO: Executable: "C:\Program Files\Planetside Software\Terragen 2 Technology Preview (Deep)\tgdcli.exe"
2007-11-23 17-12-05:  0: INFO: Arguments:  " -p Z:\tg2\deadline_test.tgd -hide  -exit  -r   -o Z:\tg2\rob%04d.bmp -ox Z:\tg2\rob%04d.bmp -f 4"
2007-11-23 17-12-05:  0: INFO: StartupDir: "C:\Program Files\Planetside Software\Terragen 2 Technology Preview (Deep)"
2007-11-23 17-12-05:  0: INFO: UseJobObject: true
2007-11-23 17-12-05:  0: INFO: HideDosWindow: true
2007-11-23 17-12-06:  0: STDOUT: <<<### APP RUN STARTED ###>>>
2007-11-23 17-12-06:  0: STDOUT: Terragen 2 Technology Preview 2 (build 1.9.04.1)
2007-11-23 17-12-06:  0: STDOUT: Licensed to Rob Adams
.
.
.
.usual tg2 STDOUT output here
.
.
2007-11-23 17-12-07:  0: STDOUT: Content path for "Project" set to "Z:\tg2\"
2007-11-23 17-12-07:  0: STDOUT: Starting render...
2007-11-23 17-12-07:  0: STDOUT: Output filename (-o) = Z:\tg2\rob%04d.bmp
2007-11-23 17-12-07:  0: STDOUT: Starting pass 1
2007-11-23 17-12-09:  0: STDOUT: Starting pass 2
2007-11-23 17-12-16:  0: STDOUT: WriteBMP: attempting to write file
2007-11-23 17-12-16:  0: STDOUT: Z:\tg2\rob0004.bmp
2007-11-23 17-12-16:  0: STDOUT: WriteBMP successful
2007-11-23 17-12-16:  0: STDOUT: WriteBMP: attempting to write file
2007-11-23 17-12-16:  0: STDOUT: C:/temp.alpha.0004.bmp  <====================THE PROBLEM===========
2007-11-23 17-12-16:  0: STDOUT: WriteBMP successful
2007-11-23 17-12-16:  0: STDOUT: Finished rendering: 0:00:09s, 2787 micro-triangles
2007-11-23 17-12-16:  0: INFO: Process return code: 0

+++++++++++++++++++++++++++++++++++++++++++++++++++++

It looks to me like the '-ox' argument is being ignored, the output file taking a default value, but why the FORWARD slash in the pathname?

Any help or ideas appreciated.

Rob

Matt

It seems to be an oversight on my part. I'll make the change now and it will go into the next update.

The Extra Output Images can also be set in the Render settings, "Sequence/Output" tab. That's where the "C:/temp.alpha.0001.bmp" comes from. Is this workaround acceptable until we can release a working version?

Forward slashes are acceptable in Windows filenames, and forward slashes are more common on other OSs. You should be able to use either format safely and Terragen will try to make it work on whichever platform it is running on.

Matt
Just because milk is white doesn't mean that clouds are made of milk.

robja

Thanks Matt, I appreciate the very fast response. I can focus on other areas now  :)

Rob