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

How/Why do certain objects render correctly in the ShapeNet Viewer but not in Blender? #28

Closed
airalcorn2 opened this issue Mar 17, 2019 · 3 comments

Comments

@airalcorn2
Copy link

airalcorn2 commented Mar 17, 2019

As discussed on the ShapeNet forums, some objects do not render correctly in Blender. For example, the object found at ShapeNetCore/02958343/114b662c64caba81bb07f8c2248e54bc (a "NYPD Highway Patrol Dodge Charger") looks like this in Blender:

blender_car

but, in the ShapeNet viewer, it looks like this:

car_shapenet

As was mentioned in the forum post, the models that do not render properly in Blender seem to have a "bad topology", e.g., they include "two-sided" faces and "flipped" faces (as mentioned in the ShapeNet Mitsuba fork). So, my question is, HOW does the ShapeNet Viewer/jMonkeyEngine properly render these objects? I would like to be able to replicate its process so that I can use the models with my own rendering framework.

@airalcorn2
Copy link
Author

airalcorn2 commented Mar 18, 2019

It looks like I fixed the issue by adding back-face culling. Here is the car with back-face culling off:

no_cull

and with back-face culling on:

with_cull

It still looks weird in Blender, though:

blender_car_cull.

Here is model ShapeNetCore/02958343/8577f3f82d5ce3ecc2fe329dd557eb52 with back-face culling off:

no_cull_2

and with back-face culling on:

with_cull_2

@YuDeng
Copy link

YuDeng commented Apr 27, 2020

@airalcorn2. Hi, I wonder if you have figured out how to render those shapes correctly using Blender? I encounter with the same issue but don't know how to solve it. I only have little experience about Blender.

@airalcorn2
Copy link
Author

@YuDeng - I did not, sorry.

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

2 participants