Results 1 to 8 of 8

Thread: flip faces in layout

  1. #1
    Registered User
    Join Date
    Sep 2015
    Location
    Sweden
    Posts
    586

    flip faces in layout

    is it possible to have two instances of one object, but set a modifier or surface or something on one of the instances to flip the normals so that back faces become front faces?

  2. #2
    Input module has Polygon side, which is either 0 or 1 depending on the side of a double sided mesh. Use that on a Mixer or Material Switch.

    Cheers

  3. #3
    Registered User
    Join Date
    Aug 2016
    Location
    a place
    Posts
    1,828
    of course that assumes a different material. this is where some global override would be useful.

    now i don’t know if you can do this in the new 2018 but in 2015 i know that you could use instance id or object id to dictate a switch between materials.

    i used shadermiester and dpont nodes a lot so i cannot remember if this is achievable with std. nodes.
    Last edited by gar26lw; 01-31-2018 at 06:17 AM.

  4. #4
    Registered User
    Join Date
    Jan 2005
    Location
    Colorado Springs
    Posts
    1,795
    As probiner says, you can use the Switch node in the Surface node editor to select a different Material for each side of the polygon(s). It doesn't actually flip the normal of the polygon, though, if you're requiring the actual normal be flipped for a math calculation or some such.

    Click image for larger version. 

Name:	SinglePolygon_DifferentSidesSurfaces.jpg 
Views:	28 
Size:	544.7 KB 
ID:	139859

    mTp

  5. #5
    Registered User
    Join Date
    Sep 2015
    Location
    Sweden
    Posts
    586
    Thanks for the help everyone. I was hoping to flip the normal of the polygon though. I wanted to see if it was possible to do an inverted hull outline effect in layout without having to do it manually in modeler. or resorting to another application like blender.

  6. #6
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    7,897
    Normals will be flipped if you will use (item) Stretch -1,-1,-1

  7. #7
    Registered User
    Join Date
    Sep 2015
    Location
    Sweden
    Posts
    586
    Quote Originally Posted by Sensei View Post
    Normals will be flipped if you will use (item) Stretch -1,-1,-1
    this also mirrors the item however. even by then using a Mesh info node to move the points back to the correct positions I wind up with inverted normals, but the faces are not flipped.

  8. #8
    TrueArt Support
    Join Date
    Feb 2003
    Location
    Poland
    Posts
    7,897
    Geometric (polygon) normal is calculated from point positions. 1st, 2nd and the last vertex from polygon are used (cross product between 1-2 and 1-last).

    Pressing 'f' in Modeler is simply changing order of points in polygon.
    From 1,2,3 to 3,2,1 (or 1,3,2) (for example triangle).

    Some times it does matter what is order of points, whether it's 1,2,3 or 2,3,1 or it's 3,1,2.
    That's why I made Reorder Points tool.

    https://www.youtube.com/watch?v=iSqYGkQAJFc

    Last edited by Sensei; 01-31-2018 at 12:25 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •