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

    Lighting with Sketchy Edges

    Scheduled Pinned Locked Moved SketchUp Components, Materials & Styles
    sketchup
    11 Posts 4 Posters 1.4k Views 4 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.
    • Al HartA Offline
      Al Hart
      last edited by

      I am experimenting with superimposing Sketchy edges on rendered images.

      Here is a Sketchy Edge interior in SketchUp.
      attic2.jpg
      (3D Warehouse model: A CONTEMPORARY ATTIC BY ASTRID ALEJANDRA ROMERO PULIDO)

      Here is the same model rendered with lighting, but no edges.
      attic2-r0.jpg

      Here is a 50-50 blend of the two images.
      attic2-r50.jpg
      This combines the Sketchy edges with the shadows.

      Does this seem like it would be a useful effect?

      Al Hart

      http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
      IRender nXt from Render Plus

      1 Reply Last reply Reply Quote 0
      • olisheaO Offline
        olishea
        last edited by

        looks cool al, i love line-overs like this.

        But I would set your blending mode to 'multiply' for the lines so that all the white disappears. Then reduce opacity to around 50%.

        Its a shame you have lost the detail in the render, unless that was your intention. It would be nice to have the detail and the bold lines together.

        oli

        1 Reply Last reply Reply Quote 0
        • olisheaO Offline
          olishea
          last edited by

          sorry like this. I hope you dont mind.

          Blending mode=Multiply. Line Layer opacity= 100%

          http://i654.photobucket.com/albums/uu269/olishea/attic_edit.jpg

          Line Layer opacity 50%

          http://i654.photobucket.com/albums/uu269/olishea/attic_edit_50.jpg

          Line layer opacity 60% with colorized render layer.

          http://i654.photobucket.com/albums/uu269/olishea/attic_edit_50_orange.jpg

          what do you think?

          oli

          1 Reply Last reply Reply Quote 0
          • Al HartA Offline
            Al Hart
            last edited by

            Thanks olishea,

            I'll work harder to keep the detail. I thought I had the white in the line image set to transparent, but I must have missed something.

            Does the "multiply" effect in Photoshop set the transparency to match the darkness of the overlaid image?
            Or does "multiply" retain the darkest of the two images?
            (I am trying to do this directly from SketchUp - by blending images myself - without using Photoshop)

            Al Hart

            http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
            IRender nXt from Render Plus

            1 Reply Last reply Reply Quote 0
            • Al HartA Offline
              Al Hart
              last edited by

              Multiple in Photoshop

              @unknownuser said:

              Looks at the color information in each channel and multiplies the base color by the blend color. The result color is always a darker color. Multiplying any color with black produces black. Multiplying any color with white leaves the color unchanged. When you’re painting with a color other than black or white, successive strokes with a painting tool produce progressively darker colors. The effect is similar to drawing on the image with multiple magic markers.

              I'll look harder and see how they do it...

              [Edit]
              I found this equation. I'll give it a try...

              http://www.binary-artist.com/photoshop_tutorials/images/multiply_formula.gif

              Apparently they just "multiply" the RGB values individually.

              Al Hart

              http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
              IRender nXt from Render Plus

              1 Reply Last reply Reply Quote 0
              • olisheaO Offline
                olishea
                last edited by

                its easy al.

                with multiply.......all the white turns transparent

                with screen.....all the black turns transparent.

                If you ever wanna get rid of the white without masking/erasing etc just multiply. its a single click operation although yes you gotta use photoshop.

                it sounds like a load of photshop mumbo jumbo that quote (just like the manual lol), just give it a go!!

                oli

                1 Reply Last reply Reply Quote 0
                • tbdT Offline
                  tbd
                  last edited by

                  I think you need to have only the edge on 50% like this:

                  (base * edge * 0.5) / 255
                  

                  SketchUp Ruby Consultant | Podium 1.x developer
                  http://plugins.ro

                  1 Reply Last reply Reply Quote 0
                  • Al HartA Offline
                    Al Hart
                    last edited by

                    @unknownuser said:

                    I think you need to have only the edge on 50% like this:

                    (base * edge * 0.5) / 255
                    

                    Thanks TBD.

                    I wound up using

                    (base * (255 - (255-edge) * opacity))/255
                    

                    Otherwise the 0.5 would make the image too dark for the white of the edges.

                    Al Hart

                    http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
                    IRender nXt from Render Plus

                    1 Reply Last reply Reply Quote 0
                    • Al HartA Offline
                      Al Hart
                      last edited by

                      The equation I found works pretty well at 100% opacity of the edge lines.
                      attic2-100-m.jpg

                      I'll have to think a little about how to apply it to the 50-50 blend.

                      [Edit]
                      I think I got the 50% version to work properly as well.
                      attic2-r50.jpg

                      Al Hart

                      http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
                      IRender nXt from Render Plus

                      1 Reply Last reply Reply Quote 0
                      • tbdT Offline
                        tbd
                        last edited by

                        you can implement more modes - check out photoshop blend modes explained

                        SketchUp Ruby Consultant | Podium 1.x developer
                        http://plugins.ro

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

                          I like it. I've done something similar to that.

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

                          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