Little/Large People Paradoxon

Blitz3D Forums/Blitz3D Programming/Little/Large People Paradoxon

jfk EO-11110(Posted 2006) [#1]
Probably there's not a lot of people who know what I'm talking about. This is a problem I only know from FPS projects:

Characters seem to be relative small when they are far away. EG: when somebody is 15 meters far away then he's looking like say 1.4 meters tall. Now when I get close to the character, about 1 meter or less, suddenly the guy is 2.30 meters tall, and my players eyes height is the same as the characters breast.

What's the cause for this strange effect? And are there any ways to fix it?


deps(Posted 2006) [#2]
Switch to an ortogonal view and problem is solved. :P

Or try adjusting the FOV.


GfK(Posted 2006) [#3]
Sounds like just the camera warping effect which can be resolved by (as deps said) changing the camera field of view with CameraZoom. Try 1.6 or 2.0 as a starting point.


Ice9(Posted 2006) [#4]
That or scale the camera the same way you would a 3d entity
scale the Z.
ScaleEntity Camera,1,.7,1

I think there is a code snippet in the archive to adjust
the camera view when you change the resolution of the
screen.


Mustang(Posted 2006) [#5]

and my players eyes height is the same as the characters breast.



Position the camera higher?


deps(Posted 2006) [#6]
scale the Z.
ScaleEntity Camera,1,.7,1


Don't you mean ScaleEntity Camera,1,1,.7 ?
Your code scales Y


b32(Posted 2006) [#7]
Use CameraZoom camera, 2.4
There is a FOV convertor routine in the code archives.


Naughty Alien(Posted 2006) [#8]
here you go..its done by Swift if I am not mistaken..

Function SetCameraFOV(Camera, FOV#)
CameraZoom Camera, 1.0 / Tan(FOV#/2.0)
End Function


jfk EO-11110(Posted 2006) [#9]
thanks a lot everybody. I cannot move the camera up or scale the enemies smaller, because then the chars would look even smaller when far away.

I also don't want to use an other CameraZoom because a higher Zoom will make the FOV much smaller, resulting in a keyhole effect. Currently I use the default, that is 1.0.

Although, there is already an option to use an other Zoom, including correction of hud placement etc.