r/howdidtheycodeit • u/AstroBeefBoy • Apr 03 '23
180 FOV in Hyper Demon
A clip for reference. Hyper Demon is able to have 180 fov without extreme distortion of the view. How did they achieve this?
40
Upvotes
18
u/Yelnar Apr 03 '23
Something like this? https://strlen.com/gfxengine/fisheyequake/
6
u/DemoEvolved Apr 04 '23
Shaun Williams found a really clever long-forgotten solution for high fov with minimal distortion in fps… and then promptly went down the rabbit hole of making a 1d projection of a 2d world. I laughed when he said, “I don’t care if it’s a success” because I was quite sure it wouldn’t be.
2
u/namrog84 Apr 04 '23
I found this interesting thing about barrel distortion as a way to 'undo' some of the fish eyes of large FOV
https://www.decarpentier.nl/lens-distortion
e.g.
Before and after distortion (same high horizontal FOV): https://i.imgur.com/ELvyCgU.jpeg
2
u/Veantian Apr 09 '23
I'm also trying to create something similar, what way worked best for you and do you have any advice on how to do it?
1
u/Technohazard Apr 03 '23 edited Apr 04 '23
You can crank the FOV slider on a Unity Camera up to 180 degrees and see for yourself if there is significant distortion. IIRC they said the default was 120 degrees which is ~2X the usual default FOV.