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!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    [Request] Distance from camera to object.

    Scheduled Pinned Locked Moved Plugins
    12 Posts 4 Posters 3.8k Views 4 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.
    • mitcorbM Offline
      mitcorb
      last edited by

      I thought either Jim Foltz or TIG had done something along these lines?

      I take the slow, deliberate approach in my aimless wandering.

      1 Reply Last reply Reply Quote 0
      • jason_marantoJ Offline
        jason_maranto
        last edited by

        That would be cool -- I'll keep looking.

        Best,
        Jason.

        I create video tutorial series about several 2D & 3D graphics programs.

        1 Reply Last reply Reply Quote 0
        • jason_marantoJ Offline
          jason_maranto
          last edited by

          I checked TIG's plugins and I don't see anything there -- I'll checks Jim's in a bit.

          Best,
          Jason.

          I create video tutorial series about several 2D & 3D graphics programs.

          1 Reply Last reply Reply Quote 0
          • jason_marantoJ Offline
            jason_maranto
            last edited by

            Nope, I don't see anything By Jim either... I think I must have stumbled upon a true request.

            Best,
            Jason.

            I create video tutorial series about several 2D & 3D graphics programs.

            1 Reply Last reply Reply Quote 0
            • honoluludesktopH Offline
              honoluludesktop
              last edited by

              This is not difficult to calculate as long as you know the angle of view, and its corresponding dimension of the object. Problem is knowing the dimension of the object you wish to measure the distance to.

              1 Reply Last reply Reply Quote 0
              • honoluludesktopH Offline
                honoluludesktop
                last edited by

                Perhaps the height and width of the object can be approximated by its nominal bounding box, then along with the fov, the distance to that object calculated. Problem with this is if the bonding box is at a angle to the camera. Maybe someone can come up with a more workable method.

                1 Reply Last reply Reply Quote 0
                • jason_marantoJ Offline
                  jason_maranto
                  last edited by

                  Thanks for the response -- Alternately some sort of near and far plane preview mode where the planes are adjustable would work if that was easier than trying to do it the other way... I'm all about making it as easy as possible 😄

                  Best,
                  Jason.

                  I create video tutorial series about several 2D & 3D graphics programs.

                  1 Reply Last reply Reply Quote 0
                  • jason_marantoJ Offline
                    jason_maranto
                    last edited by

                    Cool, Thank-you Didier 😄

                    Best,
                    Jason.

                    I create video tutorial series about several 2D & 3D graphics programs.

                    1 Reply Last reply Reply Quote 0
                    • Didier BurD Offline
                      Didier Bur
                      last edited by

                      Hi,
                      This is a (very) rough rework of Thomthom's view direction.
                      It display the camera position (in.), the target location (in.) and the distance between the two, via a raycast.
                      Targeted object is temporarily selected.
                      Hope this is useful,

                      hud.jpg

                      Drop it in the Plugins folder, usage: View menu > Camera->Oject Distance


                      hud_dist2obj.zip

                      DB

                      1 Reply Last reply Reply Quote 0
                      • jason_marantoJ Offline
                        jason_maranto
                        last edited by

                        Hey I didn't see you edit this to include the plugin -- very cool! Thank-you

                        Best,
                        Jason.

                        I create video tutorial series about several 2D & 3D graphics programs.

                        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