Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aperture feature do not working in Equirectangular Projection #32

Open
mareninigor opened this issue Apr 25, 2024 · 2 comments
Open

Aperture feature do not working in Equirectangular Projection #32

mareninigor opened this issue Apr 25, 2024 · 2 comments
Assignees

Comments

@mareninigor
Copy link

mareninigor commented Apr 25, 2024

Describe the bug
Aperture feature do not working in Equirectangular Projection

To Reproduce
Steps to reproduce the behavior:

  1. Set Aperture in Perspective Projection to blur out of focus range
  2. Click on Equirectangular Projection
  3. See no blur

Expected behavior
Expected to see the same blur in Equirectangular Projection that was in Perspective Projection

Desktop (please complete the following information):

  • IFSRenderer version: v1.4.0.0 (installed)
  • OS: latest Windows 10
  • Videocard: Nvidia GTX 1650
@bezo97
Copy link
Owner

bezo97 commented Apr 26, 2024

Thanks for the report, I'm looking into this. Planning to fix this for next release.

@bezo97 bezo97 self-assigned this Apr 27, 2024
@bezo97
Copy link
Owner

bezo97 commented May 1, 2024

This feature was not implemented in equirectangular and fisheye projections because I'm not sure how it should work, since in these modes there's no clear focus point. I think the most useful would be to keep things in focus in every direction around the camera, so basically instead of a "plane of focus" there is a "sphere of focus" that does not depend on the camera direction. Here's a few sample images:

Equirectangular:
image
Fisheye:
image
And no changes for the perspective projection.

Feature can be tested on the dev branch before release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants