Page 1 of 1

Is the default FOV in 1.3.1 now 19 degrees?

Posted: 21.06.2003, 20:24
by fsgregs
Hi. I have installed 1.3.1pre4 and have just noticed that the default FOV seems to be 18 degrees, not 45 degrees as it used to be. Is this what it is now supposed to be, or did I inadventently do something to some file somewhere while trying to incorporate 1.3.1pre4 and cel:urls into my Celestia directories?

If Chris has chosen 18 degrees, it seems a bit too much. I keep forcing it back to 45 degrees. Is there a way to permanently adjust it to a higher number, so 35 degrees?

If I've messed up a file somewhere, which one is it? I'll try to undo the damage.

HELP

Frank

Re: Is the default FOV in 1.3.1 now 19 degrees?

Posted: 21.06.2003, 21:05
by t00fri
fsgregs wrote:Hi. I have installed 1.3.1pre4 and have just noticed that the default FOV seems to be 18 degrees, not 45 degrees as it used to be. Is this what it is now supposed to be, or did I inadventently do something to some file somewhere while trying to incorporate 1.3.1pre4 and cel:urls into my Celestia directories?

If Chris has chosen 18 degrees, it seems a bit too much. I keep forcing it back to 45 degrees. Is there a way to permanently adjust it to a higher number, so 35 degrees?

If I've messed up a file somewhere, which one is it? I'll try to undo the damage.

HELP

Frank


The new FOV is all fine. First of all, it was /Christophe/ not Chris who modified the definition of the default FOV, in order to get rid of a nasty bug in the multi-view setup that I noted some time ago.

Now the default FOV is not set to 45 degrees throughout, but it is rather /calculated/

FOV = 2 x arctan(height / DPI / 2 / DistanceToScreen) / zoom

from the read out DPI and a hardcoded 400 mm distance of the user to the screen. Note that the FOV is calculated from the /height/ not the width of the window! zoom is a zoom factor that may be varied by dragging SHIFT mouse1 as usual.


Bye Fridger

PS: why don't you install *pre5 instead of *pre4??
(but note *pre5 only contains the executable!)
http://www.celestiaproject.net/~claurel/celest ... e5-exe.zip

Posted: 21.06.2003, 21:22
by ElPelado
whats is new in the *pre5??

Posted: 21.06.2003, 21:25
by chris
As Fridger stated, Christophe modified the field of view so that it's computed based on the window size, monitor resolution, and distance from viewer to screen. This generally results in a much smaller field of view than the former default of 45 degrees. In general, I think Celestia's handling of FOV is much more sensible now, particularly with multiple views. If you do want to override the default field of view--which I admit can be too narrow with a small window--add a line like this to your start.cel:

Code: Select all

set { name "FOV" value 35.0 }


--Chris

Posted: 21.06.2003, 22:06
by fsgregs
Thanks guys. An 18 degree FOV is a bit close for me, so I will use the modification of the start.cel.

:D

Frank

Posted: 22.06.2003, 08:21
by ElPelado
What was the "nasty bug" with the old FOV??

Posted: 22.06.2003, 09:05
by t00fri
ElPelado wrote:What was the "nasty bug" with the old FOV??


Under /horizontal/ multi-view subdivisions, always the original /fixed FOV/ (e.g. 45 degs) was mapped into /each/ available subwindow. So making one of the subwindows smaller and smaller led to a strong increase of the density of stars and their sizes, since the FOV did not change. Under vertical subdivisions, this incorrect behaviour did not occur. The problem was, of course related to the fact that the FOV always involves conceptionally the /vertical/ window sizes.

Now, when the vertical size of a subwindow decreases, its associated FOV is /calculated/ to become correspondingly smaller as it should be...

Bye Fridger