# perceptive height and width of object from distance

This topic is 551 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

assume we have a box that measures length of it is about one meter. what is percepted size of it for someone looking to it at 100 meter distance?

I'm working on a shooting project that I need to scale 2d hunting goal sprites to make them look from distance.

##### Share on other sites
You are missing [at least] one important number. Let's imagine there is a screen in front of the viewer, at a fixed distance D. Then 1 meter at 100 meters of distance will appear as something at the screen with size 1*(D/100)). You can get that formula by drawing a simple picture of the situation and identifying similar triangles. Edited by Ã�lvaro

##### Share on other sites

You also need to take into account the field of view of your camera. Generally speaking the perceived size follows this relationship

perceivedSize = ratio * actualSize / distance


So you need to determine some ratio, normally determined by the field of view, to base your calculations on. So as n example, if you want a 1 meter to appear to be 1000px at 1 meter distance then your ratio is

1000px = ratio * 1m / 1m
ratio = 1000px*m/m


So at 100m the target would be

percievedSize = 1000px * 1m / 100m = 10px;


##### Share on other sites

1*(D/100)).

i think formula will lok like : 1/(100-D) because for example if distance of screen from eye is 10 meter. so it means if you want goal to be look like in 100 meter so goal have to be look like 90 meter distant. am I right?

##### Share on other sites

1*(D/100)).

i think formula will lok like : 1/(100-D) because for example if distance of screen from eye is 10 meter. so it means if you want goal to be look like in 100 meter so goal have to be look like 90 meter distant. am I right?

+----------+    ^
|         /     |
|        /      |
|       /       |
|      /        |
|     /        100
|    /          |
+---+--- ^      |
|  /     |      |
| /      D      |
|/       |      |
*        v      v



Picture the eye at the `*' in that diagram. The screen is at a distance D and the object is at a distance 100. There are two similar triangles in that diagram, so you can see that

apparent_size / D = real_size / 100

So apparent_size = real_size * D / 100

1. 1
2. 2
Rutin
21
3. 3
4. 4
A4L
15
5. 5
khawk
14

• 13
• 26
• 10
• 11
• 9
• ### Forum Statistics

• Total Topics
633737
• Total Posts
3013612
×