Skip to main content

Command-Line Tools and Rendering Extensions

Command-Line Tools​

Run these tools from a terminal, either in the Yeti bin folder or with that folder added to your PATH environment variable. Put two dashes in front of each option. For example:

pgYetiCacheInfo --file "myFileName.fur"

Cache Info​

pgYetiCacheInfo is a command-line tool that reports information about evaluated cache files.

OptionDescription
--helpPrints the help message.
--file <string>The cache file to read.
--density <float>The density to generate the fur at.
--samples <float> [<float> ...]The time samples to evaluate the cache at.
--bounding_boxPrints the bounding box of the evaluated cache.
--hashAt <float>Prints the hash of the cache's graph at the given time.
--fastBoundingBoxPrints the bounding box stored in the cache file, if it has one. If it doesn't, computes a very rough bounding box from the graph's input data, without evaluating the graph.
--texturesLists the textures used by the graph's Texture samplers.
--asciiout <string>Writes the evaluated objects, their transforms and their float and vector attributes, for each sample, to a text file.
--nodesLists the node types that are available.
--parameters <nodeTypeName>Lists the parameters of the given node type.
--detailedWith --parameters, also prints each parameter's type and default value.
--parameterInfo <parameter>Prints the type and default value of the given parameters, in the form nodetype.parameter (for example, texture.file_name). You can give several parameters in a single string.

If an option is invalid, a cache can't be read, the graph fails to evaluate or the --asciiout file can't be written, pgYetiCacheInfo prints an error and exits with a non-zero exit code.

Rendering​

Rendering Extension Parameters​

Yeti runs inside each renderer as a procedural. You can control the fur it generates by changing the procedural's parameters in the scene description (a .rib, .ass or .vrscene file, for example).

The renderers don't all take the same parameters, so the table notes which renderers support each one. In RenderMan, the parameters are passed to the procedural as command-line style options, each preceded by two dashes (for example, --samples -0.5 0.0 0.5).

ParameterRenderersDescription
density <float>AllScales the density of the generated geometry.
length <float>AllScales the length of the generated fibres.
width <float>AllScales the width of the generated fibres.
verbosity <int>AllHow much information Yeti prints: 0 for none, 1 for some and 2 for all.
file <string>RenderMan, V-RayThe cache file to read.
filename <string>ArnoldThe cache file to read.
frame <int>RenderMan, ArnoldThe current frame, as a whole number. It's used, for example, to load the right cache file.
imageSearchPath <string>AllA list of folders to search for textures, separated by semicolons.
samples <float> [<float> ...]RenderMan, ArnoldThe motion blur sample times to generate.
motionBlockSamples <float> [<float> ...]RenderManThe sample times used in the RenderMan motion block statement.
center_samplesRenderManWhen present, Yeti outputs motion samples centred around frame 0, instead of the current frame.
regionOfInterest <float> x 6RenderMan, ArnoldThe minimum and maximum corners of a region of interest to limit the fur to.
frameRelativeSamples <boolean>ArnoldMakes Yeti treat the samples as relative to the frame, adding them to the current frame number.
setDeformTimeSamples <boolean>ArnoldMakes Yeti set the deform_time_samples parameter on the nodes it generates, from the samples.
setFrameRelativeDeformTimeSamples <boolean>ArnoldMakes Yeti set the deform_time_samples parameter on the nodes it generates, from the samples offset by the frame number.
customMotionStartAndEnd <float> <float>ArnoldSets the exact motion_start and motion_end of the generated geometry.
mode <int>ArnoldThe curve style of the output fibres: 0 for ribbons, 1 for tubes and 2 for oriented curves.
min_pixel_width <float>ArnoldThe minimum pixel width of the output curves.
dynamicHairTesselation <boolean>V-RayTurns on V-Ray's dynamic hair tessellation (smooth hair splines) instead of linear segments.
segmentLength <float>V-RayThe length, in pixels, used to decide how finely smooth hair splines are tessellated.
obeyROI <boolean>, minROI <vector>, maxROI <vector>V-RayLimits the fur to a region of interest.

The RenderMan procedural still accepts the old curveChunkSize and threads options so that older RIB files can be read, but they no longer have any effect.

Arnold deform_time_samples​

Two parameters change how Yeti sets deform_time_samples on the nodes it generates in Arnold.

setDeformTimeSamples uses the values in the samples parameter as they are, whether or not frameRelativeSamples is on.

setFrameRelativeDeformTimeSamples offsets the values in the samples parameter by the current frame (so 1.5 and 2.0 on frame 2 become -0.5 and 0), whether or not frameRelativeSamples is on.

note

Yeti never reads any deform_time_samples values set on the procedural node itself.