testrender - Man Page

Test Renderer for Open Shading Language

Synopsis

testrender [options] scene.xml outputfilename

Description

testrender -- Test Renderer for Open Shading Language Copyright Contributors to the Open Shading Language project.

--help

Print help message

-v

Verbose output

-t NTHREADS

Set thread count (default = 0: auto-detect #cores)

--res XRES YRES

Set resolution

--optix

Use OptiX if available

--debug

Lots of debugging info

--debug2

Even more debugging info

--runstats

Print run statistics

--profile

Print profile information

--saveptx

Save the generated PTX (OptiX mode only)

--warmup

Perform a warmup launch

--res W H

Set resolution of output image to W x H

-aa N

Trace NxN rays per pixel

-albedo SCALE

Visualize the albedo of each pixel instead of path tracing

--iters N

Number of iterations

-O0

Do no runtime shader optimization

-O1

Do a little runtime shader optimization

-O2

Do lots of runtime shader optimization

--llvm_opt LEVEL

LLVM JIT optimization level

--optix_no_inline

Disable function inlining when compiling for OptiX

--optix_no_inline_layer_funcs

Disable inlining the group layer functions when compiling for OptiX

--optix_no_merge_layer_funcs

Disable merging group layer functions with only one caller when compiling for OptiX

--optix_no_inline_rend_lib

Disable inlining the rend_lib functions when compiling for OptiX

--optix_no_rend_lib_bitcode

Don't pass LLVM bitcode for the rend_lib functions to the ShadingSystem

--optix_no_inline_thresh THRESH

Don't inline functions larger than the threshold when compiling for OptiX

--optix_force_inline_thresh THRESH

Force inline functions smaller than the threshold when compiling for OptiX

--debugnan

Turn on 'debugnan' mode

--path SEARCHPATH

Specify oso search path

--options LIST

Set extra OSL options

--texoptions LIST

Set extra TextureSystem options

Info

March 2024 testrender 1.13.7.0