Jump to content

Fisheye equation


photo

Recommended Posts

Hello,

I'd like to know the currently used equation for "Fisheye Panorama 360".

When capturing an image from inside a latitude/longitude sphere, with parallels every 10°, I get this image:

image.png.ed265bffd5499a77efe44c892933620e.png

As you can see, the width of the 10° bands are not all the same.

Is there a way to generate an image where all bands would have the same width, like so:

full360.gif

(actually, the final image will be cropped to 220° to match a real-life camera that has these geometric optical properties)

Thanks!

Link to comment

That's great, I'll take a deep look!

Is it possible to add our custom panorama mode this way? or does it mean our implementation must replace one of the existing ones? And should I just place the new shader in <project>\data\core\shaders\panorama, or is there something else to do? (sorry if I missed the doc about this, you can point me to it)

Thanks!

Link to comment

I think the easiest way is to modify existing shaders. Thus, you'll get custom panorama modes that can be activated with default engine commands (render_panorama).

Panorama was considered as a ready to use feature, but recently we got feedback for the customization needs. I guess it can be described in an additional docs section.

Thanks.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...