The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,262 other subscribers

Archive for July 26th, 2013

Delphi: do not do “if (not DirectoryExists(path)) then ForceDirectories(path))”

Posted by jpluimers on 2013/07/26

During code reviews, I often see people do things like this:

if (not DirectoryExists(Path)) then
  ForceDirectories(Path))

or this:

if (not TDirectory.Exists(Path)) then
  TDirectory.CreateDirectory((Path))

Half a year ago, I wrote about .NET/C#: do not do “if (!Directory.Exists(path)) Directory.CreateDirectory(path))”. Read the rest of this entry »

Posted in Delphi, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Development, Software Development | 16 Comments »

Nikon D700/D300/D300s/… 3D auto track Autofocus Settings

Posted by jpluimers on 2013/07/26

One of the nicest tips ever for shooting with Nikon D700/D300s/D300:

By setting the Custom Setting Menu a3 (Dynamic AF Area) to 51 Points (3D Tracking) in AF-C and the Crosshair mode, your manually-chosen AF point will magically move all around the frame tracking your subject! You’ll see it move all around, and it really works. This only works in the Crosshair and AF-C mode; it doesn’t move around in the Big White Rectangle, Tit or AF-S modes.

This tracking mode gives us another way to shoot if you don’t want to select a single AF sensor near your subject. If you prefer, you can autofocus with the center sensor, and in this 51-point 3D tracking mode, keep your finger on the shutter and the AF area will move all by itself, tracking the subject as you recompose!

So:

  1. Set your auto focus menu a3 to be “51 Points (3D tracking)”
  2. Set your auto focus switch to Continuous
  3. Focus a focus point to a part of your composition you want to be sharp

If the part moves, or you recompose, the focus point will automatically adjust.

–jeroen

via: Nikon D700 Autofocus Settings.

Posted in Nikon, Photography, Power User | Leave a Comment »