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

    Export just shadows

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    40 Posts 8 Posters 19.5k Views 8 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.
    • BoxB Online
      Box
      last edited by

      I don't know what can and can't be done on a Mac, I gave my version of how to solve the question. Transparent texture transparent background and a jobs a carrot.

      1 Reply Last reply Reply Quote 0
      • jeff hammondJ Offline
        jeff hammond
        last edited by

        @box said:

        I don't know what can and can't be done on a Mac, I gave my version of how to solve the question. Transparent texture transparent background and a jobs a carrot.

        yeah, and i think yours is the best solution offered here.. especially for keeping it inside sketchup without a plugin

        i clarified that transparent exports are possible on mac since there seems to be some confusion in the thread about which OS is being used when in this case, it doesn't matter.. both su versions have the same capabilities/flaws regarding exporting transparent backgrounds and non-transparent objects (unless we use the method you've shown πŸ‘ )


        not necessarily your solution here @steve but following up on the rendering solution i mentioned earlier in case it helps others who might be reading.

        sketchup export - no shadows/shading:

        shadows1.png

        shadow pass render: (in this one, i didn't ignore any objects so i could get the semi-transparent shading on the faces)
        shadows2.png

        combined:
        shadows_merged.jpg


        example with only ground shadows.. ignore geometry
        shadow3.png


        of course, this is all going to depend on your renderer's capabilities.. i use indigo.. this is on my laptop which i don't have a license for so it's the free version of indigo. (watermark + size limit)
        ymmv

        [EDIT] oh, @pilou.. i tried the renderiza plugin on su8.. it doesn't work (i mean, the plugin works but it doesn't accomplish this particular task)

        dotdotdot

        1 Reply Last reply Reply Quote 0
        • BoxB Online
          Box
          last edited by

          And roughly the same cluster of shapes with transparent texture and some edges and faces on and off.

          http://i155.photobucket.com/albums/s296/storeben/SU/7c7414e5-8105-4078-b053-c96dd4da7cec.png

          I must admit, I'm lost as to where this is going and as such am off to bed.

          BTW the transparent png texture that I used was discussed recently in this thread.
          http://sketchucation.com/forums/viewtopic.php?f=15%26amp;t=60086

          1 Reply Last reply Reply Quote 0
          • jeff hammondJ Offline
            jeff hammond
            last edited by

            @box said:

            I must admit, I'm lost as to where this is going and as such am off to bed.

            going nowhere.. it's already been found out @steve was following ronen's tutorial improperly as there was no fancy transparent exports going on in there.

            i feel like you think i'm trying to arm wrestle over something when i'm just sharing ideas to the general community.


            using a renderer will allow you to get the shadows which fall on faces while still keeping the rest of the object transparent.. or block out shadows which shouldn't be visible.

            another use is for very high quality shadow work in large exports.. here's an example of that:
            (6000px wide -- view at full size)

            Link Preview Image
            Dropbox - 404

            favicon

            (dl.dropboxusercontent.com)

            (8MB download)

            dotdotdot

            1 Reply Last reply Reply Quote 0
            • BoxB Online
              Box
              last edited by

              God no Jeff, no arm wrestling.
              Just a bit confused by the complexity of the whole shadows thing.

              1 Reply Last reply Reply Quote 0
              • jeff hammondJ Offline
                jeff hammond
                last edited by

                @box said:

                God no Jeff, no arm wrestling.
                Just a bit confused by the complexity of the whole shadows thing.

                heh.. well it can get kind of complicated depending on what the final need of the shadows is.

                if i wanted to do some post processing on the shadows then lay them on the geometry, i couldn't really just use transparent texture:

                this scene:

                shadow4.png


                transparent texture w/ transparent background:

                shadow5.png


                combined: it doesn't work out right.. there should be some shadows on the faces and some places on the ground which don't have shadows

                shadow6.jpg


                for reference, the shadows should look like this with every area not draped with a shadow being transparent:

                shadow7.png

                reference#2 ..hidden line mode

                shadows8.png


                EDIT- upon rereading, i'm pretty sure john said the quickest and easiest method.. that being- export the hidden line view then use preview.app's instant-alpha (at least on mac) to get rid of the geometry which still shows up.. it takes like 4 seconds to do πŸ˜‰

                dotdotdot

                1 Reply Last reply Reply Quote 0
                • S Offline
                  suSteve
                  last edited by

                  Thanks Jeff

                  I went with white objects and in PS I set the layer to multiply. Works well overall

                  <edit> yes I was following the tutorial incorrectly. Nice to find out this stuff though

                  Thanks again

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

                    I guess it's too late but here's the tutorial from May of 2011 I did showing exporting only shadows and using them to create soft shadows.

                    Steve, was it setting the layer to Multiply that did the trick?

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      suSteve
                      last edited by

                      Sorry Dave, only just seen this. Yes setting to multiply but the missing part was to turn off the transparency in options before export.

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

                        Ah....

                        Since I always use a white background for the shadow-only export, I never bother with making the background transparent so I didn't think to bring that part up.

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          suSteve
                          last edited by

                          It's transparency on when you export the model and then off for the shadows. Easy to miss as the options are sticky.

                          Thanks again

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

                            Actually I don't usually turn transparency on at all. Either I want the background if there is one or it doesn't come into play at all because the background is white. When combining images using Multiply, the white background acts as transparent anyway.

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

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

                            Advertisement