duan Posted May 20, 2019 Share Posted May 20, 2019 Is it possible to make a mod that performs a fisheye effect? https://www.youtube.com/watch?v=022EFO2ztHk shows what I want. I'm doing a course project and I need some realistic videos taken by a fisheye lens. Link to comment Share on other sites More sharing options...
Guest Posted May 20, 2019 Share Posted May 20, 2019 (edited) You could create a second camera, place it at a relative position to the GameplayCamera and set the Camera.FieldOfView property to something high. Anything above 70f is probably going to start distorting things. It might even work if you set the camera view to the closest view and actually use the actual gameplay camera position. You'd have to create a test mod to test some values, to get an idea of how things looked. You can't set the GameplayCamera.FieldOfView though, it's a get only property. Edited May 20, 2019 by Guest Removed erroneous last line Link to comment Share on other sites More sharing options...
duan Posted May 22, 2019 Author Share Posted May 22, 2019 On 5/20/2019 at 5:27 PM, LeeC2202 said: You could create a second camera, place it at a relative position to the GameplayCamera and set the Camera.FieldOfView property to something high. Anything above 70f is probably going to start distorting things. It might even work if you set the camera view to the closest view and actually use the actual gameplay camera position. You'd have to create a test mod to test some values, to get an idea of how things looked. You can't set the GameplayCamera.FieldOfView though, it's a get only property. If I set the FOV high, the scene looks like this google drive link. It is not like the fisheye lens, but something opposite. Are there other properties of the camera that we can modify to simulate a panoramic view? Link to comment Share on other sites More sharing options...
Guest Posted May 22, 2019 Share Posted May 22, 2019 1 hour ago, duan said: If I set the FOV high, the scene looks like this google drive link. It is not like the fisheye lens, but something opposite. Are there other properties of the camera that we can modify to simulate a panoramic view? Yeah, that's about as good as you're going to get. You have to remember, a lens is a physical piece of glass that bends light, a game camera is just a projection of a scene, so you're never going to get an exact copy. What you are seeing, is exactly what a fisheye lens sees but without the bending of the light to create the goldfish-bowl effect. You would probably need a custom shader and a camera that captures the game-world as a hemisphere and I don't think that is possible in the GTA V engine. I knew you wouldn't get an exact copy but I gave the suggestion, just in case the effect was close enough to what you wanted. Link to comment Share on other sites More sharing options...
duan Posted May 22, 2019 Author Share Posted May 22, 2019 5 minutes ago, LeeC2202 said: Yeah, that's about as good as you're going to get. You have to remember, a lens is a physical piece of glass that bends light, a game camera is just a projection of a scene, so you're never going to get an exact copy. What you are seeing, is exactly what a fisheye lens sees but without the bending of the light to create the goldfish-bowl effect. You would probably need a custom shader and a camera that captures the game-world as a hemisphere and I don't think that is possible in the GTA V engine. I knew you wouldn't get an exact copy but I gave the suggestion, just in case the effect was close enough to what you wanted. Thank you for your suggestion! Link to comment Share on other sites More sharing options...