[Request] Distance from camera to object.
-
I'm searching now but if anybody knows if such a tool exists that would be very helpful.
Best,
Jason. -
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 thought either Jim Foltz or TIG had done something along these lines?
-
That would be cool -- I'll keep looking.
Best,
Jason. -
I checked TIG's plugins and I don't see anything there -- I'll checks Jim's in a bit.
Best,
Jason. -
Nope, I don't see anything By Jim either... I think I must have stumbled upon a true request.
Best,
Jason. -
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.
-
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.
-
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. -
Cool, Thank-you Didier
Best,
Jason. -
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,Drop it in the Plugins folder, usage: View menu > Camera->Oject Distance
-
Hey I didn't see you edit this to include the plugin -- very cool! Thank-you
Best,
Jason.
Advertisement