sketchucation logo sketchucation
    • Login
    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!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Photosynth to CSV to SketchUp - Now What?

    Scheduled Pinned Locked Moved Corner Bar
    8 Posts 6 Posters 701 Views 6 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.
    • M Offline
      mattritzman
      last edited by

      As I'm sure you know by now, Photosynth* is awesome.

      Wouldn't it be cool if you could grab the point cloud? Well, it turns out you can. There's this tutorial:
      http://binarymillenium.com/2008/08/photosynth-export-process-tutorial.html
      But be warned, it isn't for the faint of heart.

      Now, I've done it with a synth**, so I have this huge csv point cloud (actually, 25 files each with 5000 points a piece). I can bring those into SketchUp (thanks Didier!), and its pretty cool, but kind of useless. What do I do with the points, now?

      It would be nice if I could triangulate the points. But the scripts I'm aware of can't do it. A script could potentially be written, but it would be way beyond my abilities.

      I suspect that SketchUp isn't the tool to use. Does anybody have any alternate suggestions? Free or cheap would be particularly awesome.

      Thanks,
      --Matt
      *http://photosynth.net/
      **http://photosynth.net/view.aspx?cid=b28f5583-d1b5-45fe-8dee-96f8f3af043c
      p.s. I've tried meshlab, to view the points, but I won't turn them into a mesh as far as I can tell. If you've had success, let me know your secrets.


      15,000 points

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jackson
        last edited by

        It's hard to imagine how a script could calculate which points would be triangulated as it would be almost impossible to infer where the "surface" ought to be. The only method I could imagine would rely on relative proximity, but as soon as a a point from one surface comes too close to a point from another surface the "proximity engine" would stupidly triangulate the two. It's a bit like astronomical constellations- it's only after someone says "It's a bear".... and then draws it out for you that you actually see where the outline is supposed to be (What were the ancient Greeks drinking?).

        Cool model BTW!

        Jackson

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

          I could swear didier had written a triangulation script, i cant for the life of me remember what it was called, though. racks brain

          edit: here we go http://www.crai.archi.fr/RubyLibraryDepot/Ruby/EM/points_cloud_triangulation.rb

          youll need this as well: http://www.crai.archi.fr/RubyLibraryDepot/Ruby/delauney2.rb

          And heres how it works: http://en.wikipedia.org/wiki/Delaunay_triangulation

          http://remusrendering.wordpress.com/

          1 Reply Last reply Reply Quote 0
          • EdsonE Offline
            Edson
            last edited by

            Terrain Reshaper

            edson mahfuz, architect| porto alegre • brasil
            http://www.mahfuz.arq.br

            1 Reply Last reply Reply Quote 0
            • M Offline
              mattritzman
              last edited by

              @ Jackson,
              Yeah, I like the model too, but it isn't mine. I wanted something that was good and synthy, so I borrowed somebody else's.

              I had some ideas for approaching this too, but they started to sound outlandish: If you could get the original photo-aligned and pick out which points came from that particular photo, you could then project a surface from the camera to the points. Do that with all the cameras, intersect and clean up the meshes, and just a bit of hand waving, and you're there. Unfortunately, this relies on a bunch of information that I don't know if I can get, and it WAY beyond my understanding of math or programming. I'm sure somebody smarter than me has already gotten closer to a solution than I could. Somebody like

              @ Remus,
              I'm sure there's something wrong with my data, but when I run this on the model, it will only connect a few of the points. It does pretty well on the terrain, but the backhoe itself is a mess if it connects any points at all. If I pick and choose the points it does a better job, but still not great. Do you have any tricks for selecting the right points? Does re-aligning the axis ever help?

              @ Edson,
              Looks like an interesting plugin, but I think it requires a mesh to exist. Once I have a mesh, I'll try this out.

              Thanks for your suggestions! Keep them coming.

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

                Sorry but i cant really help beyond directing you to the plugins, i've never had to use it before so not really in with the nuances.

                http://remusrendering.wordpress.com/

                1 Reply Last reply Reply Quote 0
                • N Offline
                  notareal
                  last edited by

                  Meshlab do have a Point Clouds support now.
                  http://www.youtube.com/watch?v=9-sjaUjrTnw

                  Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    john.warburton
                    last edited by

                    Illustration of Didier's plugin on pushpullbar

                    http://www.pushpullbar.com/forums/ruby-scripts/9467-visual-index-ruby-scripts-4.html

                    Life's a reach, and then you gybe.

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

                    Advertisement