• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Photoscanned texture

Scheduled Pinned Locked Moved Gallery
16 Posts 6 Posters 635 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.
  • O Offline
    oganocali
    last edited by 15 Feb 2012, 15:39

    Inspired from another topic http://forums.sketchucation.com/viewtopic.php?f=79&t=43282 . I used Tgi3D photoscan to model a piece of gravel-cement ground. The model has around 40K faces. To get any higher resolution I would have to chop up the model into smaller components each.
    gravel_cement.jpg
    gravel_cement2.jpg

    It would be really neat if I could somehow convert the 3d geometry to a bump-map or distance-map. Like the inverse of thomthom's bitmap to mesh script. I don't think there is a mesh-to-bitmap plugin conveniently around but there may be a way...

    1 Reply Last reply Reply Quote 0
    • P Offline
      pilou
      last edited by 15 Feb 2012, 15:50

      Take a look also at Photosculpt 😉

      Frenchy Pilou
      Is beautiful that please without concept!
      My Little site :)

      1 Reply Last reply Reply Quote 0
      • R Offline
        Rich O Brien Moderator
        last edited by 15 Feb 2012, 16:04

        @ogan

        Isn't there a normal map maker plugin by Chris Fullmer

        Download the free D'oh Book for SketchUp

        1 Reply Last reply Reply Quote 0
        • O Offline
          oganocali
          last edited by 15 Feb 2012, 16:07

          Yes, that is what I had in mind.

          I am thinking I can convert my 3d geometry to a depth map by using a rendering software. For example put a light emitting material on to the surface than immerse it in a dark liquid, render it directly from above, should give me a map that is correlated with the depth of the surface. It is a little complicated but do-able.

          1 Reply Last reply Reply Quote 0
          • G Offline
            Gaieus
            last edited by 15 Feb 2012, 16:10

            You can achieve something similar with a white object and black fog in SU. Or projecting a white-to-black image on it from the side. Maybe that's the most accurate - although you need to take care not to have very steep (90 degree) verticals between faces. Can be done but from above, there will be a too sharp difference.

            Gai...

            1 Reply Last reply Reply Quote 0
            • O Offline
              oganocali
              last edited by 15 Feb 2012, 16:31

              Gaius, you are right, you don't need renderer for that. I kind of like the projection idea best. I have to try and see.

              1 Reply Last reply Reply Quote 0
              • M Offline
                michaliszissiou
                last edited by 15 Feb 2012, 18:03

                Hey, you need a 16 or 32 bit B&W for displacements. Else, expect scaling effect. (commenting Gaieus's idea)
                Once again, the freeware solution is blender. Just unwrap it, (easy in this case) and ask for baking a displacement map.

                Edit: Crazybump!!!
                http://www.crazybump.com/
                The perfect solution. A magical application. Try it. It costs just a little but you have some months to use it as trial.

                This one from the original photo
                gravel_cement_DISP.jpg

                Displ from clay render
                gravel_cement2_DISP.jpg

                AO from clay render
                gravel_cement2_OCC.jpg

                1 Reply Last reply Reply Quote 0
                • O Offline
                  oganocali
                  last edited by 15 Feb 2012, 18:42

                  Actually Gaieus's projection suggestion worked quite nicely.
                  Here is the created texture applied to some random shape. (In my haste I left the SU y axis (the green line) in the texture image). I exaggerated the depth map multiplier to 4.

                  renderx.jpg

                  I am also posting the depth map and the texture as a public donation, no strings attached. Needs extra work for any commercial work.


                  text_crop.jpg


                  depth_crop.jpg

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    Gaieus
                    last edited by 15 Feb 2012, 19:16

                    Well, the idea came from topics that eventually lead to plugins like this:
                    http://forums.sketchucation.com/viewtopic.php?t=20635
                    or this:
                    http://forums.sketchucation.com/viewtopic.php?t=16660

                    This is also how I experimented with this method here:
                    http://www.thearender.com/forum/viewtopic.php?p=34261#p34261

                    Gai...

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      Krisidious
                      last edited by 15 Feb 2012, 19:20

                      CrazyBump is awesome... love it.

                      By: Kristoff Rand
                      Home DesignerUnique House Plans

                      1 Reply Last reply Reply Quote 0
                      • O Offline
                        oganocali
                        last edited by 15 Feb 2012, 19:35

                        I will give crazybump a try.

                        1 Reply Last reply Reply Quote 0
                        • G Offline
                          Gaieus
                          last edited by 15 Feb 2012, 19:49

                          I have PixPlant. CB is said to be better but it's also more expensive (and PP can also make seamlessly tiling images). At my level of rendering abilities, it is probably all the same.

                          Gai...

                          1 Reply Last reply Reply Quote 0
                          • K Offline
                            Krisidious
                            last edited by 16 Feb 2012, 00:36

                            crazy bump is $99/$299 and PixPlant is $195

                            I'd say they're both very proud of their software.

                            By: Kristoff Rand
                            Home DesignerUnique House Plans

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              michaliszissiou
                              last edited by 16 Feb 2012, 13:03

                              Here my tests on crazybump.
                              Rendered in cycles/blender, displacement ~300K (the sphere)
                              I also used specular and AO maps.
                              You can test them, use them, I created a fast seamless texture.

                              http://dl.dropbox.com/u/24090090/testCyclesBumps.jpg


                              text_crop.jpg


                              text_crop_DISP.jpg


                              text_crop_OCC.jpg


                              text_crop_SPEC.jpg

                              1 Reply Last reply Reply Quote 0
                              • O Offline
                                oganocali
                                last edited by 16 Feb 2012, 16:55

                                Actually I have been playing with crazy bump today. Real gem. I am amazed at what they can infer from a single picture (not to mention ease of use and speed). Of course the depth map is not accurate but the resulting texture is believable and useable.

                                I marked one problem area,
                                text_crop_DISP.jpg there is a piece of cement that should be sticking out, instead it is given as depression. There is also a dark brown stone that should be sticking out etc. These are minor problems. Ability to remove shadows etc from the diffuse map is great. I think I will eventually purchase CB.

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  michaliszissiou
                                  last edited by 16 Feb 2012, 18:20

                                  @unknownuser said:

                                  I think I will eventually purchase CB.

                                  I think so, too.
                                  I didn't notice the shade removal. It eliminates these marked problems.
                                  Here a more difficult test. A coin. A friend posted a scanned image. His scanner has a very narrow angle for lighting. Difficult then.
                                  Another cycles render. Just a low poly cylinder, bumps only, no displacements.
                                  Works for distant camera, complicated scenes.

                                  http://dl.dropbox.com/u/24090090/coinss.jpg

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

                                  Advertisement