NVIDIAGameWorks/kaolin

dibr_rasterization depth issue

Closed this issue · 0 comments

When I use dibr_rasterization,is the depth here the correct depth? is it the distance to the camera screen.

image_features, soft_masks, face_idx = kaolin.render.mesh.dibr_rasterization(
resolution, resolution, -face_vertices_camera[:, :, :, -1],
face_vertices_image, face_attributes, face_normals[:, :, -1],
rast_backend='cuda')

# image_features is a tuple in composed of the interpolated attributes of face_attributes
images, masks, depths, normals = image_features

I have some confusion.
Thank you!