diff --git a/examples/7_generate_uv_map.py b/examples/7_generate_uv_map.py index e048c8e..528d428 100644 --- a/examples/7_generate_uv_map.py +++ b/examples/7_generate_uv_map.py @@ -30,7 +30,7 @@ def process_uv(uv_coords, uv_h = 256, uv_w = 256): colors = colors/np.max(colors) # --modify vertices(transformation. change position of obj) s = 180/(np.max(vertices[:,1]) - np.min(vertices[:,1])) -R = mesh.transform.angle2matrix([0, 30, 0]) +R = mesh.transform.angle2matrix([-10, -35, 20]) t = [0, 0, 0] transformed_vertices = mesh.transform.similarity_transform(vertices, s, R, t) # --load uv coords diff --git a/examples/results/uv_map/image.jpg b/examples/results/uv_map/image.jpg index e4a48eb..efc62bd 100644 Binary files a/examples/results/uv_map/image.jpg and b/examples/results/uv_map/image.jpg differ diff --git a/examples/results/uv_map/uv_position_map.jpg b/examples/results/uv_map/uv_position_map.jpg index 3808135..8c92270 100644 Binary files a/examples/results/uv_map/uv_position_map.jpg and b/examples/results/uv_map/uv_position_map.jpg differ