V-Man Smooth Zoom
#18
(30 Nov 10, 10:44PM)Kirin Wrote: what's the use in those clumsy sens scalings? use /autoscopesens 1, it accurately scales sensitivity to fit with the zoom fov using trigonometrics (which is the only right way)

linearly correlating fov and sensitivity alters the ratio between the quantity of image seen and sensitivity, so please avoid doing this: newsensitivity=sensitivity/fov*zfov
it's horribly wrong!!

What is "zfov" in your formula?
Is it "new fov" or "difference beetwen prev_fov and actual_fov"?

I figured out that I need:
scopesensscale 0.5 for scopefov 50
scopesensscale 0.1 for scopefov 5

I'm testing my zoom-scope script now
and I set scope sens. in it in very simple way:

scopesensscale (divf $scopefov 100);

and it works nice, but at max zoom is 0.5, not 0.1,
but it's not a problem.

Kirin Wrote:the correct relationship is this: newsensitivity=sensitivity/tan(fov/2)*tan(zfov/2)
and you can obtain it at no cost by using this parameter: /autoscopesens 1

zfov is "new fov"?
if so:
newsensitivity = 0.5 / tan(50/2) * tan(5/2) = 0.0468 ~ 0.05

It looks like "my fov/100" :)
(maybe due to that for "small" values of x tan(x) ~= x)

autoscopesens sucks - for 2 reasons:
- you have to get used
- sens. vary with scopefov - its too sens. form me when scopefov is near min
Thanks given by:


Messages In This Thread
V-Man Smooth Zoom - by ActionGoose - 27 Nov 10, 06:13PM
RE: V-Man Smooth Zoom - by ExodusS - 27 Nov 10, 06:43PM
RE: V-Man Smooth Zoom - by V-Man - 28 Nov 10, 12:07AM
RE: V-Man Smooth Zoom - by ActionGoose - 28 Nov 10, 04:32AM
RE: V-Man Smooth Zoom - by ExodusS - 28 Nov 10, 02:51PM
RE: V-Man Smooth Zoom - by V-Man - 28 Nov 10, 03:20PM
RE: V-Man Smooth Zoom - by ActionGoose - 28 Nov 10, 08:45PM
RE: V-Man Smooth Zoom - by Gibstick - 28 Nov 10, 11:20PM
RE: V-Man Smooth Zoom - by ActionGoose - 28 Nov 10, 11:39PM
RE: V-Man Smooth Zoom - by V-Man - 29 Nov 10, 12:02AM
RE: V-Man Smooth Zoom - by V-Man - 29 Nov 10, 03:33PM
RE: V-Man Smooth Zoom - by Bukz - 29 Nov 10, 04:31PM
RE: V-Man Smooth Zoom - by V-Man - 30 Nov 10, 01:14AM
RE: V-Man Smooth Zoom - by Gibstick - 30 Nov 10, 01:31AM
RE: V-Man Smooth Zoom - by V-Man - 30 Nov 10, 01:42AM
RE: V-Man Smooth Zoom - by Kirin - 30 Nov 10, 10:44PM
RE: V-Man Smooth Zoom - by jakson - 24 Feb 11, 07:58PM
RE: V-Man Smooth Zoom - by Gibstick - 30 Nov 10, 11:44PM
RE: V-Man Smooth Zoom - by V-Man - 24 Feb 11, 08:05PM
RE: V-Man Smooth Zoom - by Kirin - 26 Feb 11, 09:37PM
RE: V-Man Smooth Zoom - by V-Man - 26 Feb 11, 09:41PM
RE: V-Man Smooth Zoom - by Kirin - 26 Feb 11, 09:49PM
RE: V-Man Smooth Zoom - by V-Man - 26 Feb 11, 09:58PM
RE: V-Man Smooth Zoom - by Kirin - 26 Feb 11, 10:06PM
RE: V-Man Smooth Zoom - by V-Man - 26 Feb 11, 10:14PM
RE: V-Man Smooth Zoom - by Kirin - 26 Feb 11, 10:23PM
RE: V-Man Smooth Zoom - by Boomhauer - 24 Mar 11, 05:56AM
RE: V-Man Smooth Zoom - by V-Man - 24 Mar 11, 07:29AM
RE: V-Man Smooth Zoom - by Boomhauer - 24 Mar 11, 08:07AM
RE: V-Man Smooth Zoom - by V-Man - 24 Mar 11, 04:09PM
RE: V-Man Smooth Zoom - by Boomhauer - 24 Mar 11, 11:40PM
RE: V-Man Smooth Zoom - by V-Man - 25 Mar 11, 08:00AM
RE: V-Man Smooth Zoom - by Sweet - 25 Mar 11, 03:45PM
RE: V-Man Smooth Zoom - by V-Man - 25 Mar 11, 04:56PM
RE: V-Man Smooth Zoom - by SuperSniper - 08 Apr 11, 06:13PM
RE: V-Man Smooth Zoom - by V-Man - 08 Apr 11, 07:54PM
RE: V-Man Smooth Zoom - by StRaTo - 08 Apr 11, 10:35PM
RE: V-Man Smooth Zoom - by SuperSniper - 12 Apr 11, 06:57PM