
Standalones
This allows you to render an image without loading all of SOFTIMAGE 3D.
soft [<resources path>] -R <scene> [-d <input database>] [-L] [-D <output database>] [-S] [-j] [-G <5 digits>] [-r <x> <y>] [-s <first> <last> <step>] [-v] [-l <setup values>] [-f <report frequency>] [-c] [-o] <path> [-n] <filename> [-z] [-b <distance from left edge> <distance from right edge> <distance from bottom edge> <distance from top edge>] [-t]
<resource path> is the path to the resource directory (/3D/rsrc).
<scene> is the name of the scene to render.
-d
-D
-L
-S
-j
-G
-r
-s.sts) file.
-v-l option, prints out setup questions with values taken from the command line. This option is useful for seeing whether values correspond to the proper parameters.
-l-S option, but parameter values are taken from the command line instead of the standard input. Values must be entered in the same order as required by the -S option:
| Parameter | Default |
|---|---|
| Output Image | |
| Starting Frame | 1 |
| Ending Frame | 100 |
| Step Frame | 1 |
| Picture Width | 500 |
| Picture Format: 0) 35mm 1.37/1 (1.37000) 1) 35mm 1.66/1 (1.66670) 2) 35mm 1.85/1 (1.85000) 3) 70mm Panavision (2.19000) 4) 70mm IMAX (1.36400) 5) 70mm OMNIMAX (1.36400) 6) NTSC (1.33330) 7) PAL (1.33330) 8) HDTV (1.77778) 9) Slide 35mm (1.50000) 10) 6cm X 6cm (1.00000) 11) 6cm X 9cm (1.50000) 12) 4 X 5 (1.25000) 13) Custom aspect 14) Custom size | 13 |
| Aspect | 1.18 |
| Pixel Ratio | 1 |
| Picture Height | 424 |
| Filtering: 0) None 1) Bartlett Window 2) Adaptive | 2 |
| Max Level | 2 |
| Threshold | 0.05 |
| Sub-Region Rendering | No |
| Field Rendering | No |
| Back Culling | Yes |
| Ray Tracing Depth | 1 |
| Triangles by Leaf | 10 |
| Max Tree Depth | 30 |
| Pre-frame Script | |
| Post-frame Script | |
| Global Ambient | 0.3 0.3 0.3 |
| Motion Blur | No |
| Time Statistics | No |
| Memory Statistics | No |
| Tree Statistics | No |
| On Line Information | No |
-f
-c
-o
-n
-z
-b
RENDER-test.1-0.dsc in the local database. The -j option allows more than one computer to render the scene without having two computers render the same frame . The -s option specifies which frames in the sequence to render, bypassing the original setup.
soft -R RENDER-test.1-0 -d local -j -s 10 352 1The following example renders the latest version of the
Render-Plan3 scene, which is in the final database. The rendered frames will be recorded in /EX8a/RENDER/Plan3 and will be named back3. The rendering can be run on more than one computer because of the -j option. The ampersand sends the process to the background so that you can use the current shell to work on other tasks.
soft -R RENDER-Plan3 -d final -L -j -o /EX8a/RENDER/Plan3 -n back3 &
bg command. For example:
soft -R final_logo_job -d tutorials -L -s 1 450 1 ^z bgNote: Use the Ctrl-Z command to pause a rendering job. You can then can do something else, such as perform IRIX file management, without the huge overhead of a heavy rendering job using up all of the CPU cycles. To return the job to the foreground, enter the
fg command.The second way to send a process to the background is to add an ampersand (&) to the end of the command. For example:
soft -R final_logo_job -d tutorials -L -s 1 450 1&These two techniques push the process into the background, and allow you to use the current shell for other things. The process continues to run until you close the window where you started the process.
To continue a process after closing a window, or even after logging out, use the nohup command. To do this, create an alias such as:
alias doit nohup soft -R
To run your alias, use the following syntax:
doit filename >& logfile &
For example:
doit final_logo_job -d tutorials -L -s 450 1 >& log &
filename represents a scene and logfile represents the text file to which messages are redirected. It is important to redirect messages to a file because messages are normally sent to the local window. However, the process stops if you close the local window or log out.
soft-R <scenename> -n output\ -b <distance from left edge> <distance from right edge> <distance from bottom edge> <distance from top edge>The subregion values should be in the range [0, 1] and are a percentage of image resolution. They must overlap by 1 percent because of the antialiasing of edges. To do this, use Adaptive supersampling (see the SOFTIMAGE 3D User's Guide: Rendering). Also, note that the values saved in the SETUP_SOFT.sts file work differently.
The following example of renders four quadrants (whatever the resolution may be):
soft -R test.2-0 -n a -b 0.00 0.51 0.49 1.00 soft -R test.2-0 -n b -b 0.49 1.00 0.49 1.00 soft -R test.2-0 -n c -b 0.00 0.51 0.00 0.51 soft -R test.2-0 -n d -b 0.49 1.00 0.00 0.51The following example renders nine quadrants:
soft -R test -L -n a -b 0.00 0.34 0.65 1.00 soft -R test -L -n b -b 0.32 0.67 0.65 1.00 soft -R test -L -n c -b 0.65 1.00 0.65 1.00 soft -R test -L -n d -b 0.00 0.34 0.32 0.67 soft -R test -L -n e -b 0.32 0.67 0.32 0.67 soft -R test -L -n f -b 0.65 1.00 0.32 0.67 soft -R test -L -n g -b 0.00 0.34 0.00 0.34 soft -R test -L -n h -b 0.32 0.67 0.00 0.34 soft -R test -L -n i -b 0.65 1.00 0.00 0.34Later, you can composite the rendered images by defining the full resulting resolution. The composite standalone uses the information in the "comments" area of the picture file. A sample composite script exists for nine quadrants resulting in a 1270 x 714 image. Execute this in the directory where the picture files reside.
composite -S 1270 714 final -d -v -s 1 1 1 a b c d e f g h i

Generated with Harlequin WebMaker