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

Feature idea: basic reference shapes for focal length matching #119

Open
bpampuch opened this issue Aug 21, 2022 · 1 comment
Open

Feature idea: basic reference shapes for focal length matching #119

bpampuch opened this issue Aug 21, 2022 · 1 comment

Comments

@bpampuch
Copy link

The only thing that I miss in fSPY is a set of tools which would allow me to match the focal length.

Guidelines aren't accurate enough to find the right proportion.

Having some basic shapes (eg. a circle or a square) with the ability to rescale them uniformly would allow to go through the whole workflow (as presented in my tutorial https://youtu.be/daiMOYR8GS8?t=1013) directly in fSpy.

The current situation is:

  • fSpy works perfectly in case of a 3-point perspective
  • 1-point perspective is also quite simple, because we can easily determine the position of the principal point - therefore we can export the file, go to blender and find the focal length there,
  • 2-point perspective can become horribly troublesome as the only tool that we have to influence the focal length is the horizontal position of the principal point (assuming both vanishing points are at the horizon, but this is the most common case)

Currently, the only way to do this (for 2-point perspective) is to:

  1. guess the horizontal position of the PP
  2. save the project
  3. import it into Blender
  4. match some basic shapes against the image
  5. it they don't match go back to point 1 and repeat the process

Having the basic shapes directly in fSpy would make this workflow much simpler.

Two other features to better deal with 2-point perspective would be:

  1. automatic placement of the principal point at the line between the vanishing points
  2. constraining the movement along this line
@BenRacicot
Copy link

Yes, I was trying to simply get the focal length also but found that without knowing the camera sensor size (in mm) we get Image/sensor proportions mismatch. I

wonder if there could be some way to either auto detect the sensor or perhaps just updating the list of cameras in the dropdown would help with that.

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