sss_setnamefor blending two surfaces together, may require redialing materials to achieve a similar look, and is more sensitive to non-closed meshes, "mouth bags", and internal geometry potentially casting shadows. This new algorithm is exposed in the
standard_surfaceshader via the new parameters
subsurface_type(with enum values
gfrom -1.0 to +1.0). The default is to use the old empirical diffusion method in order not to break the look of existing scenes.
flakesshaders. This shader can create a wide range of car paint looks without having to connect several nodes. For example, a pearlescent effect can be easily added to both the specular and flakes layers by simply tweaking a few parameters such as
flake_flip_flop. An arbitrary number of layers of flakes can be used (
flake_layers). The flakes at a deep layer are covered by the ones closer to the surface and more tinted by pigments (specified by the
options.subdiv_frustum_culling trueand can be turned off for specific meshes with
polymesh.subdiv_frustum_ignore true. The global
options.subdiv_frustum_paddingadds a world space padding to the frustum that can be increased as needed to minimize artifacts from out-of-view objects in cast shadows, reflections, etc. Note that motion blur is not yet taken into account and moving objects might require some additional padding.
kickhas been made substantially more responsive.
AiNodeDestroy: we have optimized removal time for nodes contained in procedurals, greatly reducing the shutdown time at the end of a render in complex scenes.
triplanarshader: Texture filtering in the
triplanarshader has been improved, giving better antialiasing and up to a 2x speedup, specially when using high-resolution texture maps.
triplanarshader now supports projection through Voronoi cells using the new
cellparameter. The rotation angle of the projected texture for each cell can be controlled with the
cell_rotateparameter. Cells can be smoothly blended using the
sizeparameter is replaced by the
densityparameter, which makes it easy to control the size and number of flakes. Alpha channel can be used as a mask. The new
flakesshader supports non-disc shapes and 3D flakes, which are useful to render gemstone inclusions like goldstone, for example.
shadow_matteshader: We have revamped and simplified the shader to make it easier to use, and fixed a number of long-standing issues: Indirect illumination now fills the global
specular_indirectAOVs, so we have removed the shader’s (confusingly named)
indirect_specularAOVs. Self-reflections are no longer rendered. A new
specular_IORparameter was added that controls Fresnel reflection. Parameters
background_typewere removed. The new enum parameter
backgroundcan be set to either
background_color, which allows to connect a specific texture in the
background_colorparameter slot. Parameter
alpha_maskwas added to control whether the alpha must be opaque or if it has to contain the shadow mask.
getattribute()lookups of standard camera attributes (e.g.
camera:resolution, etc) as well as the geometry attributes
standard_surfaceshader with transmission can now pass through AOVs, by enabling the
transmit_aovsparameter. If the background is transparent, then the transmissive surface will become transparent so that it can be composited over another background. Light path expression AOVs will be passed through, so that for example a diffuse surface seen through a transmissive surface will end up in the
diffuseAOV. Other AOVs can also be passed straight through (without any opacity blending), which can be used for creating masks for example.
namespaceparameter. This custom namespace can be used instead of the procedural name, to reference contents through absolute or relative paths. Multiple procedurals can share the same namespace by using the same custom name. Also, they can declare an empty name and they will use the global namespace. (#6085)
kick: When using
kick -turn, the
-turn_smoothflag can be added to smoothly start and stop the movement as the original position is reached with a cubic ramp.
kick -laovs file.asswill display a list of all the built-in AOVs and all the AOVs registered by this .ass file.
kick: When using
kickyou can now toggle between viewing kicks default output and a cputime heatmap with the
Tkey. The mapping of the heat map can be scaled with the
kick -ipr m: Running
kickin Maya-style IPR mode with
-ipr mnow supports "wasd" style keyboard movement. This was previously only available in Quake-style mode,
maketxversion info: The custom
maketxbinary that ships with Arnold now reports, both in the command-line and in the embedded EXR headers, that it was built specifically for "OpenImageIO-Arnold", to distinguish it from the official "OpenImageIO" one.
maketxcolor spaces: The custom
maketxthat ships with Arnold now supports OCIO and SynColor (when available) through the
AiMakeTxreports info messages:
AiMakeTxnow also prints out OIIO informational messages (generated in verbose mode, for instance) in addition to errors.
AiMakeTxreleases input file lock sooner:
AiMakeTxwill now close the input texture as soon as possible instead of waiting for all the maketx jobs to finish.
maketxoptimized flags: Both
maketxnow always run with the flags
--monochrome-detect --opaque-detect --constant-color-detect --fixnan box3 --oiio, which can result in smaller .tx files that are faster to load and take less memory.
.ass.gzfiles through the
AiColorManagerGetFamilyNameByIndex. The addition of these new API methods requires any existing custom color managers (which we know are very rare) to be recompiled.
AiAOVSampleIteratorGetPixel(): Custom filters can now determine what pixel is being filtered with the new API method
transparentLPE label: When setting the
transparentLPE label on a BSDF, the surface will act as if it is transparent and pass through AOVs. This would typically be used for transmission BSDFs, as it is in the
AI_ENABLE_DEPRECATION_WARNINGSwill cause the compiler to emit warnings if deprecated Arnold API functions are used.
AiClosureRandomWalkBSSRDF(). The corresponding OSL closure is
autotiledisabled by default: We found that the
autotilecode in OIIO does not scale with high-resolution textures. In order to avoid very slow loading of untiled textures (such as JPEG) when autotile was enabled, we have now changed the
autotiledefault setting to 0, which effectively disables it. In very rare cases, when rendering with a large number of high-resolution untiled textures, this change might degrade performance as the texture cache will blow up. The real solution is to never use untiled files, and instead convert all untiled textures to .tx tiled files.
maketxdependencies: The custom
maketxthat ships with Arnold now depends dynamically on
libai.soand optionally on
syncolor_shader.so, therefore to work correctly it needs to be run from its installation folder, like
kick, or alternatively the new dependencies should be copied to where
maketxis running from.
flakesshader: It was not easy to control the number of flakes with the
scaleparameters because they were mutually dependent. Now this can be easily done using the new
densityparameter. The shape of each flake has been changed from disc to Voronoi cell, which is more suitable to render inclusions of gem stones. The shader output type has been changed from RGB to RGBA to support a mask.
motionvectorAOV: The motion vector scaling factor in the built-in
motionvectorAOV has changed. This was required to fix a bug that caused zero motion vectors for certain shutter positions. The output from the
motion_vectorshader is unchanged: it can be used as a workaround in your old scenes if you require the previous scaling.
shadow_mattechanges: The shader AOVs
indirect_specularwere removed, since the shader now fills the corresponding built-in AOVs. Parameters
background_typewere removed. Specular reflection is now affected by Fresnel. To roll back to the previous specular behaviour, set
specular_IORto a high value like 100, which effectively disables the Fresnel effect. See notes in the enhancements section above.