Hacker News new | ask | show | jobs
by pellucide 1222 days ago
I recently did a mobile app which de-warps live video from a fisheye camera. Admittedly, not a game app, but it uses OPENGL and Metal to do the job. I could not have done it without articles like this. I am fan of the way he explains. The scope of his articles go beyond gaming.

Thanks Gustavo.

1 comments

Can you give some suggestions of good articles/books about de-warpping live video from a fisheye camera, sounds fascinating. Thanks.
This is not a comprehensive answer. Please DM me if you are interested in a longer answer. But the idea was to map the video into a 2d grid(25x25). Map the 2d grid into a half dome 3d model(25x25 vertices). Then divide the flat video into textures that fit into each to the smaller rectangles/triangles on the 3d half-dome. Once you have the 3d model, manipulate it using OpenGl or metal primitives.