Coder Social home page Coder Social logo

Comments (4)

jayanam avatar jayanam commented on August 15, 2024

Please explain the use cases a bit more when this is needed

from jmesh-tools.

torridgristle avatar torridgristle commented on August 15, 2024

Normally the normals for the edges of faces will either be blended between the larger face, which we would want to be flat, and the neighboring faces of the bevel; or it will be split off entirely due to auto-smooth detecting too extreme of an angle in which case the shading of the bevel's faces don't blend into the larger faces. The weighted normals modifier forces to the larger surfaces to always get priority when blending between normals for smooth shading so that the larger faces' normals are always facing directly outward and the normals of the bevels adjust to match at the edges of these larger faces. This image describes a very extreme situation where the bevel is only one face but the concept is the same.

tl;dr it's like autosmooth but without the discontinuity in surface smoothing at bevel edges due to split edges.

from jmesh-tools.

torridgristle avatar torridgristle commented on August 15, 2024

Autosmooth (No Sharp Edges)
https://i.imgur.com/bW15IOs.png

Weighted Normals
https://i.imgur.com/ikPY6Qu.png

Autosmooth (Sharp Edges)
https://i.imgur.com/DdatP5C.png

Weighted Normals
https://i.imgur.com/sNOBeuM.png

from jmesh-tools.

jayanam avatar jayanam commented on August 15, 2024

Added the weighted normal after bevel and also remove it on un-bevel

from jmesh-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.