PxrRoundCube

PxrRoundCube

This is a texture projection node that can project a noisy texture onto geometry in a "cube" like fashion. The normals from the geometry, or a PxrManifold3DN node determine how the texture is blended across the surface.

Input Parameters

Filename

The filename of the texture. This parameter must be supplied.

RIB: string filename
Default: ""

First Channel Offset

First channel offset to be looked up for Filename.

RIB: int firstChannel
Default: 0

Filter

Selects different reconstruction filters that can be used during texture lookup. The filters available for PxrRoundCube are:

  • 0: Nearest
  • 1: Box
  • 2: Bilinear
  • 3: Bspline
  • 4: Mitchell
  • 5: Catmullrom
  • 6: Gaussian
  • 7: Lagrangian
RIB: int filter
Default: 1

Blur

Specifies how much to blur the image retrieved from the texture file.

RIB: float blur
Default: 0.0

Mip Interpolate

Selects whether to interpolate between adjacent resolutions in the multi-resolution texture, resulting in smoother transitions between levels.

RIB: int lerp
Default: 1

Missing Color

If there is an error opening the texture, use this color.

RIB: color missingColor
Default: 1.0 0.0 1.0

Linearize

Apply the reverse sRGB transform your texture. If you are painting textures in sRGB space (default for most paint packages) but viewing your data in data linear space, your textures will look washed out. This will apply the sRGB transform to your texture, which should make it appear visually linear again.

RIB: int linearize
Default: 0

Frequency

Provides a repeating frequency which is applied atop the manifold.

RIB: float frequency
Default: 1.0

Invert

Inverts the result of the texture lookup.

RIB: int invert
Default: 0

Transition

Provides a transition from tMin to tMax after the texture results have been blended based on the manifold.

RIB: float transition
Default: 0.5

T Min

The low end of the transition scale.

RIB: float tMin
Default: 0.0

T Max

The high end of the transition scale.

RIB: float tMax
Default: 1.0

Normal Manifold

Provides the domain with normal over which to apply the texture. Defaults to P with N.

RIB: struct manifoldN

Output Parameters

resultRGB

The filtered color result. Note all results are looked up starting at the startChannel offset.

resultR

The R channel result.

resultG

The G channel result.

resultB

The B channel result.