Maintain Focus - Script Writing - CHDK Forum

Maintain Focus

  • 5 Replies
  • 4170 Views
*

Offline kevinaj

  • *
  • 4
  • SD400
Maintain Focus
« on: 13 / May / 2008, 18:52:48 »
Advertisements
Is there a way to force the camera to use the same focus and flash settings for all pictures in a loop? Just using "shoot" in a script causes it to refocus every time. Any help would be appreciated. Thanks,

Kevin J.

*

Offline vine

  • ***
  • 124
  • A560
    • my chdk page
Re: Maintain Focus
« Reply #1 on: 13 / May / 2008, 23:43:42 »
For example:
Code: [Select]
press "shoot_half"
sleep 1000

for i=1 to a
press "shoot_full"
sleep 100
release "shoot_full"
sleep b
next i

release "shoot_half"

Focus is kept as long as shoot_half is not released
my photo map

my chdk page with tutorials, scripts and more

>> finally back from vacation (was a bit longer than intended) <<

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: Maintain Focus
« Reply #2 on: 14 / May / 2008, 04:35:00 »
you could also enable manual focus.

Re: Maintain Focus
« Reply #3 on: 14 / May / 2008, 07:51:09 »
Focus Lock combined with the overrides in CHDK should cause the flash to respond the same way each shot.

...Now if we could get Zoom priority installed into trunk, that would enable us to recreate everything.
Some kind of "Save settings as...XXXX" feature to save the override settings would be great, even for just three profiles.
Whoa-Hey! Careful where you point that thing. You're gonna shoot someone!

http://chdk.wikia.com/wiki/DoF_Stacking

*

Offline kevinaj

  • *
  • 4
  • SD400
Re: Maintain Focus
« Reply #4 on: 14 / May / 2008, 15:32:55 »
Thanks folks, that's exactly what I needed! And quick too! As soon as I get this script done, I'll put it on the web for everyone's benefit.

Thanks again,
Kevin J.

Re: Maintain Focus
« Reply #5 on: 10 / December / 2009, 09:20:02 »
Focus is kept as long as shoot_half is not released

This answer was very helpful. However, what if I JUST want the focus from the first shot, without the EV? Say that I'm taking shots with an intervalometer script over a long time and the light conditions change dramatically (day, dawn, night, dusk). So, each shot should be measured on its own, however the focus should come from the first shot.

Is there a way to press shoot_half before the first shot, save the focus to another variable, then make the first shot, release shoot_half, set the focus for each consecutive shot?

Thanks,

polarapfel

 

Related Topics


SimplePortal © 2008-2014, SimplePortal