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

Anamorphic factor isn't resulting in perfect circles on non-square ARs #16

Open
FransBouma opened this issue Feb 26, 2022 · 0 comments
Open

Comments

@FransBouma
Copy link
Owner

from EDCVBNM

it seems that the anamorphic factor in CineDOF get's stretched to the aspect ratio that the app is running at
the solution i found is using this line pixelVector.x *= (BUFFER_RCP_HEIGHT / BUFFER_RCP_WIDTH); right after defining pixelVector inside the CalculateAnamorphicRotationMatrix function, and on top of that allowing the "Anamorphic alignment factor" variable to go down to -1 to archive a perfect circle the image i sent shows at the top the original code with an Anamorphic alignment factor of 0 bc it's the lowest it allows and at the bottom the fix with an Anamorphic alignment factor of -1

image

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

1 participant