Skip to content

pixel normal #212

@chen990627

Description

@chen990627

`pixel_attributes,alphas = rasterize_triangles.rasterize_triangles(
vertices, vertex_attributes, triangles, clip_space_transforms,
image_width, image_height, [-1] * vertex_attributes.shape[2])

pixel_normals = tf.nn.l2_normalize(pixel_attributes[:, :, :, 0:3], axis=3)`

the code above is from mesh_renderer.py and I debug it with a image.
why does the pixel normal contain negative values? what do these negative values represent?

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