Texture for smooth 2

less than 1 minute read

More Smooth case

id obj image ot mr csr gsl lsl ec result
1 12w pure-color 0 0 1 false false 💩
2 12w-5w pure-color 0 0 1 false false 💩
3 mapple_gussian-0.1_12w pure-color 0 0 1 false false 💩
4 mapple_sm-remesh_12w-5w pure-color 0 0 1 false false 💩
5 mapple_sm-remesh_12w-8w pure-color 0 0 1 false false 💩
6 mapple_sm-remesh_12w-12w pure-color 0 0 1 false false 💩
7 mapple_sm-remesh_12w-3k lion           💩
8 mapple_sm-remesh_12w-5w lion           💩
9 mapple_sm-remesh_12w-8w lion           💩
10 mapple_sm-remesh_12w-12w lion           💩

Texture Result

kind sm-remesh-3k sm-remesh-5w sm-remesh-8w sm-remesh-12w no-remesh-12w
pure-color 20210918234813 20210918234735 20210918234647 20210918234540 20210918234052
lion   20210918234946 20210918235040 20210918235116 20210918235327

Gussian noise

20210918235542

ReMapping Texture

20210918235717

Code

faces_F3_T2F_V3F = np.array(scene.mesh_list[0].materials[0].vertices).reshape((-1, 3, 5))
image = np.zeros(img.shape, np.uint8)
mesh_faces = faces_F3_T2F_V3F[:, :, :2] * np.array(img.shape)[:2]
mesh_faces = np.round(mesh_faces)
mesh_faces = mesh_faces.astype("int64")
cv2.fillPoly(image, mesh_faces, (255,255,255))
image = image[::-1,:,:]  # 水平翻转
px.imshow(np.hstack([image, img, (img / 255 * image )]))

Categories:

Updated: