sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Inconsistent color/texture visibility

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    5 Posts 2 Posters 183 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      Involute
      last edited by

      If I apply a color or texture to a 2D object like a square, the color/texture is only visible from certain directions within the model. I have to add some depth to the object (make it 3D), even if it's only a tiny amount (e.g. .01"), to make it consistenly visible. Is there a way to achieve this result while keeping the object strictly 2D? Thanks.

      1 Reply Last reply Reply Quote 0
      • Dave RD Offline
        Dave R
        last edited by

        Could you give us an example of what you're seeing?

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 Reply Last reply Reply Quote 0
        • I Offline
          Involute
          last edited by

          Here you go. The problem appears related to whether or not the background on which the square is drawn is a group. If it is, I have the problem. If it isn't a group, I don't.
          Texture1.jpg
          Texture2.jpg
          Texture3.jpg
          Texture4.jpg

          1 Reply Last reply Reply Quote 0
          • Dave RD Offline
            Dave R
            last edited by

            I see. You are running into something called "Z-fighting". You've made two faces that lie in exactly the same plane and your GPU can't decide which one to show. As you've discovered, if the faces don't lie in the same plane, you aren't causing the problem. If you don't want the Z-fighting, don't make two separate faces in the same plane. Open the group, draw a rectangle on the face and apply the material inside that rectangle.

            @unknownuser said:

            The problem appears related to whether or not the background on which the square is drawn is a group. If it is, I have the problem. If it isn't a group, I don't.

            Indeed it would be. When your square isn't a group and you draw the smaller rectangle on it, you aren't making a face on top of a face. You are only dividing the square into faces inside and outside the small rectangle.

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • I Offline
              Involute
              last edited by

              Got it. Thanks!

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement