trollolloo

Blender vertex-normals to Babylon

Recommended Posts

Hello fellow BabylonJS users,

I'm currently using babylon to put some product visualizations on the web, but today I ran into a problem that I didn't find to be documented anywhere. I got a poly-reduced CAD-data rip with custom vertex normals, in Blender everything looks nice and smooth, but when I export to babylon, all those data seemsto be lost.

Do you have any idea how to fix this?

I'll attach an image, showing the dataloss.

 

Have a nice day, J

wrong_vertexnormals.jpg

Share this post


Link to post
Share on other sites

Do not think this is a problem, hence no documentation.  There are 2 ways to trigger the flat shading Feature, which is implemented in Blender in both cases.  On the whole scene, using a checkbox on the scene properties tab.  On a single mesh basis, on the data properties tab of such mesh.

Both features are documented, here.  You can also trigger BabylonJS to convertToFlatShadedMesh() of a mesh.  This command can also be put in the JSON file, BUT the Blender exporter no-longer supports this.

Share this post


Link to post
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...

  • Recently Browsing   0 members

    No registered users viewing this page.