Add some print outs

This commit is contained in:
Diego Prado Gesto 2019-03-03 17:52:01 +01:00
parent 102bef9a4f
commit 3a78bc841b

View File

@ -54,10 +54,11 @@ class PickingPass(RenderPass):
vertices = node.getMeshData().getVertices()
normals = node.getMeshData().getNormals()
print("Faces:", faces)
print("Vertices", vertices)
print("Vertices:", vertices)
print("Normals:", normals)
for index, face in enumerate(faces):
normal_vertex = normals[index]
normal_vertex = normals[face][0]
triangle_mesh = vertices[face]
print(face, normal_vertex, triangle_mesh)