Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why faceted when import obj to unreal engine? #31

Open
wikiwen opened this issue Dec 30, 2021 · 2 comments
Open

Why faceted when import obj to unreal engine? #31

wikiwen opened this issue Dec 30, 2021 · 2 comments

Comments

@wikiwen
Copy link

wikiwen commented Dec 30, 2021

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
Copy link

bsraina commented May 18, 2022

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
Copy link

815056753qqcom commented Jul 25, 2022

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants