Skip to content

Hextile discrepancy between OSL and Metal/GLSL #2885

@bhouston

Description

@bhouston

I recently added OSL and Metal rendering to the Material Fidelity Test Suite: https://material-fidelity.ben3d.ca

I discussed there is ordering discrepancy between applying scale and tiling with the Hextile now.  OSL does it in the opposite order than Metal/GLSL.  This wasn't caught because all existing hextile examples, such as oynx, either do tiling or scale, but not both.

If you have scaling and tiling you get problems like this:

Image

If I were to propose a PRs to fix these issue, should I correct Metal/GLSL or OSL?  I ask because if people are using MaterialX OSL code in production fixing this bugs may be sensitive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions