Need a way to adjust cubemap FOV

Need a way to adjust cubemap FOV

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Need a way to adjust cubemap FOV

Post by Caydr »

By default in spring, the FoV rather distorts things that approach the edge of the screen as you rotate your point of view. There needs to be a way to adjust this, as things which are supposed to appear round tend to severely distort into an oval if they're anywhere near the edge of the screen. It's not too bad, and it has some uses in backgrounds that aren't supposed to look geometrically perfect (ie, clouds, etc) but suppose you wanted to have a moon or other spherical object. The distortion begins to make it look oval. I realize this isn't a really, really important thing, but it'd be a great addition if it's not a lot of work.
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Post by trepan »

This may help explain the phenomenon:
http://en.wikipedia.org/wiki/Perspectiv ... distortion
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Post by SwiftSpear »

trepan's wiki artical is a little hard to read through, but does tell why the distortion is there. This problem is acctually existant in all FPS video games around, and basicly has to do with rendering from a camera prespective. It's extreamly complicated to explain mathimatically... but basicly the issue is that it is difficult to render 3D objects properly on a 2D in such a way that isn't basicly blinding to the viewer..
Post Reply

Return to “General Discussion”