-
Notifications
You must be signed in to change notification settings - Fork 7
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
Tilted fisheye projection #36
Comments
i've succesfully added tilting into the ifs_kernel.comp.shader into project_fisheye section On the video bellow you can see that center of interest is tilted 30 degrees down |
@vitos1k That's great, you did the difficult part! Send a Pull Request and I'll finish up the rest for the next release |
@vitos1k After merging your PR #38 I did a tiny optimization to do the tilting on cpu instead of the shader, so it is now included in the projection matrix when the type is fisheye - see 3ac7717 |
Looks good, and works as intended! Thanks alot! |
Some planetarium domes have their projectors set up with an offset/angle away from the center. Adding an extra parameter to the fisheye projection would solve the issue. I'm not too familiar with the math so it might take a while. Here's a resource to start off with that looks useful.
The request comes from @vitos1k in this forum discussion.
The text was updated successfully, but these errors were encountered: