• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

NprTools

Scheduled Pinned Locked Moved Extensions & Applications Discussions
extensions
83 Posts 9 Posters 11.9k Views
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.
  • A Offline
    Al Hart
    last edited by 17 May 2009, 17:44

    The trick is how to get the shadows.

    One way is to compare two images and process the differences.

    SketchUp gives 2 different results.

    Here are two hidden line images (with and without shadows)
    (I compare these two images to get the shadows)

    nail-hidden-line-w-shadows.png

    nail-hidden-line-no-shadows.png

    Here are two monochrome images (with and without shadows)

    nail-monochrome-w-shadows.png

    nail-monochrome-no-shadows.png

    I can compare these two images instead.


    I will probably make this an option. But what to call it? ("Use monochrome shadow effect" - I hate check boxes which even I don't understand, or "Use only full shadows")

    Al Hart

    http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
    IRender nXt from Render Plus

    1 Reply Last reply Reply Quote 0
    • A Offline
      Al Hart
      last edited by 17 May 2009, 18:38

      Comparing the two monochrome images worked pretty well.

      I wound up calling the new option: "Use only full shadows"

      Image with option checked
      nail-SFSH-ar.png

      Image with option unchecked
      nail-SFSH-as.png

      There are times when you will want to pattern all "non sunny" areas - especially for interiors.

      Al Hart

      http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
      IRender nXt from Render Plus

      1 Reply Last reply Reply Quote 0
      • A Offline
        Al Hart
        last edited by 17 May 2009, 18:56

        Yes,

        I'll keep NprTools discussions to the the NprTools topic.

        But I felt that this was a more general question for any SketchUp users who were interested in what should be treated as a shadow. People might be interested in how Hidden line treats shadows one way, while colored and textured rendering treat them a different way.

        Al Hart

        http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
        IRender nXt from Render Plus

        1 Reply Last reply Reply Quote 0
        • A Offline
          Al Hart
          last edited by 20 May 2009, 06:07

          @unknownuser said:

          When I choose the Launch option, the default image viewer opens
          without any image. It's blank.

          Default image viewer associated with most images is Irfanview while
          default image editor for SU is PS. Irfranview loads quick. That's
          good to quickly view the plugin results.

          Some options would be to choose default program to view images and
          have a choice where to save final output.

          I like having only one TemporaryImage folder. I suppose the user will
          have the responsibility to clear it out. It is possible to direct
          CCleaner to include user defined folders to clean out under Options.

          I am copying this from another forum. I will respond to it later.

          Al Hart

          http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
          IRender nXt from Render Plus

          1 Reply Last reply Reply Quote 0
          • A Offline
            Al Hart
            last edited by 20 May 2009, 15:39

            @richcat said:

            Al just tried out latest IE19 version and soft shadows appears not to be working.
            Reverted back to IE3 which produced first image below then next one with some PS filters applied.

            Ps The average shadow image produced in temp file looks interesting as gives better shadows in my opinion, so I tried blending in PS with base image,and then adjusting in PS - which gave me that third image below (edges are wrong but look at the shadows on the wall - luv it)

            Fourth one is just for fun

            I am not sure what is wrong with IE19. (I wish you could have been more specific)

            I appreciate seeing the PS images. You will always be able to do these same things, or better things, in PS. We are just trying to make it easier for SketchUp users. That is why we are adding more features to the "Save Image" section of NprTools - so you can save special image and take them to PS. (In the latest version, we added "Save shadows only")

            The latest version also added "Mask to original shadow" which applies the soft shadows only to the original shadow area (rather than letting the shadows get bigger.) That may be what is failing in IE19. It looks like it might be aplying the mask all the time.

            However, your last two images, with the soft sun on the wall, inspire me to have a similar feature called "Soft Sun". It will mask the soft shadows to the area not in shadow (for interiors this is where the sun appears on the wall). If it works well, you should be able to soften the sunlight rather than the shadows. (More to come)

            Al Hart

            http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
            IRender nXt from Render Plus

            1 Reply Last reply Reply Quote 0
            • R Offline
              richcat
              last edited by 20 May 2009, 16:23

              Al
              I re installed IE19.
              Basically I could not get any soft shadows as images above, only as image below, also see setup image. Do I need to change anything as this is what gave me original soft images, tried various settings but no soft shadows appeared - may be I'm missing something simple. 😳

              Also imagine produced still does not open by itself. πŸ˜‰


              room 1-SFSH-l copy.jpg


              Setup.jpg

              1 Reply Last reply Reply Quote 0
              • R Offline
                richcat
                last edited by 20 May 2009, 16:27

                Al just tried out latest IE19 version and soft shadows appears not to be working.
                Reverted back to IE3 which produced first image below then next one is this original image with some PS filters applied.

                The average shadow image produced in temp file looks interesting as gives better shadows in my opinion, so I tried blending in PS with base image,and then adjusting in PS - which gave me that third image below (edges are wrong but look at the shadows on the wall - luv it)

                Fourth one is just for fun


                Original NprTools image


                some Ps work


                some more PS work, with blending temp images


                Playing about

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Al Hart
                  last edited by 23 May 2009, 15:44

                  richcat,

                  This new feature - "Soft Sun", is based on one or the images you have uploaded.

                  Here we restricted the Soft effect to the area already lit by the sun.

                  You get a sharp boundary, but a soft effect for the sunlight itself.

                  http://wiki.renderplus.com/images/d/d8/Bench-SFSH-ad.png

                  Al Hart

                  http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
                  IRender nXt from Render Plus

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Al Hart
                    last edited by 23 May 2009, 16:00

                    We have added a new dialog box to use to set the application to use to launch an image.

                    If you uncheck Launch When Complete, this dialog will be loaded. If you change the application to use to launch an image, the new application will be used in the future.

                    http://wiki.renderplus.com/images/3/30/Launch_File_Dialog.jpg

                    Al Hart

                    http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
                    IRender nXt from Render Plus

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Al Hart
                      last edited by 24 May 2009, 14:14

                      @richcat said:

                      Al
                      I re installed IE19.
                      Basically I could not get any soft shadows as images above, only as image below, also see setup image. Do I need to change anything as this is what gave me original soft images, tried various settings but no soft shadows appeared - may be I'm missing something simple. 😳

                      we changed the time and day settings to be total time and total days. (It used to be the time and days per iteration). This make it easy to switch from 5 to 10 or 20 iterations without having to adjust the times. However, your setting of 5 minutes, should be changed to 60 minutes. And 5 to 10 days will work better as well.

                      Al Hart

                      http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
                      IRender nXt from Render Plus

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        Al Hart
                        last edited by 25 May 2009, 01:19

                        May 24, 2009
                        * Added Soft Sun capability
                        * Added dialog to change application to Launch Files
                        * Added progress bar to display progress which saving and processing images.
                        * Added option to process only actual shadows, (Rather than surfaces which are in shadow because the surfaces faces away from the sun.)

                        See: New Version

                        http://wiki.renderplus.com/images/d/d8/Bench-SFSH-ad.png

                        Al Hart

                        http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
                        IRender nXt from Render Plus

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 27 May 2009, 12:53

                          Do you have to uninstall previous versions when installing new ones?

                          I just tried to update and when I click on the OK button in the Sketchy Shadow window I get a messagebox;

                          @unknownuser said:

                          ERROR during toolbar command: #Proc:0x0ae3dd68@RpTools_toolbar.rb:205)
                          wrong number of arguments(5 for 7)

                          NprTools_image.rb:184:in 'dll_call_merge_shadows'

                          And the Ruby Console outputs:

                          Saving shadow image - Please wait
                          Saving sbase_image; C;\Documents and Settings\thm\Mine dokumenter\NprTools/NprTools_Images/SS_Base.png - please wait
                          Save no-shadow image
                          RESTORE  shadow_info["DisplayShadows"]=false old; true 
                          Saving shadow_image; C;\Documents and Settings\thm\Mine dokumenter\NprTools/NprTools_Images/SS_Shadow_mask.png - please wait
                          Save shadow image
                          RESTORE rendering_options["BackgroundColor"]=Color(255, 255, 255, 255) old; Color(204, 204, 201, 255)
                          RESTORE rendering_options["FaceBackColor"]=Color(255, 255, 255, 255) old; Color(164, 178, 187, 255)
                          RESTORE rendering_options["GroundColor"]=Color(255, 255, 255, 255) old; Color(210, 208, 185, 255)
                          RESTORE rendering_options["HideConstructionGeometry"]=true old; false
                          RESTORE rendering_options["RenderMode"]=1 old; 2
                          RESTORE rendering_options["Texture"]=false old; true
                          RESTORE  shadow_info["Dark"]=0 old; 45 
                          Saving edge_image; C;\Documents and Settings\thm\Mine dokumenter\NprTools/NprTools_Images/SS_Edges.png - please wait
                          Save edge image
                          RESTORE rendering_options["BackgroundColor"]=Color(255, 255, 255, 255) old; Color(204, 204, 201, 255)
                          RESTORE rendering_options["HideConstructionGeometry"]=true old; false
                          RESTORE rendering_options["RenderMode"]=1 old; 2
                          RESTORE rendering_options["Texture"]=false old; true
                          RESTORE  shadow_info["DisplayShadows"]=false old; true 
                          Creating shadow patterns - please wait
                          Setting material on entities; RPS Sketchy Shadows - please wait
                          ADDING COMPONENT; ARC Logo
                          COMPONENT LOOP length; 1
                          Processing component; ARC Logo (ents; 18)
                          End definition; ARC Logo
                          COMPONENT LOOP length; 1
                          Saving shadow pattern image - please wait
                          RESTORE rendering_options["EdgeDisplayMode"]=0 old; 1
                          RESTORE  shadow_info["Dark"]=100 old; 45 
                          Merging images - please wait
                          ERROR during toolbar command; #<Proc;0x0ae3dd68@RpTools_toolbar.rb;205>
                          wrong number of arguments(5 for 7)
                          
                          NprTools_image.rb;184;in `dll_call_merge_shadows'
                          

                          SU7 - XP Pro SP3

                          Thomas Thomassen β€” SketchUp Monkey & Coding addict
                          List of my plugins and link to the CookieWare fund

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            Al Hart
                            last edited by 27 May 2009, 13:24

                            @thomthom said:

                            Do you have to uninstall previous versions when installing new ones?

                            No, you do not need to uninstall, but something is wrong here:

                            1. When you go to the downloads page, does it show version IE24b?

                            (If not click refresh in the web browser)

                            1. As you install it, does the zip file say: Click here to install NprTools_1_1_IE24npr.exe

                            2. After you install it, and click the first icon to bring up the about box, does it show version IE24npr?

                            Al Hart

                            http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
                            IRender nXt from Render Plus

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              thomthom
                              last edited by 27 May 2009, 13:31

                              I had RpTools_1_1_IA07t.zip

                              when I went to the download page it says: "Version: IA07"

                              Thomas Thomassen β€” SketchUp Monkey & Coding addict
                              List of my plugins and link to the CookieWare fund

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                Al Hart
                                last edited by 27 May 2009, 13:40

                                One other thing (and this may be the one!)

                                When you reinstall NprTools, make sure you select NprTools and not RpTools.

                                There is an old version of RpTools on the download page which is replacing the newer version of NprTools.

                                I'm sure that is the problem.

                                I will try to get it fixed. (1/2 or our staff is on vacation this week, so some things are getting a little delayed)

                                Al Hart

                                http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
                                IRender nXt from Render Plus

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  thomthom
                                  last edited by 27 May 2009, 13:57

                                  Doh! 😳 Downloading "Version: IE24b" now... I didn't read properly...

                                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                  List of my plugins and link to the CookieWare fund

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    thomthom
                                    last edited by 27 May 2009, 14:27

                                    Why does it look like it's softing out the sketchy shadows?

                                    MMC - Blueprint-SKSH.png

                                    nrp-settings.png

                                    And what is the Washout slider?

                                    Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                    List of my plugins and link to the CookieWare fund

                                    1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      Al Hart
                                      last edited by 27 May 2009, 14:47

                                      @thomthom said:

                                      Why does it look like it's softing out the sketchy shadows?

                                      And what is the Washout slider?

                                      I worked hard to try to make the shadows soft. πŸ˜„

                                      Which part of "soft" didn't you want?
                                      (If you don't want the 5 softer areas (see arrows), then set the number of iterations to 1 - so the soft shadow effect is not used for the Sketchy Shadows.

                                      If you want the all the shadows darker (more white), then make sure that your "Shadow" material is solid black, since any lightness in the material will make the shadows softer.

                                      soft-shadow-areas.jpg

                                      Washout moves the original image more towards white, black or grey. This is helpful when you are using a fairly solid (50% or more) shadow pattern, and want the original drawing to be made darker by the shadows.

                                      This is a normal image with dark shadow lines

                                      http://wiki.renderplus.com/images/a/a6/House1-white-SS-d.png

                                      Here the base image is washed out

                                      http://wiki.renderplus.com/images/b/be/House1-white-SS-bd.png

                                      Wash out may make more sense when you are using both sun and shadow lines, and want the base image to be close to grey.

                                      Al Hart

                                      http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
                                      IRender nXt from Render Plus

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        thomthom
                                        last edited by 27 May 2009, 15:14

                                        Sketchy shadows with soft shadows is a nice feature. I just couldn't work out what to do if I didn't want them. For the Blueprint type of sketch I'm trying to do I prefer them without.

                                        Looking at the wiki, it seems to be possible to have the shadow texture aligned to the screen and not to the geometry?

                                        Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                        List of my plugins and link to the CookieWare fund

                                        1 Reply Last reply Reply Quote 0
                                        • L Offline
                                          linea
                                          last edited by 27 May 2009, 15:20

                                          Al

                                          NPR tools looks great I haven't tried it yet, but will get around to it soon. Just a thought, would it be possible for the sketchy shadows to display as a series of dots as opposed to lines?

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 4 / 5
                                          4 / 5
                                          • First post
                                            72/83
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement