Solidify modifier: Add new option "Flip Normals" #31579

Closed
opened 2012-05-24 03:35:17 +02:00 by Shinsuke Irie · 6 comments
Member

%%%This patch adds a new option "Flip Normals" to solidify modifier. It makes normals pointing to the inside by swapping original faces and generated faces, and allows us to easily setup the backface polygons used for toon edge rendering.

I have already posted another patch for the same purpose:

http://projects.blender.org/tracker/index.php?func=detail&aid=31444&group_id=9&atid=127

but I think this patch is better way to do that, because the previous one changes the existing behavior while this one doesn't.
%%%

%%%This patch adds a new option "Flip Normals" to solidify modifier. It makes normals pointing to the inside by swapping original faces and generated faces, and allows us to easily setup the backface polygons used for toon edge rendering. I have already posted another patch for the same purpose: http://projects.blender.org/tracker/index.php?func=detail&aid=31444&group_id=9&atid=127 but I think this patch is better way to do that, because the previous one changes the existing behavior while this one doesn't. %%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

%%%Uploaded a screenshot Solidify_Modifier_Flip_Normals.png .

Note that I applied another patch (GLSL mode BackFace Culling) to preview the toon edges in 3D view:

http://projects.blender.org/tracker/index.php?func=detail&aid=31467&group_id=9&atid=127
%%%

%%%Uploaded a screenshot Solidify_Modifier_Flip_Normals.png . Note that I applied another patch (GLSL mode BackFace Culling) to preview the toon edges in 3D view: http://projects.blender.org/tracker/index.php?func=detail&aid=31467&group_id=9&atid=127 %%%
Author
Member

%%%solidify_modifier_add_flip_normals_V2.patch
Solidify_Modifier_Flip_Normals.blend

Refreshed the patch (offsets).
Also uploaded a sample .blend file which was used for the screenshot above. Please type alt+A or ctrl+F12 to preview/render the animation.

The "GLSL mode BackFace Culling" patch has been applied in r47003, so now we can preview the toon edges using "Flip Normals" option without another patch!
However, to use this option to render realtime toon edges in game engine, we have to fix a bug that solidify modifier doesn't work when material index offset is not equal to 0:

http://projects.blender.org/tracker/index.php?func=detail&aid=31558&group_id=9&atid=498
%%%

%%%solidify_modifier_add_flip_normals_V2.patch Solidify_Modifier_Flip_Normals.blend Refreshed the patch (offsets). Also uploaded a sample .blend file which was used for the screenshot above. Please type alt+A or ctrl+F12 to preview/render the animation. The "GLSL mode BackFace Culling" patch has been applied in r47003, so now we can preview the toon edges using "Flip Normals" option without another patch! However, to use this option to render realtime toon edges in game engine, we have to fix a bug that solidify modifier doesn't work when material index offset is not equal to 0: http://projects.blender.org/tracker/index.php?func=detail&aid=31558&group_id=9&atid=498 %%%

%%%applied to svn r47039 - I made edits myself infact but they ended up being so similar to your patch that I added you as contributor.%%%

%%%applied to svn r47039 - I made edits myself infact but they ended up being so similar to your patch that I added you as contributor.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author
Member

%%%Thanks for the apply! Confirmed it works fine.
%%%

%%%Thanks for the apply! Confirmed it works fine. %%%
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
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
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
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 Info 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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#31579
No description provided.