sketchucation logo sketchucation
    • Login
    ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

    [Request] Distance from camera to object.

    Scheduled Pinned Locked Moved Plugins
    12 Posts 4 Posters 3.7k 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.
    • jason_marantoJ Offline
      jason_maranto
      last edited by jason_maranto

      I'm searching now but if anybody knows if such a tool exists that would be very helpful.

      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

        Ok, I just read through 32 pages of search results and I don't see what I need so I guess this is a request:

        I would like a tool that allows the user to get feedback (a "heads-up" display like this plugin: http://forums.sketchucation.com/viewtopic.php?p=232984#p232984 would be extra cool) as to the distance from the current camera location to any selected object... Ideally I need to get the distance to set up near and far planes for Z-Clip and Z-Buffer.

        Best,
        Jason.

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

        1 Reply Last reply Reply Quote 0
        • 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