Could you please extend the Camera Remote API with some function to set and get the focus. This could be used for macro or landscape photography to allow taking pictures for focus stacking. It would be great to have 4 additional calls to be able to implement taking pictures for focus stacking (e.g. for the Sony a7m3).
- setFocusPoint(xPosition, yPosition): Where x and y is the position corresponding to the the display of the camera
getFocusPoint(): Get x and y
setFocusDistance(distance): Where distance is specified in meter (float).
- getFocusDistance()
This way you could define a start and end point and how many pictures you want do end up, then calculate the steps in between to get several focus plains you can stack in post processing.
Actually there are many focus options available to you using the Sony Camera Remote API The availability of these options will depend on the type of camera you use. You will also notice endpoints to check which options exist and which options are available. This is to first check to be sure your camera supports a particular option and then check to make sure that your camera is in a mode that supports that option. Here are all of the currently available focus endpoints:
Unfortunately there is no current option to set focus distance.