Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Patches: Browse

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

Date:
2012-05-24 03:35
Priority:
3
State:
Closed
Submitted by:
Shinsuke Irie (irie)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Rendering
Group:
None
Resolution(Old, use status):
Approved
Resolution:
Applied
Patch for:
 
Summary:
Solidify modifier: Add new option "Flip Normals"
Detailed description
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.

Followup

Message
  • Date: 2012-05-25 19:38
  • Sender: Shinsuke Irie
  • 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
  • Date: 2012-05-26 11:40
  • Sender: Campbell Barton
  • 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.
  • Date: 2012-05-26 12:47
  • Sender: Shinsuke Irie
  • Thanks for the apply! Confirmed it works fine.
 

Attached Files:

Name Date Download
solidify_modifier_add_flip_normals.patch 2012-05-24 03:35 Download
Solidify_Modifier_Flip_Normals.png 2012-05-24 14:56 Download
solidify_modifier_add_flip_normals_V2.patch 2012-05-25 19:38 Download
Solidify_Modifier_Flip_Normals.blend 2012-05-25 19:38 Download

Changes:

Field Old Value Date By
status_idOpen2012-05-26 11:40campbellbarton
close_dateNone2012-05-26 11:40campbellbarton
assigned_tonone2012-05-26 11:40campbellbarton
Resolution(Old, use status)None2012-05-26 11:40campbellbarton
ResolutionOpen2012-05-26 11:40campbellbarton
File Added20851: Solidify_Modifier_Flip_Normals.blend2012-05-25 19:38irie
File Added20852: solidify_modifier_add_flip_normals_V2.patch2012-05-25 19:38irie
File Added20834: Solidify_Modifier_Flip_Normals.png2012-05-24 14:56irie
File Added20825: solidify_modifier_add_flip_normals.patch2012-05-24 03:35irie