Go to the Photo Shooting Menu > Focus shift shooting. Set "Number of shots" to 50, "Focus step width" to 4. Put the camera on a tripod. It will automatically take 50 shots, moving the focus plane from front to back. This is pro-level product photography that costs thousands in software alone—and the D850 does it natively.
: Set to OFF if you plan to edit in Lightroom (to avoid double-correction).
The Nikon D850 is a powerful camera that offers exceptional image quality, impressive autofocus, and robust feature set. To help you get the most out of your camera, here are some resources:
: The most comprehensive source for technical details, including initial setup, menu options, and advanced shooting techniques. Nikon Download Center - D850 User Manual Nikon D850 Online Manual (HTML)