Normal edit modifier produces jagged edged renderings in 2.77 #48576

Closed
opened 7 years ago by WasiliNovratidis-1 · 5 comments

System Information
Windows 10 Pro, Nvidia GTX 660

Blender Version
Broken: (example: 2.77.1 11b0874)
Worked: (in 2.76 various versions)

Short description of error
When applying the normal edit modifier when rendering in Blender Internal it produces a jagged edge where the normal edit modifier has been applied. There is also a weird view in the viewport but I could not reproduce this in the startup file. See images

the jaw line has the jagged edge:
normaleditmodifier.jpg

See the facebook post for things we already tried to counter this effect:
https://www.facebook.com/groups/BNPRandFreestyle/permalink/1180238755332559/

Exact steps for others to reproduce the error
this could also be reproduced by using a start up file of susanne and applying the normal edit without any material applied to it.
normaleditmodifier.blend

**System Information** Windows 10 Pro, Nvidia GTX 660 **Blender Version** Broken: (example: 2.77.1 11b0874) Worked: (in 2.76 various versions) **Short description of error** When applying the normal edit modifier when rendering in Blender Internal it produces a jagged edge where the normal edit modifier has been applied. There is also a weird view in the viewport but I could not reproduce this in the startup file. See images the jaw line has the jagged edge: ![normaleditmodifier.jpg](https://archive.blender.org/developer/F315779/normaleditmodifier.jpg) See the facebook post for things we already tried to counter this effect: https://www.facebook.com/groups/BNPRandFreestyle/permalink/1180238755332559/ **Exact steps for others to reproduce the error** this could also be reproduced by using a start up file of susanne and applying the normal edit without any material applied to it. [normaleditmodifier.blend](https://archive.blender.org/developer/F315781/normaleditmodifier.blend)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @WasiliNovratidis-1

Added subscriber: @WasiliNovratidis-1
mont29 commented 7 years ago
Owner

Added subscriber: @mont29

Added subscriber: @mont29
mont29 commented 7 years ago
Owner

This is not a bug actually. Issue here is that your are pushing normals way out of the 'safe area', making many of them reversed compared to default ones (computed from neighbor face normals).

Up till 2.76, Blender did not handle correctly that 'inversion of normals', leaving face normals opposed to its vertices ones, which was really bad and inconsistent. Since 2.77, winding of such faces is now reversed, to make face normal match the direction of its vertices ones.

In your example .blend, several faces are 'reversed' that way, producing the black patches. I’ll commit soon a new setting to the modifier allowing to limit the maximum angle between original and new normals, keeping this below 90° should help prevent most of those face normals inversions.

Editing normals in such an aggressive way also raises another issue, present since the beginning, which is it makes the terminator problem much more visible. Nothing to be done here really, you have to handle it yourself I’m afraid.

This is not a bug actually. Issue here is that your are pushing normals way out of the 'safe area', making many of them reversed compared to default ones (computed from neighbor face normals). Up till 2.76, Blender did not handle correctly that 'inversion of normals', leaving *face* normals opposed to its vertices ones, which was really bad and inconsistent. Since 2.77, winding of such faces is now reversed, to make face normal match the direction of its vertices ones. In your example .blend, several faces are 'reversed' that way, producing the black patches. I’ll commit soon a new setting to the modifier allowing to limit the maximum angle between original and new normals, keeping this below 90° should help prevent most of those face normals inversions. Editing normals in such an aggressive way also raises another issue, present since the beginning, which is it makes the terminator problem much more visible. Nothing to be done here really, you have to handle it yourself I’m afraid.
mont29 commented 7 years ago
Owner

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
mont29 closed this issue 7 years ago
mont29 self-assigned this 7 years ago
Sign in to join this conversation.
No Label
Interest/Alembic
Interest/Animation & Rigging
Interest/Asset Browser
Interest/Asset Browser Project Overview
Interest/Audio
Interest/Automated Testing
Interest/Blender Asset Bundle
Interest/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Datablocks and Libraries
Interest/Dependency Graph
Interest/Development Management
Interest/Eevee
Interest/Eevee & Viewport
Interest/Freestyle
Interest/Geometry Nodes
Interest/Images & Movies
Interest/Overrides
Interest/Performance
Interest/Pipeline, Assets & I/O
Interest/Translations
Interest/Undo
Interest/USD
Interest/Video Sequencer
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/Grease Pencil
legacy project/GSoC
legacy project/Import/Export
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Line Art
legacy project/Masking
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Modeling
legacy project/Modifiers
legacy project/Motion Tracking
legacy project/Nodes
legacy project/Nodes & Physics
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Performance
legacy project/Physics
legacy project/Platforms, Builds, Tests & Devices
legacy project/Pose Library Basics
legacy project/Python API
legacy project/Render & Cycles
legacy project/Render Pipeline
legacy project/Retrospective
legacy project/Sculpt, Paint & Texture
legacy project/Text Editor
legacy project/Tracker Curfew
legacy project/Triaging
legacy project/User Interface
legacy project/UV Editing
legacy project/VFX & Video
legacy project/Virtual Reality
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
Module › Animation & Rigging
Module › Core
Module › Development Management
Module › Eevee & Viewport
Module › Grease Pencil
Module › Modeling
Module › Nodes & Physics
Module › Pipeline, Assets & IO
Module › Platforms, Builds, Tests & Devices
Module › Python API
Module › Render & Cycles
Module › Sculpt, Paint & Texture
Module › Triaging
Module › User Interface
Module › VFX & Video
Platform/FreeBSD
Platform/Linux
Platform/macOS
Platform/Windows
Priority › High
Priority › Low
Priority › Normal
Priority › Unbreak Now!
Status › Archived
Status › Confirmed
Status › Duplicate
Status › Needs Information from Developers
Status › Needs Information from User
Status › Needs Triage
Status › Resolved
Type › Bug
Type › Design
Type › Known Issue
Type › Patch
Type › Report
Type › To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#48576
Loading…
There is no content yet.