-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move hard-edge from vertex-normal calcs from e3d to wings (#588)
To be able to improve finding hardedges from vertex normals, we need to postpone the calculation til we have a #we{} to work on, so we can fold over faces and/or vertices. So include the normal information in wings_we_build. If there are no hardedges and and vertex normals try to find an approximation of the hardedges from the vertex normals. I do that in 2 steps first add edges that are clearly hard or delete cleary not hard. Pick out vertices which are neither. Second pass loop around vertices and find hard edges. NOTE: Improved hard-edges from vertex normals calculation when importing models.
- Loading branch information
Showing
3 changed files
with
150 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters