Jump to content

Why Babylonjs smooth automatically my mesh


Xetar
 Share

Recommended Posts

Hello everyone, I have little issue with my mesh :

When i load it, it get "auto smoothed", and also get "cutted" apart.

Basically when I save my mesh in blender it looks like this :

1521302608-nouvelle-image-bitmap.png

But when I load it with babylonjs

1521302515-nouvelle-image-bitmap.png

 

Please help me to fix this, Thank you !

Link to comment
Share on other sites

In Blender, consider to always use smooth shading mode on your object, and play with autosmooth params in your mesh. As for the Blender exporter, you can check the flat option like adam said, or activate an edge split modifier on your meshes too (no need to apply it).

You can read this to better understand why 1 vertex in Blender can finally be 2 or more when import in a realtime engine.

Link to comment
Share on other sites

The exporter dropped actually flat shading by itself in version 5.6.  Adding a split edged modifier is an actual Blender feature, plus it generated meshes with less vertices than the exporter.  You can still convert to flatshaded. 

If you still have parts of the mesh which do not show, that is probably not completely related.  Sounds like a normals problem though.  Perhaps recomputing normals in edit mode.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...