tencent-ailab / hifi3dface

Code and data for our paper "High-Fidelity 3D Digital Human Creation from RGB-D Selfies".
Other
756 stars 153 forks source link

Why faceted when import obj to unreal engine? #31

Open wikiwen opened 2 years ago

wikiwen commented 2 years ago

Hello, thank you for the nice work. I load the obj model geneated by the code to unreal engine 4. I found the mesh is faceted. I try to change import setting from "compute normals" to "import normals" according to url. But it's no use.

The obj model is smooth in meshlab.

@cyj907 @linchaobao @tencent-ailab @haoxianzGit Dose anyone can help me? It would be very appreciated.

bsraina commented 2 years ago

hello dear are you able to run this projet sucsessfully?

if yes then please help how to run this and get results on my own picture

when i was try to run it get error help me if you can thank you in advance.

File "../../utils/unwrap_utils.py", line 155, in warp_ver_to_uv [-1] vt_attrs_list.shape[2].value, File "../../third_party/rasterize_triangles.py", line 123, in rasterize_clip_space image_height, File "", line 230, in rasterize_triangles File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/framework/op_def_library.py", line 794, in _apply_op_helper op_def=op_def) File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/util/deprecation.py", line 507, in new_func return func(args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/framework/ops.py", line 3357, in create_op attrs, op_def, compute_device) File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/framework/ops.py", line 3426, in _create_op_internal op_def=op_def) File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/framework/ops.py", line 1748, in init self._traceback = tf_stack.extract_stack()

(step 4) prefit uv failed

815056753qqcom commented 2 years ago

Hello, thank you for the nice work. I load the obj model geneated by the code to unreal engine 4. I found the mesh is faceted. I try to change import setting from "compute normals" to "import normals" according to url. But it's no use.

The obj model is smooth in meshlab.

@cyj907 @linchaobao @tencent-ailab @haoxianzGit Dose anyone can help me? It would be very appreciated.

Reselect [Smooth Shading]