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

Rendering artifact #20

Open
shinxg opened this issue Sep 26, 2019 · 4 comments
Open

Rendering artifact #20

shinxg opened this issue Sep 26, 2019 · 4 comments

Comments

@shinxg
Copy link

shinxg commented Sep 26, 2019

Thanks for @panmari sharing rendering code. I am wondering if there is a solution to the rendering artifact below. I have tried bpy.ops.mesh.normals_make_consistent(inside=False). But it doesn't work. Really appreciate you help!
image

@panmari
Copy link
Owner

panmari commented Dec 8, 2019

Sorry for the late reply. I imagine this is a pecularity of this mesh. Do you have a link handy? Or were you already able to resolve this issue?

@shinxg
Copy link
Author

shinxg commented Dec 9, 2019

I guess so, there are lots of meshes whose faces' normal are not right in ShapeNet(car, guitar...). They look abnormal when face culling mode is not set in MeshLab. I've tried to make it look normal in Blender by searching Blender docs and modifying your scripts but failed. Finally, I solved it
by using the KeyShot script(https://github.com/shinxg/CGScripts/blob/master/RenderImagesForAllModels.py). Here is a shape link(https://drive.google.com/drive/folders/1BO3jw5GaO2JKmgV_iQBK4u1JfM9r8U7N?usp=sharing). If you add a face culling mode in this blender script, please let me know. Thanks!

@aluo-x
Copy link

aluo-x commented Jan 14, 2020

I see this in a few models in ShapeNetv2 as well, along side with other artifacts (missing texture, inverted faces). This looks like z-fighting, and if the dataset is only used for machine learning it shouldn't be that huge of an issue.

Another person also had the same issue here.

@panmari
Copy link
Owner

panmari commented Apr 12, 2021

Adding an option for face culling sounds like a good idea! Would you like to send a PR so others can benefit from your solution?

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

No branches or pull requests

3 participants