Hi Community,
I’m relatively new to OpenGL but am still working on a fairly advanced task. I need a viewer that allows scene-views using arbitrary FOVs. One could call it a virtual 360° Camera. It is obvious that the pinhole-camera-model can not provide such a view, since it’s projection surface is a rectangle. So what I need is a central projection onto a non-2D object (e.g. a cylinder or a cube) whose surface is than used as the viewport-information. Since an unrolled cylinder provides a rectangular surface it would be a sufficient choice (although only for one axis, since it’s ends are not covered).
Does anyone know of any existing code dedicated to this problem? If not, does anyone have an idea how to achieve the desired result.
Cheers,
Jo