Magic Lantern Forum

Developing Magic Lantern => Modules Development => Topic started by: dmilligan on August 10, 2014, 03:21:46 AM

Title: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: dmilligan on August 10, 2014, 03:21:46 AM
Based on this discussion (http://www.magiclantern.fm/forum/index.php?topic=12846) I've created a module to make calculating exposure for Neutral Density (ND) filters and long exposure photography easier.

(http://bitbucket.org/dmilligan/magic-lantern/downloads/bulb_nd.gif)

This module will add a new setting to the Shoot menu. Here's how you use it:

Source code: (already merged)

Obviously you will need an ND filter that is easy to attach and remove for this method to be effective. Or alternatively you can use an ND filter that is adjustable => adjust it to minimum to get expo settings, put max - min as the value in the menu, then adjust to max and hold SET.

You can also measure the actual strength of your ND filter (or filter stack). Select the 'Measure ND' option and follow the instructions.

(I'm also open to suggestions for a better name => 8 character limit)
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: brapodam on August 10, 2014, 05:34:53 AM
I just did a quick test and noticed some weird behaviour

1. 10 stops and 10.5 stops seem to be swapped. When I set exposure to 1/30s, 10 stops reports 47s exposure and 10.5 stops reports 31s exposure. Haven't tested the rest of the stops
2. The trigger does not turn off when you turn off the bulb timer; it only turns off when you turn the bulb->ND feature in the bulb timer sub-menu
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: dmilligan on August 10, 2014, 05:44:12 AM
1. fixed
2. expected behavior (this is kind of separate from the bulb timer, but I put it in the same menu, maybe thats a little confusing. But I have no way of determining if the bulb timer is enabled from a module).
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: brapodam on August 10, 2014, 07:47:07 AM
1. fixed
2. expected behavior (this is kind of separate from the bulb timer, but I put it in the same menu, maybe thats a little confusing. But I have no way of determining if the bulb timer is enabled from a module).

1. Thanks for fixing the incorrect half ev calculation
2. In that case, maybe it should have a separate menu entry?
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: garry23 on August 10, 2014, 04:45:15 PM
@dmilligan

Just tried it out on my 5DIII with an ND1000 screw on filter.

Took me a few seconds to work things out.

First 'surprise' was that my ETTR wasn't working, then I realized there was a clash in switching on the ML functions, ie I use SET to trigger the ETTR. Moved this to a double press and all went fine.

I don't think you should put on any caveat regarding not using a screw on filter. If you are careful it works fine: you don't need to fully screw on, just enough to stop photons, which don't like going round thread corners :-o)

Looked at the two exposures and the overall exposure seems about right, within a stop and there is an expected shift in the WB, ie my filter is not one of the best quality ones, but acceptable.

I will play around with the few test shots to nail down my 'exact' ND effect, so I can use ETTR without and not move too far to the right when adding in my ND stacks, ie I  tend to use a 1000 and a 16.

Once again dmilligan, thanks for a nice ML add-on.

Cheers

Garry

PS I have posted about this on my blog, ie workflow, at: http://photography.grayheron.net/2014/08/another-great-magic-lantern-feature.html

Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: dmilligan on August 12, 2014, 12:20:45 AM
okay, I updated it to have it's own menu, since putting it in the Bulb Timer menu is a little confusing. Also added an option to help you measure your ND filter(s).
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: garry23 on August 12, 2014, 01:28:04 AM
David

Just tried your latests tweaks and they are great.

Calibrated my three NDs, ie 10Ev calibrate  at 9.5, 4Ev at 4.0 and 14Ev at 13.5.

Only minor thing I have noticed is that the ND time read out has a second symbol glitch. With three digit time it shows ", with two it shows "" and with one it shows """

As I say minor stuff.

Once again many thanks for the module.

Cheers

Garry
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: dmilligan on August 12, 2014, 02:13:18 AM
It's because it's not redrawing, just drawing over (you're just seeing part of the old value).
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: garry23 on August 12, 2014, 02:16:24 AM
Ok. As I say, no issue for me.

Cheers

Garry
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: garry23 on August 12, 2014, 03:04:52 AM
David

As I 'play' with it I can see an enhancement:-)

I see that the bulb time adjusts dynamically as you adjust exposure but not aperture.

To provide the user with final adjustments, would it be possible to dynamically link in the aperture.

At the moment the user can change the aperture but this will change the exposure.

Cheers

Garry
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: dmilligan on August 12, 2014, 03:15:01 AM
Try ML expo lock
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: garry23 on August 12, 2014, 03:23:31 AM
 :)
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: garry23 on September 30, 2016, 08:11:23 PM
David

Sorry to be a pain, but I haven't used your module for sometime.

How do you use the ND measure option?

I set the guess Ev and then what?

Cheers

Garry
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: dmilligan on October 01, 2016, 04:20:40 PM
It should tell you what to do on the screen.

This feature is really just if you have an ND filter that you have no idea what strength it is. If you know, then just input it, the measure isn't going to give you something more accurate.
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: garry23 on October 01, 2016, 04:27:30 PM
David

I tried following the (limited) screen instructions and even looked at the code.

In the Menu I put a hint, say, 4Ev (for a 3Ev ND), and move the menu to "Measure ND" and press SET.

It says, "Take a picture without the ND...", which I do.

It takes an image and the above message stays on the screen.

The question is what to do next.

Cheers

Garry
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: dmilligan on October 01, 2016, 06:38:01 PM
Camera? Image review setting in Canon menu? If you know it's a 3 EV ND, why are you even bothering?
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: garry23 on October 01, 2016, 06:45:36 PM
David

I simply wanted to try out the measurement feature: just curious ;-)

Damn!!!!!!!! I had forgotten I switched image review off!!!!!!!!

 :-[

Cheers

Garry
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: garry23 on January 01, 2017, 09:41:33 AM
@David

Hope you can help. I'm using the latest 5D3-123 nightly and 'added in' you Bulb_ND module, but there appears to me a problem, ie API mismatch.

I think your module is looking for an ML menu that isn't there anymore, ie Utilities.

Can you give me some advice please: I would like the Bulb_ND to run in the latest 123 nightly.

Cheers

Garry
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: dmilligan on January 01, 2017, 08:07:18 PM
You'll need to compile the module from the current branch. This module was merged into the mainline, but it's just not set to be automatically compiled and included with the nightly builds.
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: garry23 on January 01, 2017, 08:10:51 PM
David

Thanks for the info. I'm afraid I'm still not up and running with compiling :-(

I guess I'll have to forgo the bulb_ND benifits until the module gets automatically included in the nightlies.

Once again, thanks for the info.

Cheers

Garry
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: dfort on January 01, 2017, 10:07:53 PM
@garry23 -- got to get you up and running with compiling when you get back from your trip.

In the meantime, don't leave home without it!

https://bitbucket.org/daniel_fort/magic-lantern/downloads/bulb_nd.mo.2017Jan01.5D3123.zip

This is just the module that you drop into the ml/modules directory.
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: garry23 on January 01, 2017, 11:11:16 PM
Daniel

Thanks for the effort, but no good :-(

Still says old API and says expecting version 7.1.

Cheers

Garry
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: dmilligan on January 01, 2017, 11:16:39 PM
Still says old API and says expecting version 7.1.
That means you you are not running the latest nightly as you said.
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: garry23 on January 01, 2017, 11:19:11 PM
Well I thought I was, but maybe mucking about and switching between 113, 123, Lua fix, I've just confused myself!

I dig about some more.

Cheers

Garry
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: garry23 on January 01, 2017, 11:35:41 PM
David/Daniel

Damn :-(

It looks like I can't have my cake and eat it!!!

I need 123, for my x2 70-200 F/8 AF.

But I also need the Lua fix (not in the nighties).

I would like Bulb_ND, but this doesn't work in the Lua fix 123 I have.

Bottom line: I'll give up on the Bulb_ND, as all the other 'stuff' is essential to me.

Cheers

Garry
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: dfort on January 02, 2017, 04:48:16 AM
@garry23 -- Don't give up just yet. I re-built the module so try it again. It is rather a pain to compile for the 5D3.123. Seems like that platform tends to be the last one to get on board with the latest features. I'd give you a whole new build but since you already have it working I'd rather not tempt fate.

https://bitbucket.org/daniel_fort/magic-lantern/downloads/bulb_nd.mo.2017Jan01.5D3123.zip
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: garry23 on January 02, 2017, 08:34:26 AM
@dfort

Daniel I owe you a beer :D

That did the trick  :)

I really do need to spend some time and get a compile environment up and running on my Win 10 Laptop. I did try a few months ago, but got myself confused as to how to tap into the various builds, despite pointers from the experts.

As for the 113 vs 123 nighties. I appreciate that 123 has two 'features' that draw users to it, ie F/8 AF for still photographers, and HDMI out a dual monitors for videographers; but it would be good if we could ask the gurus to keep these two 5D3 power houses in step, ie always synced (as far as possible).

I know I'm asking a lot: and I'll say no more.

As for this ML user, I'm now very happy: Lua fix (well enough), F/8 AF, all my scripts working and Bulb_ND  :)

Happy New Year to all the ML community. I truly hope 2017 will take us to new heights.

Cheers

Garry

Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: nbenadom on May 09, 2017, 02:50:04 PM
Hi all.... I haven't been on here for quite a while and am about a year behind with the ML version I've been using. I was reading through the posts and the update logs for the bulb ND calculator. I see 5D3 listed specifically for this module. Does it also work for 6D? I'm trying to figure out which of the newer updates will be best for my uses.

Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: RT-- on June 12, 2017, 12:08:59 PM
I tried this last night and it worked nicely, but on my 6D the focus point selection in live view goes crazy; one click on the pad makes it go all the way to the edge. It doesn't matter if Bulb ND is enabled or not - the only way to stop it is to not load the module.
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: duckied on June 28, 2017, 10:30:20 PM
dmilligan, I am also experiencing the same issues, when loading the module, the auto focus box would pan in that direction you press till it hits the edge. I am using a 5d2.
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: theherrieds on August 19, 2017, 02:59:02 AM
Does this work for the 6D? I don't see any indication that it does.
I installed the module in the ML/Modules and when I go into
the shoot tab in my camera, I don't see anything about the Bulb ND
Title: old API version
Post by: grunix on February 18, 2018, 09:28:03 AM
Since the last update of my 70D (2018-02-17) the module is complaining about an old api version (v6.0 instead of v7.0).

Please provide an update of my favorite module.

Thanks in advance!
Title: Re: Bulb utilities for ND and long exposure photography (bulb_nd)
Post by: oeci on January 14, 2019, 03:29:42 AM
On the 6D this module kills the live view focus functionality. As soon as it (the module) is activated the focus box in live view moves across the whole screen when an arrow key is pressed instead of moving in small steps only. This makes it impossible to exactly pick a focus point. As soon as the module is deactivated and the camera rebooted everything is back to normal.