TESTRENDER(1)

πŸ“¦
version 1.15.4.0 Β· 4 versions
, in fedora 44

✨ NAME ✨

testrender β€” Test Renderer for Open Shading Language 🎨

πŸ¦‹ SYNOPSIS πŸ¦‹

testrender [options] scene.xml outputfilename

πŸ’– DESCRIPTION πŸ’–

okay so bestie, meet testrender β€” the Test Renderer for Open Shading Language, and the copyright on this icon belongs to the Copyright Contributors to the Open Shading Language project. πŸ‘‘ she's giving renderer, she's giving test harness, she's giving let me visualize your shaders.

here's the whole menu of flags, no skips, no cuts, all of it 🫢

  • --help β€” print the help message
  • -v β€” verbose output (she talks a LOT, we love that for her)
  • -t NTHREADS β€” set the thread count (default = 0, which means auto-detect the number of cores)
  • --res XRES YRES β€” set resolution
  • --optix β€” use OptiX if it's 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 the resolution of the output image to W x H
  • -aa N β€” trace NxN rays per pixel
  • --no-jitter β€” disable AA pixel jitter
  • -albedo SCALE β€” visualize the albedo of each pixel instead of path tracing
  • -normals β€” visualize the shading normals instead of path tracing
  • -geonormals β€” visualize the geometric normals instead of path tracing
  • -utangents β€” visualize the surface tangent with respect to the u texture coordinate instead of path tracing
  • -vtangents β€” visualize the surface tangent with respect to the v texture coordinate instead of path tracing
  • -uvs β€” visualize the texture coordinates 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 the oso search path
  • --options LIST β€” set extra OSL options
  • --texoptions LIST β€” set extra TextureSystem options

and that's the whole page, bestie, no notes πŸ’… this was testrender, manual page 1, from testrender 1.15.4.0, dated May 2026 β€” go render something iconic πŸŒˆβœ¨πŸ¦‹

πŸ“¦ where this page comes from