Skip to content

Instantly share code, notes, and snippets.

@pigeonhill
pigeonhill / Toggler.lua
Last active June 2, 2016 14:02
Magic Lantern Toggler Script
--[[
Still photography toggler script
Version 1.6 (should work on all ML enabled cameras with the Lua module)
Garry George June 2016
http://photography.grayheron.net/
Toggler script for ML settings.
Toggle through ML settings using the selected option, ie a button you rarely use.
Must be in LV.
--]]
@pigeonhill
pigeonhill / Auto Bracketing.lua
Last active June 5, 2016 21:58
Magic Lantern Bracketing Script
--[[
Auto Bracketing Script
Auto focus bracketing with exposure bracketing
Plus the script does both time and frame bracketing, ie for LE situations
Release 1.0
This version has some error detection, but the user must be aware of certain things:
* Check the correct DoF diffraction options are set in ML, eg diffraction aware is on for best data
* Must use a lens that reports focus distance and DoF can be calculated
* Lens must be in AF mode
* Must be in manual mode
@pigeonhill
pigeonhill / Toggler 2.lua
Last active June 12, 2016 16:00
ML Menu state toggler
--[[
Still photography toggler script
NOTE: Tested on a 5D3 and 50D
Version 2 (should work on all ML enabled cameras with the Lua module BUT maybe not the EOSM)
Garry George June 2016
http://photography.grayheron.net/
Toggles through ML settings using the multi-controller toggle, plus a button you rarely use.
Must be in LV.
--]]
@pigeonhill
pigeonhill / LE Simulation.lua
Last active December 19, 2016 00:42
LE simulation using FRSP via Timelapse
--[[
LE simulation via Bracketing, using shutterless, Full Res Silent Picture
Creates brackets for post processing a simulated LE exposure
User must set FRSP mode, ie DNG or MLV and also wheather to use Dual-ISO
Exposure Sim should be on
Should be in LV
MUST set Canon review to OFF
Base exposure should be between 0.25-14 secs
Version 0.8: Requires the Lua Fix
*******************************************************************************************************
@pigeonhill
pigeonhill / 1TOG1.lua
Last active December 5, 2017 19:18
Toggler for EOSM
--[[
No menu (complex) script, that runs in the background, to help control the camera and switch between your favorite ML/Canon states using your buttons of choice,
for example the MENU, PLAY & INFO buttons on the EOSM work well.
To use the script simply note the following sequences:
[MENU] = normal use of [MENU] if not in imode
[PLAY][PLAY] = normal use of [PLAY]
[PLAY][MENU] = enter toggler interactive imode
In imode [PLAY] and [INFO] will toggle back and forwards through your ML condition states giving you an on-screen message
In imode [MENU] will set that condition and leave interactive mode.
@pigeonhill
pigeonhill / Toggler LV.lua
Last active June 7, 2017 12:40
Toggler for cameras with limited buttons
--[[
Still photography toggler script.
This is a stripped down version of the full Toggler, recognising the the lack of buttons to toggle with some cameras.
It will run on other ML enabled cameras.
Toggles through preset ML settings using the PLAY button.
Make sure ML menus are preset to the your toggled states.
Version 1
Garry George August 2016
http://photography.grayheron.net/
--]]
--[[
LE simulation via Bracketing, using shutterless, Full Res Silent Picture
Creates brackets for post processing a simulated LE exposure
User must set FRSP mode, ie DNG or MLV and also wheather to use Dual-ISO
BUT note that only DNG mode has been tested ;-)
Exposure Sim should be on
Should be in LV
It is best to have Canon review set to OFF
Base exposure should be between 0.25-14 secs
Version 0.8: Requires the Lua Fix
--[[
This script simulates a super resolution stack for post processing...
by simulating sensor shifting by changing focus. Because of this, the script is 'limited' to taking...
sharp images between the HFD and infinity.
This script assumes you are on a tripod, ie not handholding as 'normal' in super resolution stacking (without a special sensor)
This version does NOT work with FRSP...at the moment :-)
Should be in LV
Canon review should be set to OFF
Usual caveat: script was written for my workflow and enjoyment, and 'only' tested on a 5D3
--[[
Bulb ND Script V1
Release 0.1
Jan 2017
Simply takes an ND image using the currently set shutter value, but assumes an ND filter is fitted.
To use:
1. Compose and set shutter WITHOUT the ND filter fitted
2. Set ND values in menu and delay (in LV delay is automatically 3s)
3. Press SET to intiate script
function test4Q(key)
if key == KEY.INFO and menu.visible then
key.press(KEY.Q)
return false
else
return true
end
end
event.keypress = test4Q