NVIDIAGameWorks/kaolin

mesh.rasterize randomly give invalid results on RTX 3090TI

jder1234 opened this issue · 1 comments

When I debug the code as follows, the value of face_idx are randomly produced incorrectly with same inputs. Sometimes, the mesh is normally rendered, and sometimes, all of elements of tensor face_idx are -1.

 texture_coordinates, face_idx = kaolin.render.mesh.rasterize(
            height=image_height,
            width=image_width,
            face_vertices_z=face_vertices_camera[:, :, :, -1],
            face_vertices_image=face_vertices_image,
            face_features=face_uv_attributes,
            backend="nvdiffrast",
        )

never mind, it's caused by my wrong inputs.