sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    Soft Shadows

    已排程 已置頂 已鎖定 已移動 Extensions & Applications Discussions
    extensions
    43 貼文 6 Posters 11.3k 瀏覽 6 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Al HartA 離線
      Al Hart
      最後由 編輯

      @unknownuser said:

      The idea is a series of shade images, overlaid on eachother in 'multiply' mode in photoshop (or some other similar situation). He has an image example that just outlines the shadows in different colors. Ive attached a quick example I made to show how it would look in my mind.

      Good Idea Chris.

      I've been working on some ideas for the shadows in this image - which are too harsh.

      http://wiki.renderplus.com/images/thumb/7/72/Shadow032.png/640px-Shadow032.png

      Here is used your idea to merge shadow images changing both the date and the time:

      http://wiki.renderplus.com/images/thumb/e/ee/Shadows.png/640px-Shadows.png

      (All done with a single click from SketchUp which saved several images and merged them together.)

      Here was my other approach:

      http://wiki.renderplus.com/images/thumb/f/f5/House1-white-SS.png/640px-House1-white-SS.png

      I think a combination of both may work well.
      Also, by getting the soft shadows (as in the second image), I can use the intensity of the shadow to add a second sketchy line, at a different angle, to just the interior of the sketchy shadow.

      Al Hart

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

      1 條回覆 最後回覆 回覆 引用 0
      • Al HartA 離線
        Al Hart
        最後由 編輯

        I combined the soft shadows with the Sketchy Shadows, and this does show some promise for softening the edges of the shadow lines...

        http://wiki.renderplus.com/images/thumb/7/7e/House1-white-SS-soft.png/640px-House1-white-SS-soft.png

        Al Hart

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

        1 條回覆 最後回覆 回覆 引用 0
        • PixeroP 離線
          Pixero
          最後由 編輯

          How is this done?
          Would this work with ordinary SU lines (meaning no styles)?
          I'm extremely interested in this getting nicer shadows out of SU.
          Can you set how soft the shadows will be and how many "time samples" it should use?
          About your Sketchy shadow image, the direction of the sketchy shadow lines are not consistent. What causes that?
          How would it look in animation? Would the Sketchy shadow lines flicker or be screen bound?
          Would it be possible to get colored shadows? Please!

          1 條回覆 最後回覆 回覆 引用 0
          • Al HartA 離線
            Al Hart
            最後由 編輯

            @pixero said:

            How is this done?
            Would this work with ordinary SU lines (meaning no styles)?
            I'm extremely interested in this getting nicer shadows out of SU.
            Can you set how soft the shadows will be and how many "time samples" it should use?
            About your Sketchy shadow image, the direction of the sketchy shadow lines are not consistent. What causes that?
            How would it look in animation? Would the Sketchy shadow lines flicker or be screen bound?
            Would it be possible to get colored shadows? Please!

            I don't mind sharing how these things are done - because hopefully once you get the idea, you may think of other similar things I could do. Basically we are doing things you could do yourself using a paint program and saving images from SketchUp. The advantage of NprTools is that is does it with a single click of the button.

            The soft shadows will work with or without special styles. What I do is simple here (suggested bu Chris Fullmer in this post: http://www.sketchucation.com/forums/scf/viewtopic.php?f=80&t=18480)

            I save 36, 49, or 64 images varying the date and shadow time between each image and then combine them all into a single image. (The number of samples and the time between samples is a parameter on the Soft Shadows dialog)

            Here is an example from a simple SketchUp model (3D Warehouse - Potted Topiary by Surya Murali)

            shadow-example.JPG
            (This was done with 36 different sun times. You will get a smoother image with more samples)

            The "trick" for Sketchy Shadows is to apply a pattern for the shadows to the entire model, and then mask it using an image of just the shadows. We did this because we did not want to just overlay a pattern onto the shadows. We wanted the pattern to change for faces in different planes (ground, roof, walls), and we wanted the pattern to get smaller for objects further from the eye.

            Here is an image of the shadows in a model.

            SketchyShadows_Shadow_mask.JPG

            Here is an image of a sketchy pattern applied to the entire model

            SketchyShadows_Shadow_pattern.PNG

            (All these images are saved directly from SketchUp and then merged using NprTools)

            here is what you get when you combine the images.

            house1-white-SS-small.PNG

            And finally, the result when the soft shadows are used to modify the sketchy shadow image.
            (This image was actually created with a different pattern for the shadows)

            house1-white-SS-soft-small.PNG

            You can do this with any pattern for other effects, and thus get colored shadows.

            Although this could be done for animations, (the processing would take 2 to 5 minutes per frame), I don't think I will be adding it to NprTools yet. Because the Sketchy Shadows are just textures applied to faces in SketchUp, they should move with the model and should not flicker.

            Al Hart

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

            1 條回覆 最後回覆 回覆 引用 0
            • B 離線
              BTM
              最後由 編輯

              Hey, Al; not that much on-topic, but an easy way to make realistic sketchy masks is to actually sketch them. Take any high black pencil, like 5 or 6B (or my personal choice, a charcoal pencil) and scribble on a sheet of paper. Scan it in greyscale, invert colours and voila!
              sketchmark2.jpg
              pencil crayons.png

              1 條回覆 最後回覆 回覆 引用 0
              • Al HartA 離線
                Al Hart
                最後由 編輯

                Actually drawing your own textures is right on topic. My first reaction when I saw the need for some Non-Photorealitic Tools for SketchUp (At the Art Directors Guild DVis Expo in February 2008, after watching presentations on using SketchUp by Jim Bissell and Dan Jennings) was that I could create some NPR effects if I could create some Sketchy Textures by hand. However, I think it would be better if someone more artistic than I helped create the textures. I do have some ideas on some ways to turn these sketches into repeatable patterns (beside mirroring them - the obvious solution).

                If you applied your texture the the SketchUp model using a watermark style, try masking the style to it applies only to the model and not the background. I will grab your image, and see how it works with Sketchy Shadows.

                Al Hart

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

                1 條回覆 最後回覆 回覆 引用 0
                • B 離線
                  BTM
                  最後由 編輯

                  In my post I was mostly talking about style watermarks, and I don't quite get what you mean...
                  Anyways, here's the file, containing the style, and another style I made (not as good, but good concept. I should improve it...). They both use sketchy edges from one of the sketchy style in the style competition winners folder.
                  a bunch of google components in a simple scene... styles in model, and also found in components/materials/styles part of SCF.

                  1 條回覆 最後回覆 回覆 引用 0
                  • Al HartA 離線
                    Al Hart
                    最後由 編輯

                    BTM - Here is a Sketchy Shadows example using your texture (I rotated it for repeats) for the shadow mask.

                    house1-white-SS-BTM.jpg

                    This could be done better with a little more effort, but I wanted to give you and others an idea of how you can use your own textures to define the Sketchy Shadows.

                    Al Hart

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

                    1 條回覆 最後回覆 回覆 引用 0
                    • Al HartA 離線
                      Al Hart
                      最後由 編輯

                      @unknownuser said:

                      I don't quite get what you mean...

                      Thanks for sending the model. You did have masking turned on for the watermark. It didn't quite work the way I thought it did (I thought it applied the watermark to only the model and not the background when masking was on. But that is not what masking does.)

                      Al Hart

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

                      1 條回覆 最後回覆 回覆 引用 0
                      • B 離線
                        BTM
                        最後由 編輯

                        Nice! 😄
                        I tried making a tillable version of the texture using gimp.
                        Didn't know how big it should be, so it's pretty massive.
                        ...and another possible one.
                        doesn't work too well as a style watermark, maybe as a shadow one though. Who knows.

                        1 條回覆 最後回覆 回覆 引用 0
                        • B 離線
                          BTM
                          最後由 編輯

                          that's because I added sky and ground, I thought it looked better 😉
                          Oh, and sorry, I have a habit of editing my posts after I post them 😳

                          1 條回覆 最後回覆 回覆 引用 0
                          • Al HartA 離線
                            Al Hart
                            最後由 編輯

                            Here are the Sketchy Shadows with you tileable mask.

                            Thanks for the help with this. Hopefully we will get the Beta Test version of NprTools out soon so that you and others can try this yourself.

                            watermark-shadow3.jpg

                            Al Hart

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

                            1 條回覆 最後回覆 回覆 引用 0
                            • Al HartA 離線
                              Al Hart
                              最後由 編輯

                              BTM - If you get a chance send me two tileable sketches for Criss Cross (a separate for image for left to right, and for right to left). I am working on a concept where I will use the only the first image for the light parts of the shadows, and combine both images for the dark parts of the shadows. It would be great if I could have some good images to use for this.

                              The first image will go from light to dark in the 1st 1/2 of shadow intensity, and then the first image will stay dark as the second image goes from light to dark as the shadow intensity goes from 50% to 100%. (If that makes any sense. If not, send me the images and I can show you)

                              Al Hart

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

                              1 條回覆 最後回覆 回覆 引用 0
                              • Al HartA 離線
                                Al Hart
                                最後由 編輯

                                Your images are awfully similar - but that may be all right (You would be a better judge of that then me)

                                Don't worry about quality - we can improve that after we see if the idea works.
                                (I am planning to offer you a free copy of NprTools in exchange for 6 to 10 images which I can include in it. Not a great deal for you because I don't think we will charge much for NprTools. I have already offered free copies to everyone who has helped with it - and that just about equal the number of people who might be interested in it when it is done.)

                                I suspect that the individual lines may be too thick. You should paste the two images on top of each other to make sure you are happy the effect the cross hatch will have.

                                cross-hatch1.JPG
                                (This isn't quite right - because I simple pasted them together rather than blending them together.)
                                Here is a sample from another web site.

                                http://i.ehow.com/images/GlobalPhoto/Articles/2097625/Crosshatching6robertsloan2_Full.jpg

                                I don't really like their result, but it reminds me that I may want too allow 3 or 4 layers instead of just 2.

                                I am trying to achieve an effect something like this.


                                cross-hatch2.JPG

                                Al Hart

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

                                1 條回覆 最後回覆 回覆 引用 0
                                • B 離線
                                  BTM
                                  最後由 編輯

                                  Ah, don't worry, I think I know what you mean. 😄
                                  First set just made Tile-able with GIMP, second was edited to match up better in the texture.
                                  _First set:
                                  cross-sketch1.jpg
                                  cross-sketch2.jpg
                                  _Edited set:
                                  cross-sketch3.jpg
                                  cross-sketch4.jpg

                                  All images were done with a 6B pencil.

                                  The tiled images aren't that big, so they might not look too good. I can redo them in a few minutes though.

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • B 離線
                                    BTM
                                    最後由 編輯

                                    Hmm... My post was a bit messed up. you were right about them being similar, I just flipped them vertically, and the latter (better) 2 images are messed up, and are showing the same one 😕
                                    i'll try to make some thinner lines (more detailed too). Might get them up soon, or have to wait 'till tomorrow.

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • Al HartA 離線
                                      Al Hart
                                      最後由 編輯

                                      @unknownuser said:

                                      Hmm... My post was a bit messed up.

                                      And you need to stop editing your posts after I have already started my reply.

                                      Al Hart

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

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • Al HartA 離線
                                        Al Hart
                                        最後由 編輯

                                        Thanks - I'll give them a try - but it may take a day or two...

                                        Al Hart

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

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • B 離線
                                          BTM
                                          最後由 編輯

                                          @unknownuser said:

                                          Oh, and sorry, I have a habit of editing my posts after I post them 😳

                                          😳 , again.
                                          ... Newer cross-hatching textures
                                          Oh, and i don't know how well these will work, but I made tile-able thinner lines.
                                          1st
                                          2nd
                                          3rd
                                          4th
                                          This is slt3 turned on it's side, which could be the 5th layer if you wanted to go that far.
                                          Don't pay attention to the file names, they aren't in any order at all 😉
                                          This is what sketchup looks like if they're all set as tiled masks at once, with black background and white fog.

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • B 離線
                                            BTM
                                            最後由 編輯

                                            ... Tomorrow I'll probably make another set, more of a straight-thin-pencil style though.

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement