DocumentationDynamic Media Image Serving and Rendering API

Repeatable textures

Last update: March 4, 2022
  • Topics:
  • Dynamic Media Classic,SDK/API

CREATED FOR:

  • Developer
  • User

Repeatable textures include interior and exterior materials, such as fabrics (both apparel and upholstery), wall-to-wall floor coverings, wallpapers, countertop materials, wood grain textures, roofing and siding materials, and any other generic texture.

Repeatable textures can be applied to flat, flowline, sketch, plane, wall, and cabinet objects. When applied to a non-texturable object, the object is painted with color= (or bgc= if color= is not specified).

A material is considered a texture if it includes a src= attribute specifying an image and if it occurs in an MSS other than decal or wall border.

When rendering, the texture is aligned with the object by matching the anchor= point of the texture material with the texture origin point of the object (as authored in the vignette).

AttributeDescriptionDefault
src=Repeatable texture image; requiredNone.
res=Texture resolutionattribute::Resolution
anchor=Texture alignment pointTop-left corner.
repeat=Repeat mode0 (straight repeat).
sharp=Sharpening0 (no sharpening).

In addition to these basic attributes, repeatable textures support the following special-purpose attributes for advanced applications:

AttributeDescriptionDefault
grout=Grout color and thickness; useful for ceramic/stone tile materialsGrout already present in image
align=Alignment mode (between objects); used for upholstery applicationsCenter-matched
rotate=Texture rotation angle; not supported by wall objects0 (no rotation)
recommendation-more-help
a26166cd-f2f4-45ce-996d-96a0f0d6cf49