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

imported shape keys lose smoothness #1335

Closed
slapin opened this issue Feb 4, 2015 · 4 comments
Closed

imported shape keys lose smoothness #1335

slapin opened this issue Feb 4, 2015 · 4 comments

Comments

@slapin
Copy link
Contributor

slapin commented Feb 4, 2015

Smooth objects lose smoothness in morphs produced by import of objects with ShapeKeys.
They are smooth-shaded in Blender, but flat-shaded in Godot.

@mookiexl
Copy link
Contributor

mookiexl commented Feb 4, 2015

Confirmed. The problem is most likely in Bettercollada, since when you re-import model exported with Bettercollada back to Blender, it's flat-shaded too.
What's even stranger is that when you use the default exporter, it re-imports back to blender with correct shape keys, but Godot cannot import them.

@cheece
Copy link
Contributor

cheece commented Feb 23, 2015

the collada importer doesn't load normals (read the comment in editor_import_collada.cpp:1296) it recomputes the normals instead, i guessed that without redundant vertices the computation should generate smooth normals, so i modified the BetterCollada exporter for that end, but it's still generating bad normals as if there're redundant vertices still, i guess that the collada importer is making redundant vertices again,

sorry for my bad english

@mookiexl
Copy link
Contributor

mookiexl commented May 1, 2015

Seems to be fixed in latest version of bettercollada.

@reduz
Copy link
Member

reduz commented May 1, 2015

yup, should be fixed

On Fri, May 1, 2015 at 8:37 PM, mookiexl notifications@github.com wrote:

Seems to be fixed in latest version of bettercollada.


Reply to this email directly or view it on GitHub
#1335 (comment).

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

5 participants