Author Topic: Specular..whatever .. ruin the atmosphere....  (Read 24326 times)

0 Members and 1 Guest are viewing this topic.

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Re: Specular..whatever .. ruin the atmosphere....
I recommend not touching it. It makes things too wonky.
Freelance Modeler | Amateur Artist

 
Re: Specular..whatever .. ruin the atmosphere....
Well, there is a thread here where some guy explained how to calculate the "perfect" FOV based on the size of the screen and your distance from it. I am actually pretty happy with the result (-fov .589 in my case).

 

Offline Axem

  • 211
Re: Specular..whatever .. ruin the atmosphere....
The problem I found with small fov is that lower lods are very apparent since everything is super zoomed in.

 

Offline sfried

  • 27
Re: Specular..whatever .. ruin the atmosphere....
Well, there is a thread here where some guy explained how to calculate the "perfect" FOV based on the size of the screen and your distance from it. I am actually pretty happy with the result (-fov .589 in my case).
What's the equation?

  

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: Specular..whatever .. ruin the atmosphere....
Well, if

D = horizontal diameter of your screen

s = distance from eyes to screen

alpha = actual angle of the screen


tan alpha =2 * D / ( 2 * s )

alpha = 2 * arctan ( D / [ 2 * s ] )


The actual -fov *.*** number is announced in radians, so if you count in degrees, you still have to convert it from degrees to radians. That's easy.

Pi =~ 3.1415926535...

360 deg = 2 * Pi  radians

1 deg = Pi / 180 radians

X deg = X * Pi / 180 radians


Umm, anyway... if your calculator can be set to count in radians, you get the result directly by

2 * tan^-1 ( D / [ 2 * s ] )

If your calculator doesn't do trigonometric functions, use, say, google calculator. Type

2*atan([insert display width] / [ 2 * {insert your eyes' distance from screen} ]

in Google and let them do the calculations. Put the resulting number into the -fov flag. :D
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 
Re: Specular..whatever .. ruin the atmosphere....
^^ Ugh, trigonometry class all over again  :shaking:.
Eddie Guerrero R.I.P. 1967-2005

 

Offline sfried

  • 27
Re: Specular..whatever .. ruin the atmosphere....
Well, if

D = horizontal diameter of your screen

s = distance from eyes to screen

alpha = actual angle of the screen


tan alpha =2 * D / ( 2 * s )

alpha = 2 * arctan ( D / [ 2 * s ] )


The actual -fov *.*** number is announced in radians, so if you count in degrees, you still have to convert it from degrees to radians. That's easy.

Pi =~ 3.1415926535...

360 deg = 2 * Pi  radians

1 deg = Pi / 180 radians

X deg = X * Pi / 180 radians


Umm, anyway... if your calculator can be set to count in radians, you get the result directly by

2 * tan^-1 ( D / [ 2 * s ] )

If your calculator doesn't do trigonometric functions, use, say, google calculator. Type

2*atan([insert display width] / [ 2 * {insert your eyes' distance from screen} ]

in Google and let them do the calculations. Put the resulting number into the -fov flag. :D

Is the distance in centimeters, or inches?

Say my screen is 12.1 inches, and I'm usually 9-10 inches away from the screen... -fov .672?
« Last Edit: August 14, 2006, 05:23:07 pm by sfried »

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Steam
    • Twitter
    • ModDB Feature
Re: Specular..whatever .. ruin the atmosphere....
Doesn't matter what the distance is messured in, so long as all messurements are in the same format. So don't do "D" in inches and "s" in centimeters.

12.1 inches? You don't mean 21.1 inches, do you? Or is this a laptop? Please tell me it's a laptop, because a 12" desktop monitor would just be wrong.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 

Offline Kaboodles

  • 26
  • Kill the meat. Save the metal.
Re: Specular..whatever .. ruin the atmosphere....
Well, if

D = horizontal diameter of your screen

s = distance from eyes to screen

alpha = actual angle of the screen


tan alpha =2 * D / ( 2 * s )

alpha = 2 * arctan ( D / [ 2 * s ] )


The actual -fov *.*** number is announced in radians, so if you count in degrees, you still have to convert it from degrees to radians. That's easy.

Pi =~ 3.1415926535...

360 deg = 2 * Pi  radians

1 deg = Pi / 180 radians

X deg = X * Pi / 180 radians


Umm, anyway... if your calculator can be set to count in radians, you get the result directly by

2 * tan^-1 ( D / [ 2 * s ] )

If your calculator doesn't do trigonometric functions, use, say, google calculator. Type

2*atan([insert display width] / [ 2 * {insert your eyes' distance from screen} ]

in Google and let them do the calculations. Put the resulting number into the -fov flag. :D

What about widescreens?  My laptop's screen resolution is 1280 x 768.  Selecting that resolution on the launcher leaves me with weird bugs with targeting and ships at the edge of my screen.   The targeting brackets around a ship moves off the ship whenever my reticle is away from it, but it moves back around the ship when my reticle is centered off it.  Suns and subspace node indicators also move wonky whenever i move around, and ships disappear from view at the edge of the screen.

 

Offline sfried

  • 27
Re: Specular..whatever .. ruin the atmosphere....
12.1 inches? You don't mean 21.1 inches, do you? Or is this a laptop? Please tell me it's a laptop, because a 12" desktop monitor would just be wrong.
It's a Tablet PC, so yeah, a laptop.

 

Offline S-99

  • MC Hammer
  • 210
  • A one hit wonder, you still want to touch this.
Re: Specular..whatever .. ruin the atmosphere....
my brother still uses a 14 inch for interfacing with his server. it only does 640x480, but in 32bit.
Every pilot's goal is to rise up in the ranks and go beyond their purpose to a place of command on a very big ship. Like the colossus; to baseball bat everyone.

SMBFD

I won't use google for you.

An0n sucks my Jesus ring.

 

Offline Mars

  • I have no originality
  • 211
  • Attempting unreasonable levels of reasonable
Re: Specular..whatever .. ruin the atmosphere....
...but in 32bit.

Wow... that's gettin pretty fancy

 

Offline S-99

  • MC Hammer
  • 210
  • A one hit wonder, you still want to touch this.
Re: Specular..whatever .. ruin the atmosphere....
I think it's the smallest type of crt monitor i've seen in my life for a computer. What's even more horrible is when i wanted to play my gamecube at a friends house. I had one of those really old miniature carry around black and white tv's wired up to a vcr to hook up the gamecube to play. Now with tv out on your computer, you could be going on with a 4inch crt ;)
Every pilot's goal is to rise up in the ranks and go beyond their purpose to a place of command on a very big ship. Like the colossus; to baseball bat everyone.

SMBFD

I won't use google for you.

An0n sucks my Jesus ring.

 

Offline ShivanSpS

  • 210
Re: Specular..whatever .. ruin the atmosphere....
Which spectacular, some ships like the Aeolus and the Triton, are toooo shinny... Im some cases they looks like "transparent", no because a missing texture, its because its reflecting the background soo much.

 

Offline S-99

  • MC Hammer
  • 210
  • A one hit wonder, you still want to touch this.
Re: Specular..whatever .. ruin the atmosphere....
they should make a flag setting letting you control how much nebulas and stars reflect off of ships. Just control that intensity like with the other flags :)
Every pilot's goal is to rise up in the ranks and go beyond their purpose to a place of command on a very big ship. Like the colossus; to baseball bat everyone.

SMBFD

I won't use google for you.

An0n sucks my Jesus ring.

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: Specular..whatever .. ruin the atmosphere....
Which spectacular, some ships like the Aeolus and the Triton, are toooo shinny... Im some cases they looks like "transparent", no because a missing texture, its because its reflecting the background soo much.

I would rather say the reason is Alpha Environment mapping. Some textures still have full alpha channel, and if -alpha_env argument is used in command line, it results in that the full alpha channel becomes reflective like a mirror.

Specular lighting doesn't have (too) much to do with that. Some ships just have textures that are a bit out-dated.

Of course there might be something else wrong if you don't use alpha_env... :nervous:
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Re: Specular..whatever .. ruin the atmosphere....
Its not supposed to be flag controlled, its supposed to be controlled by the alpha-layer of the shinemap.
If those ships are too reflective, there's either a problem with the shine-maps, or the build is reading something incorrectly. (And I doubt the latter.)
Perhaps there was an error or somesuch whilst converting the maps from its native, created format into DDS?
Freelance Modeler | Amateur Artist

 

Offline Shade

  • 211
Re: Specular..whatever .. ruin the atmosphere....
That's not specular, that's envmapping. Specular deals with lighting only, not with actual reflections.
Report FS_Open bugs with Mantis  |  Find the latest FS_Open builds Here  |  Interested in FRED? Check out the Wiki's FRED Portal | Diaspora: Website / Forums
"Oooooooooooooooooooooooooooooooooooooooh ****ing great. 2200 references to entry->index and no idea which is the one that ****ed up" - Karajorma
"We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Niels Bohr
<Cobra|> You play this mission too intelligently.

 

Offline Flaser

  • 210
  • man/fish warsie
Re: Specular..whatever .. ruin the atmosphere....
Those ships either hadn't recieved proper environment maps or you're not using the latest up to date files in the Media Vp-s.
"I was going to become a speed dealer. If one stupid fairytale turns out to be total nonsense, what does the young man do? If you answered, “Wake up and face reality,” you don’t remember what it was like being a young man. You just go to the next entry in the catalogue of lies you can use to destroy your life." - John Dolan

 

Offline Vasudan Admiral

  • Member
  • Moderator
  • 211
    • Twisted Infinities
Re: Specular..whatever .. ruin the atmosphere....
It's the shinemaps alpha channels - I was unaware of env mapping when I made the maps, so obviously didn't take them into account. It has since been fixed for DaBrain's upcomming media VP release.
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities