Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

PxrTileManifold will compute st mapping coordinates to create textured tiles over a 2D surface. This manifold is able to introduce randomness to hide repeating patterns, if need be.

In the example above, the wooden floor was created by plugging a PxrTileManifold in a PxrMultiTexture to assemble multiple textures into a tiled wooden floor. PxrMultiTexture used 10 different wood plank textures that were randomly picked and graded.

See below for the shading graph and the source textures.

Image Column Gallery
labelsFiltersample1
itemSize150
animatefalse

Warning

PxrTileManifold can only be used with PxrMultiTexture.

Input Parameters

Number of Textures

The number of textures you want to use. You should have at least one texture and PxrMultiTexture supports up to 10 textures.

This value will be passed to connected PxrMultiTexture nodes, so you may control the number of variations from a single location.

Carousel Image Slider
dotsfalse
infinitefalse
sliderHeight180
arrowsfalse
labelsFilternumtextures
slidesToScroll1

Texture Order

The textures can be assigned in different ways. They can either be enumerated in the order in which they appear in the PxrMultiTexture node or be randomly selected.

ValueMode
0Ordered
1Random

 


Before After Image Slider
methodfade-in
width320px
leftImageimage_galleries_uuid_pxrtilemanifold_textureorder_0.png-467fee96-a544-490e-bd1f-6173f5cc3c64
rightImageimage_galleries_uuid_pxrtilemanifold_textureorder_1.png-0002b126-3ae5-4d4e-ac94-3ea3e4b5273c

 


Pattern Settings

Grid offset

The textures are organised in a regular grid arrangement with an optional offset. This is useful for brick or wooden floor patterns, for examples.

Carousel Image Slider
dotsfalse
infinitefalse
sliderHeight128
arrowsfalse
labelsFiltergridoffset
captionstrue

Grout Width

The grout is the space between the tiles. When set to 0.0, there is no space between the tiles. The maximum value is 1.0, where the tiles disappear.

Carousel Image Slider
infinitefalse
sliderHeight128
labelsFiltergroutwidth
captionstrue

Tile Bevel Width

This parameter will control the width of the transition from the grout to the tile. This can be used to shape the tiles' displacement amplitude.

Carousel Image Slider
maxNumber3
dotsfalse
infinitefalse
sliderHeight128
arrowsfalse
labelsFiltertilebevelwidth
captionstrue

Swap Tile ST

Sometime your textures are not oriented correctly and this control will rotate the tile's local st coordinates by swapping s and t.

Before After Image Slider
methodfade-in
width320px
leftImageimage_galleries_uuid_pxrtilemanifold_swaptilest_0.png-ac21c4bb-cd4b-4bbe-a22b-995f1bdca744
rightImageimage_galleries_uuid_pxrtilemanifold_swaptilest_1.png-87d2a446-743e-4e77-87a2-d76b60d3ca26

Randomize

Random Source

For each object to get a different variation, you need to select something unique about them to create a unique seed. You have a choice between the object's id and the object's name.
These attributes are created by the software outputting the RIB and depending on your application (Maya, Katana, etc...), one may work better than the other.

ValueSourceDepends on
0
Object id
Attribute "identifier" "float id"
1
Object Name
Attribute "identifier" "string name"

 

Random


Extra Seed

If you want one of these patterns to compute a different variation, set the randomExtraSeed to a non-zero value. This parameter will only influence the randomization parameters (randomOrientation, randomFlipS, etc).

Before After Image Slider
methodfade-in
width320px
leftImageimage_galleries_uuid_pxrtilemanifold_randomextraseed_0.png-18597da9-f6a3-4d47-ae0f-fdc48bf5b4b3
rightImageimage_galleries_uuid_pxrtilemanifold_randomextraseed_23.png-ff686543-1426-4066-9618-5591231bfeba

Random Orientation

Randomize the orientation of the textures by randomly swapping s and t.

Before After Image Slider
methodoverlay
width320px
leftImageimage_galleries_uuid_pxrtilemanifold_randomorientation_0.png-d11b38aa-a1f5-4752-8228-40e503469a2d
rightImageimage_galleries_uuid_pxrtilemanifold_randomorientation_1.png-b80534bb-30ab-4b73-b25b-40069461f897

Random S Flip

Randomly flip the direction of s.

Before After Image Slider
methodfade-in
width320px
leftImageimage_galleries_uuid_pxrtilemanifold_randomflips_0.png-82f31364-ee3c-41b6-9577-efef15e155f1
rightImageimage_galleries_uuid_pxrtilemanifold_randomflips_1.png-b56ed38c-a83c-4d87-8264-31183342f36f

Random T Flip

Randomly flip the direction of t.

Before After Image Slider
methodfade-in
width320px
leftImageimage_galleries_uuid_pxrtilemanifold_randomflipt_0.png-ab990d82-5dc2-43bc-a864-6bb111f8e923
rightImageimage_galleries_uuid_pxrtilemanifold_randomflipt_1.png-e4ffa19e-39e3-4f65-98d3-f24703ac40a6

Random S Offset

Randomly offset s. You should probably avoid this if your textures are not tiling seamlessly.

Before After Image Slider
methodfade-in
width320px
leftImageimage_galleries_uuid_pxrtilemanifold_randomoffsets_0.png-1df19755-61f6-43c2-8e27-4acf3f8a81c2
rightImageimage_galleries_uuid_pxrtilemanifold_randomoffsets_1.png-f553605a-fee5-4bed-8066-2f6321e95e3d

Random T Offset

Randomly offset t. You should probably avoid this if your textures are not tiling seamlessly.

Before After Image Slider
methodfade-in
width320px
leftImageimage_galleries_uuid_pxrtilemanifold_randomoffsett_0.png-9fb1ee94-34c3-4b21-b613-4b10a0c440a1
rightImageimage_galleries_uuid_pxrtilemanifold_randomoffsett_1.png-33286fce-1a2d-4096-85dc-ebb72090a904

Manifold 2D

Angle

Global rotation angle around the origin of the st domain.

Carousel Image Slider
dotsfalse
infinitefalse
sliderHeight180
arrowsfalse
labelsFilterangle

Global Scale

Scale the st domain while preserving the aspect ratio defined by scaleS and scaleT.

Carousel Image Slider
dotsfalse
infinitefalse
sliderHeight180
arrowsfalse
labelsFilterglobalscale

Scale S

Frequency of the feature in S.

Carousel Image Slider
dotsfalse
infinitefalse
sliderHeight180
arrowsfalse
labelsFilterscales

Scale T

Frequency of the feature in T

Carousel Image Slider
dotsfalse
infinitefalse
sliderHeight180
arrowsfalse
labelsFilterscalet

Offset S

Offset from origin in S.

Offset T

Offset from origin in T.

invert T

Invert the direction of T.

PrimVar S/ST

Name of custom 1D S or 2D ST primvar.

PrimVar T

Name of custom 1D T primvar. 


Output Parameters

Result

This is a regular 2D manifold output.

Result S

Outputs only the computed S value.

Result T

Outputs only the computed T value.

Result Multi

Outputs a multiManilfold, compatible with PxrMultiTexture. 

Result Mask

This is a color output containing the following data:

ChannelDescription
R1.0 if this is an odd tile in S, 0.0 otherwise
G1.0 if this is an odd tile in T, 0.0 otherwise
BGrout mask