Author Topic: Set-fov <1°. Why doesn't it work?  (Read 2711 times)

0 Members and 1 Guest are viewing this topic.

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Set-fov <1°. Why doesn't it work?
Not sure about it being a code issue so I decided to post it here. Why does FRED not tolerate FOVs <1 degree? The minimum I can set is 1 and anything like 0.5 or 0.01 results in a FRED warning.

I tried to get around the problem with arithmetics (0.01 = 1 / 100), but it didn't work. Any suggestions?
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Set-fov <1°. Why doesn't it work?
FRED doesn't tolerate decimal coordinates either IIRC.
(´・ω・`)
=============================================================

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Set-fov <1°. Why doesn't it work?
it's a code issue. As in, the sexp code only accepts decimal input, meaning that you can't set values that low. In fact, the minimum value is 1. Why do you think you need a value lower than that?
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Re: Set-fov <1°. Why doesn't it work?
Why do you think you need a value lower than that?

Extreme zooming.  :drevil:
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Re: Set-fov <1°. Why doesn't it work?
I don't mean to be presumptuous or anything but shouldn't 1 degree be extreme enough for, well, anything?

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Set-fov <1°. Why doesn't it work?
Pretty much, yes. It'll certainly make any background look extremely ugly.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Re: Set-fov <1°. Why doesn't it work?
I don't mean to be presumptuous or anything but shouldn't 1 degree be extreme enough for, well, anything?

That's what I thought until I tested it myself. 1 degree allows you to monitor Argo sized assets or smaller from a distance of a few dozen clicks, but can't do more; I was actually looking for an extreme zooming effect, capable of monitoring objects from a distance of 100 or more clicks.

Pretty much, yes. It'll certainly make any background look extremely ugly.

OCPsTM are smart: they don't show backgrounds when the player zooms in. I will also use templates to create new entries in ships.tbl, all with hacked LODs to make remote monitoring more realistic. :drevil:

On a partially related note, since you appear to have a lot of experience with programming, do you think this script is capable of handling FOVs <1 degree?
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Set-fov <1°. Why doesn't it work?
Good luck with Templates. They're not guaranteed to work at the moment.

As for the script, yes, the Camera::setFOV() function accepts fractional input.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Re: Set-fov <1°. Why doesn't it work?
Good luck with Templates. They're not guaranteed to work at the moment.

Alright, I'll use separate table entries for them.

As for the script, yes, the Camera::setFOV() function accepts fractional input.

Awesome, thanks! :)
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: Set-fov <1°. Why doesn't it work?
Erm, you could move the camera forward a bit too...

  

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Re: Set-fov <1°. Why doesn't it work?
Sure, but it screws zooming. A lot.
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito