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

Depth Maps from SU

Scheduled Pinned Locked Moved SketchUp Tutorials
sketchup
47 Posts 14 Posters 17.7k Views 14 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.
  • G Offline
    Gaieus
    last edited by 13 Nov 2007, 13:15

    Come on, guys, if you don't stop this, I'll move ya'all to the post processing how to forum!
    πŸ˜„

    Seriously speaking - don't you think if you elaborate this thread well enough, it should move there?

    Gai...

    1 Reply Last reply Reply Quote 0
    • L Offline
      lewiswadsworth
      last edited by 13 Nov 2007, 13:16

      It wouldn't bother me to move it to post-processing. Jackson, do you mind?

      (You're right, incidentally, we should call the bug the "horizontal plane error"...that's more accurate since I don't use SU's ground plane either.)

      poster-Lewis Wadsworth

      col sporcar si trova

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jackson
        last edited by 13 Nov 2007, 13:18

        Moved.

        Jackson

        Jackson

        1 Reply Last reply Reply Quote 0
        • T Offline
          takesh h
          last edited by 13 Nov 2007, 13:20

          Hi Lewis, you are a busy guy.
          I get both "the edges bug" and "horizontal plane error". πŸ‘Ώ
          I tried this depth map thing a while ago and immediately I encountered the above problems.
          Then I figured this cannot be done, but look at what you guys accomplished here...
          I downloaded and used Lewis's style setting but got the same problem.
          It could be my videocard problem (I use GeForce though).
          There might be some workarounds for "horizontal plane error", but those edges are very difficult to get rid of.

          BTW I found a nice tutorial of how those depth map should be applied to the original image.
          This should save some of Lewis's time.
          http://photography-on-the.net/forum/showthread.php?t=102294

          Did you ever find a setting to get rid of edges, jackson?

          poster-takesh h

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jackson
            last edited by 13 Nov 2007, 13:21

            Takesh,

            I must admit I've been too busy with boring stuff to have another go at doing these depth maps- I keep meaning to create a Style which incorporates the right settings. I didn't worry too much about the lines as it didn't have much of an effect on the blurring (as it bled over the lines anyway). I'll try to have another go at this this week.

            Regards,

            Jackson

            1 Reply Last reply Reply Quote 0
            • L Offline
              lewiswadsworth
              last edited by 13 Nov 2007, 13:22

              Takesh,

              I've received your message and I sent you my test model. Let me know how it goes.

              You know what's odd? I've been using VRay a lot lately, and the quality of the depth mask it produces from an SU model (assuming we have no extraneous lines or whatever) is not better than what happens with this direct SU "cheat."

              --Lewis

              poster-Lewis Wadsworth

              col sporcar si trova

              1 Reply Last reply Reply Quote 0
              • T Offline
                takesh h
                last edited by 13 Nov 2007, 13:23

                Thank you for your sample model, Lewis.
                I never imagined it was that big... the 18MB almost killed my PC.
                Now I know what I did wrong. I turned "use sun for shading" off.
                I discovered that either "shadow" or "use sun for shading" has to be on (even with both on, I got the same result).
                IOW the sun has to be there somehow, but shadows has to be erased by setting "dark slider" to the most right.
                Doesn't make much sense to me but it works.

                poster-takesh h

                1 Reply Last reply Reply Quote 0
                • L Offline
                  lewiswadsworth
                  last edited by 13 Nov 2007, 13:24

                  Glad to help, takesh. For some reason I didn't get a notification that you had responded to this thread...so ignore the email I sent you asking if you had received the models.

                  --Lewis

                  poster-Lewis Wadsworth

                  col sporcar si trova

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Mike Lucey
                    last edited by 13 Nov 2007, 13:24

                    Good thinking Lewis, thanks for this.

                    Mike

                    Support us so we can support you! Upgrade to Premium Membership!

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      cymurai
                      last edited by 1 Jan 2008, 02:10

                      nice!!! such a great info.. thanks all

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        rkitek
                        last edited by 12 Feb 2008, 21:48

                        I'm sure someone's already thought of this, but this just struck me. Another cool use for this technique... you can use your 2d export as a displacement map in your favorite rendering program.

                        Here's an example of my test depth map in plan view with camera set to parallel projection(very quickly modelled terracotta roof tiles 😳 😞
                        displacement map

                        and the output when rendered on a single plane with it in the displacement slot and no diffuse:
                        with out diffuse map

                        and the output when rendered on a single plane with it in the displacement slot and a diffuse color map:
                        with diffuse map

                        fun stuff! πŸ’š

                        1 Reply Last reply Reply Quote 0
                        • G Offline
                          Gaieus
                          last edited by 13 Feb 2008, 09:41

                          This is really cool and I'd love to use it but the rendering program I'm just trying to familiarize myself with does not support displacement maps (yet?). 😞
                          Howeve your image can also be used as a bumpmap (which certainly will give a "poorer" result - especially at the edges).

                          Gai...

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            SpaceMan
                            last edited by 1 Mar 2008, 00:47

                            VRay has Displacement and Bump maps.
                            http://www.asgvis.com

                            1 Reply Last reply Reply Quote 0
                            • L Offline
                              lewiswadsworth
                              last edited by 1 Mar 2008, 01:53

                              @spaceman said:

                              VRay has Displacement and Bump maps.
                              http://www.asgvis.com

                              Yes, and if you had read the entire thread you might have noticed that I brought that up.

                              Most of the other plugin renders do as well, as do the dinosaur modelers like Max and Maya or oddities like Piranesi and Blender.

                              But isn't it nice that you don't always need them? SketchUp has the capability without plugins or additional software.

                              col sporcar si trova

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                Julius
                                last edited by 10 May 2008, 13:55

                                hi,
                                i found this tutorial on you tube.
                                i was wondering which version of photoshop is required: mine is 7.0.1 but it doesn't have "lens blur", it has four or five kinds of blur but not this one.

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  pav_3j
                                  last edited by 10 May 2008, 18:00

                                  oooh, i'm going to have fun tinkering with this tonight...

                                  that said some of the links are dead.

                                  pav

                                  Just won the 'Who is Least Competitive Championships' where trying to win will make you lose. Trying to lose makes you win which makes you lose. Not trying at all makes you lose which makes you win which makes you lose.

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    Julius
                                    last edited by 12 May 2008, 19:38

                                    @julius said:

                                    hi,
                                    i found this tutorial on you tube.
                                    i was wondering which version of photoshop is required: mine is 7.0.1 but it doesn't have "lens blur", it has four or five kinds of blur but not this one.

                                    somebody's goning to answer? which version of photoshop is required to have "lens blur" ❓

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      remus
                                      last edited by 12 May 2008, 19:51

                                      My cursory search of the internet suggests it was released as a new feature in CS.

                                      http://remusrendering.wordpress.com/

                                      1 Reply Last reply Reply Quote 0
                                      • L Offline
                                        lewiswadsworth
                                        last edited by 12 May 2008, 20:14

                                        Remus is correct...it appeared with the PS CS versions.

                                        However, you can achieve the same effects by using the "depth mask" as an alpha channel and (depending on what you want to do...make the near blurred or the far blurred) simply use Gausian blur to throw the area "out of focus." In fact, this will also work with other image editors such as GIMP (which incidentally has a Gausian filter capable of finer tuning than Photoshop's).

                                        The Photoshop CS lens blur filter complicates matters needlessly. I almost never use it.

                                        Incidentally, once you have a depth mask as an alpha channel, you can control its relative strength using Levels on the channel. Want things to get blurry real fast, as if you used a telescopic lens? Increase the contrast in the depth mask channel.

                                        I also use depth mask channels to simulate the watercolorist's traditional "atmospheric perspective"--in other words, things that are far away are more gray (desaturated) compared to foreground objects.

                                        If I have a little time later today I'll post some examples.

                                        col sporcar si trova

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

                                        Advertisement