Texture Randomizer#

Randomizes the texture of the specified prims.

Installation#

To use this node enable omni.replicator.core in the Extension Manager.

Inputs#

Name

Type

Descripton

Default

Diffuse (inputs:diffuse)

colorf[3][]

Diffuse colour

[]

Diffuse Texture (inputs:diffuseTexture)

token[]

Paths to the diffuse textures to be sampled

[]

Exec In (inputs:execIn)

execution

exec

None

Metallic (inputs:metallic)

float[]

Metallic value

[]

Metallic Texture (inputs:metallicTexture)

token[]

Paths to the metallic textures to be sampled

[]

Mode (inputs:mode)

token

Specifies how to apply randomized materials. Choose from [prims, meshes]

prims

Prims (inputs:prims)

target

Prim(s) to set OmniPBR material

None

Project UVW (inputs:projectUVW)

bool

When enabled, UV coordinates will be generated by projecting them from a coordinate system.

False

Reference Time Denominator (inputs:referenceTimeDenominator)

uint64

The denominator of the reference time

1

Reference Time Numerator (inputs:referenceTimeNumerator)

int64

The numerator of the reference time

0

Roughness (inputs:roughness)

float[]

Roughness value

[]

Roughness Texture (inputs:roughnessTexture)

token[]

Paths to the roughness textures to be sampled

[]

Texture Rotate (inputs:textureRotate)

float[]

Diffuse textures rotating factor

[]

Texture Scale (inputs:textureScale)

float[2][]

Diffuse textures scaling factor

[]

Outputs#

Name

Type

Descripton

Default

Exec Out (outputs:execOut)

execution

exec

None

Metadata#

Name

Value

Unique ID

omni.replicator.core.OgnSampleOmniPBR

Version

1

Extension

omni.replicator.core

Has State?

True

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Texture Randomizer

Categories

Replicator:Core

__categoryDescriptions

Replicator:Core,Core Replicator nodes

Generated Class Name

OgnSampleOmniPBRDatabase

Python Module

omni.replicator.core