Skip to content

Clarification of Oct-Encoded Per-Vertex Normals #8

@plutoscarab

Description

@plutoscarab

The paper that the spec refers to that defines oct encoding of normals talks about the snorm8 data type, which they define on page 6 as having an integer representation of -127 to +127. This spec uses unsigned char for the values, which is 0 to 255. Do we subtract 128, or do we cast to signed char? And either way we can end up with -128, so how is that handled?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions