Peripheral FOV

General discussion of the Project Reality: BF2 modification.
labonte95
Posts: 174
Joined: 2011-02-12 20:31

Peripheral FOV

Post by labonte95 »

I was just wondering why does the FOV on your peripherals give you farther view distance? Sometimes when I'm playing, I see movement out of the corner of my eye but when I go to directly look at them they disappear into the fog. Anyone else notice this?

Thanks to WarEagle751 for the Signature pic!
Spec
Retired PR Developer
Posts: 8439
Joined: 2007-09-01 22:42

Re: Peripheral FOV

Post by Spec »

Most games do this. They render things in a square shape around you, so the corners are further away from you than the sides, since you're in the middle of that square. Ain't a circle, circle'd probably be more difficult to do.
Image
--- currently reduced activity ---
Thanks to [R-MOD]IINoddyII for the signature!
_____________________________
Propriety is an adequate basis for behavior towards strangers, honesty is the only respectful way to treat friends.
labonte95
Posts: 174
Joined: 2011-02-12 20:31

Re: Peripheral FOV

Post by labonte95 »

Ohh ok. That makes sense. So I'm guessing there is no fix around it, and honestly it isn't a problem anyway. At that distance, you aren't likely to hit any thing anyway.

Thanks to WarEagle751 for the Signature pic!
BloodyDeed
Retired PR Developer
Posts: 4452
Joined: 2008-05-07 17:43

Re: Peripheral FOV

Post by BloodyDeed »

No, we can't fix that. That's how BF2 (and many other games) work.
Image
smgunsftw
Posts: 242
Joined: 2012-10-26 21:43

Re: Peripheral FOV

Post by smgunsftw »

Is the POV still limited to a square on the Crytek 3 engine?
labonte95
Posts: 174
Joined: 2011-02-12 20:31

Re: Peripheral FOV

Post by labonte95 »

If they are saying most games render in squares then my guess is yes. But I could be wrong.

Thanks to WarEagle751 for the Signature pic!
Not_able_to_kill
Posts: 202
Joined: 2008-03-05 11:37

Re: Peripheral FOV

Post by Not_able_to_kill »

In ArmA 2 it's circled iirc
[R-DEV]Hitperson: my body is a temple with the fountains flowing fresh with cider and the holy water being scotch.

[R-CON]Rudd: remember, your penis size is proportional
to your post count
Heavy Death
Posts: 1303
Joined: 2012-10-21 10:51

Re: Peripheral FOV

Post by Heavy Death »

My question is, why do they keep doing games like that? I suppose it is harder to do, but not so much harder.
saXoni
Posts: 4180
Joined: 2010-10-17 21:20

Re: Peripheral FOV

Post by saXoni »

Heavy Death wrote:My question is, why do they keep doing games like that? I suppose it is harder to do, but not so much harder.
Performance I'd guess. Or it might just not be worth it, could be a huge hassle getting it done.
Adalaxy
Posts: 103
Joined: 2013-03-05 00:09

Re: Peripheral FOV

Post by Adalaxy »

I wonder why the just did not rotate the "square" 45deg so were looking into the farther corner....
soundcloud.com/adalaxy
Spec
Retired PR Developer
Posts: 8439
Joined: 2007-09-01 22:42

Re: Peripheral FOV

Post by Spec »

Interesting thought. Sadly you can only change these things when building an engine from scratch, so PR can't really mess with that...
Image
--- currently reduced activity ---
Thanks to [R-MOD]IINoddyII for the signature!
_____________________________
Propriety is an adequate basis for behavior towards strangers, honesty is the only respectful way to treat friends.
labonte95
Posts: 174
Joined: 2011-02-12 20:31

Re: Peripheral FOV

Post by labonte95 »

Darn. That really is a good idea though.

Thanks to WarEagle751 for the Signature pic!
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Peripheral FOV

Post by LITOralis.nMd »

There are ways to fix this.
www.nthusim.com/ has the nthusim screen warping software
and
http://www.gamewarping.com/‎ has the Warpalizer screen warping software

however, IDK if they work with BF2 engine. IDK if they could cause PB bans.
They definitely work in crytek engine, for the person who asked above.

There is also the widescreenfixer, but that can cause lots of problems, like global PB bans.
Spec
Retired PR Developer
Posts: 8439
Joined: 2007-09-01 22:42

Re: Peripheral FOV

Post by Spec »

Second link is a dead end, I can't find any screen warping software in the first. What exactly would they do? These things are hardcoded into the game engines...
Image
--- currently reduced activity ---
Thanks to [R-MOD]IINoddyII for the signature!
_____________________________
Propriety is an adequate basis for behavior towards strangers, honesty is the only respectful way to treat friends.
AncientMan
Retired PR Developer
Posts: 5111
Joined: 2007-05-22 07:42

Re: Peripheral FOV

Post by AncientMan »

Spherical fog is easy enough to do, I tried implementing it a while ago. But it's not possible in BF2 because one or two shaders don't pass in the eye position unfortunately, and that stuff is hardcoded...
Image
MooseBoys
Posts: 52
Joined: 2007-08-22 19:56

Re: Peripheral FOV

Post by MooseBoys »

[R-DEV]AncientMan wrote:Spherical fog is easy enough to do, I tried implementing it a while ago. But it's not possible in BF2 because one or two shaders don't pass in the eye position unfortunately, and that stuff is hardcoded...
Every pixel shader for world objects needs to write depth, so you should already have the value you need. I can take a look at the shaders in question if you're interested.
AncientMan
Retired PR Developer
Posts: 5111
Joined: 2007-05-22 07:42

Re: Peripheral FOV

Post by AncientMan »

No, you can't use depth, since depth is a plane, eye position is a point. You need a point to calculate a curve, if that makes sense.
Image
MooseBoys
Posts: 52
Joined: 2007-08-22 19:56

Re: Peripheral FOV

Post by MooseBoys »

[R-DEV]AncientMan wrote:No, you can't use depth, since depth is a plane, eye position is a point. You need a point to calculate a curve, if that makes sense.
I know it's possible if you have the right data - FOV, screen-space position, but it shouldn't need world-space eye position. What's the name of the shader that wasn't working?

edit: Actually, these are all fx right? Where you have the vs and ps code tied together? If that's the case, then you definitely have all the info you need.
Last edited by MooseBoys on 2013-07-30 17:01, edited 1 time in total.
labonte95
Posts: 174
Joined: 2011-02-12 20:31

Re: Peripheral FOV

Post by labonte95 »

not like this is a big deal. only affects targets greater than like 900-1000 meters

Thanks to WarEagle751 for the Signature pic!
redman0123
Posts: 155
Joined: 2009-02-27 01:25

Re: Peripheral FOV

Post by redman0123 »

I'm more interested in a way to move my player camera left and right without having to actually move my characters rifle. So many times I've been shot cause I had to look at my SLs direction to see where he's moving. Or get spotted in a bush cause your BF2 body rotates like its on a spinner cause youre looking left and right and it moves your whole body. I know practically nothing can be done about this, tho :/
Post Reply

Return to “PR:BF2 General Discussion”