Skip to content

How-ToGPU

How to Convert 2D Photos and Videos to 3D for VR With iw3

iw3 is a free, open-source tool that uses AI depth estimation to turn 2D photos and videos into side-by-side 3D for VR headsets and 3D TVs. Following its official documentation, we cover installing it on Windows, choosing a depth model, 3D settings, output formats, test runs and real-time desktop 3D.

By , Systems & Technical Editor

6 min read

How to Convert 2D Photos and Videos to 3D for VR With iw3

iw3 is a free, open-source tool that uses AI depth estimation to turn ordinary 2D photos and videos into side-by-side (SBS) 3D files you can watch on a VR headset, a 3D TV or a 3D projector. It's part of nagadomi's nunif project (the same developer behind waifu2x), runs entirely on your own PC and is released under the MIT licence.

How iw3 works

iw3 does two jobs for every image or video frame. First, a monocular depth estimation model works out how far away each part of the picture is. iw3 can use ZoeDepth, Depth Anything, Depth Anything V2, Depth Pro, Distill Any Depth, Video Depth Anything or Depth Anything 3. Second, a lightweight stereo-generation model uses that depth map to synthesise left-eye and right-eye views, which are saved side by side.

If you only want depth maps rather than 3D video, our guide to running Depth Anything 3 locally covers that separately.

What you need

  • Windows 10 or later is recommended for the Windows package (the documentation lists Windows 7 and later as the minimum). The developer installation also covers Linux and macOS.

  • The Microsoft Visual C++ Redistributable (x64). The Windows package documentation notes that, since a June 2026 update, an outdated version can cause errors.

  • Long paths enabled in Windows, which the installer documentation lists as a prerequisite.

  • A graphics card. The README says the developer tested iw3 on an RTX 3070 Ti (8GB VRAM, Linux) and a GTX 1050 Ti laptop GPU (4GB VRAM, Windows), and that both work with the default settings. NVIDIA is the best-documented path; the README also has troubleshooting notes for AMD Radeon cards, and the nunif README points to separate installation instructions for Intel GPUs.

  • Plenty of disk space and patience. The first run downloads large model files, and converting a full film is a long job.

Step 1: Install the nunif Windows package

  1. Download nunif-windows.zip from the nunif GitHub releases page linked in the Windows package documentation.

  2. Right-click the ZIP, open Properties, tick Unblock under Security and click Apply. This stops Windows SmartScreen warnings for the batch files.

  3. Right-click the ZIP and choose Extract All, for example into a folder under Documents, as the documentation's example does.

  4. Run install.bat. A console window downloads an embedded copy of Python, a minimal Git, the nunif code, its Python dependencies and the pre-trained models into that folder.

  5. When you see "Successfully installed nunif", press any key to close the window.

If SmartScreen still appears, click More info and then Run. The documentation points out that the batch files are plain text you can open in Notepad to check what they do.

Step 2: Open the iw3 GUI and pick a depth model

Run iw3-gui.bat. The first launch can take a long time before the window appears. Choose your input file or folder and an output folder, then pick a depth model.

The README describes Depth Anything Any_S as the most efficient model and Any_L as higher quality but computationally heavy. Some larger models, including Depth Anything V2 Base and Large and Video Depth Anything, are under a non-commercial CC BY-NC 4.0 licence; iw3 asks you to agree to that licence and place those checkpoint files yourself. For Video Depth Anything models, the README strongly recommends turning on Scene Boundary Detection and Flicker Reduction.

Step 3: Set 3D strength and comfort

The most important settings are:

  • 3D Strength (--divergence, default 2.0). Lower values put the best viewing distance further away; higher values bring it closer but make artefacts more visible.

  • Convergence (default 0.5). 0 is good but makes the screen edges hard to view; 1 is the friendliest for curved screen settings in a VR player.

  • Edge Fix (--edge-dilation, default 2). This reduces artefacts where foreground objects meet the background. The README calls 4 the most eye-friendly setting, at the cost of depth accuracy.

  • Foreground scale. Positive values make people stand out more in flat-looking outdoor photos; for video, the default of 0 is recommended.

If everything looks "giant" in the headset, the README suggests adjusting the IPD offset in your VR player first, or using the Your Own Size setting in iw3.

Step 4: Choose an output format for your screen

  • Full SBS is the default and suits VR headsets. When you output to a folder, iw3 adds _LRF_Full_SBS to the filename, which the developer confirmed works with Pigasus, SKYBOX and DeoVR so they detect the 3D format automatically.

  • Half SBS is for older VR devices and many 3D TVs; you may need _3dh_ in the filename.

  • Top-bottom (full or half) can give higher resolution on some passive 3D TVs.

  • VR180, anaglyph (red-cyan glasses) and cross-eyed outputs are also available.

For video, MP4 is the most compatible container and MKV can be previewed during conversion. libx264 is the most compatible encoder; for 4K output, libx265 keeps files smaller. NVIDIA owners can use the h264_nvenc/hevc_nvenc hardware encoders (the README says NVIDIA driver 570 or newer is needed), Intel owners h264_qsv/hevc_qsv, and AMD owners h264_amf/hevc_amf with a recent Adrenalin driver. Our NVENC vs x264 comparison explains the general trade-off between hardware and software encoding.

Step 5: Test on a short sample first

On a slower PC or a long film, the README recommends checking the look before committing to a full conversion. In the command line (run nunif-prompt.bat on Windows), this processes roughly one keyframe every four seconds and saves 3D photos:

python -m iw3 --keyframe --keyframe-interval 4 -i input_video.mp4 -o output_dir/

This makes a 3D slideshow-style video from one frame every two seconds:

python -m iw3 --max-fps 0.5 -i input_video.mp4 -o output_dir/

If you're happy with the result, convert the whole video. Bear in mind that iw3 limits video to 30fps by default. To keep 60fps footage at 60fps, add --max-fps 128; the README notes that 60fps video takes twice as long to process.

Step 6: Watch it on your headset

Copy the file to your headset or stream it from your PC. The developer has tested iw3 output with its own iw3-player (a self-hosted WebXR viewer it recommends for Meta Quest owners), Pigasus VR Media Player and SKYBOX VR Video Player. If you use a PC VR set-up, see how to connect a Meta Quest to a PC.

Bonus: real-time 3D of your whole desktop

iw3-desktop converts your PC screen to 3D in real time and streams it over Wi-Fi to a VR headset's browser. Run iw3-desktop-gui.bat (if it's missing, run update-installer.bat then update.bat), then open the HTTPS address it shows in the headset browser and choose Enter VR. The documentation says it has been confirmed to work with Meta Quest and PICO 4 but not Vision Pro, streams video only (no audio or remote input) and is mainly meant for full-screen photos and videos, since depth estimates for windows and text can be imperfect. It also starts a server with no password by default, so set one with --password if other people use your network.

Troubleshooting

  • CUDA out of memory: use the Low VRAM option (--low-vram). You can check usage with our guide to checking VRAM usage in Windows.

  • Older NVIDIA cards: FP16 can cause slowdowns and errors on GPUs older than the GeForce 20 series; disable it with --disable-amp.

  • NVENC errors: update to NVIDIA driver 570 or newer, and remember hardware encoders have resolution limits (in most cases 4,096 for h264_nvenc and 8,192 for hevc_nvenc).

  • Interlaced sources: add --vf yadif to deinterlace.

  • Updating: run update.bat to pull the latest code; delete the nunif\tmp folder to reset the GUI's saved settings.

The bottom line

iw3 is the best free starting point for turning your own 2D photos and videos into side-by-side 3D for a VR headset or 3D TV: install the nunif Windows package, test a few keyframes with the default 3D Strength and Edge Fix settings, then convert the full video, ideally on an NVIDIA graphics card (the developer's own tests ran on 4GB and 8GB cards).

Sources

  1. 01nagadomi/nunif, iw3 README (GitHub)
  2. 02nagadomi/nunif, nunif Windows package documentation (GitHub)
  3. 03nagadomi/nunif, iw3-desktop documentation (GitHub)
  4. 04nagadomi/nunif, project README and licence (GitHub)

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Add an Exclusion to Microsoft Defender in Windows 11 (Safely)

How-To

How to Add an Exclusion to Microsoft Defender in Windows 11 (Safely)

Microsoft Defender keeps flagging a file you trust? Rather than switching protection off, you can exclude a file, folder, file type or process in Windows Security. Following Microsoft's guidance, we show how to add and remove exclusions, use wildcards safely and what exclusions don't cover.

Marcus Thorne4 min

The Best NVIDIA App Features in 2026: What's Worth Using on a GeForce PC

Best Picks

The Best NVIDIA App Features in 2026: What's Worth Using on a GeForce PC

The NVIDIA App does far more than update drivers. Based on NVIDIA's official pages, we pick the features most worth using on a GeForce PC, from DLSS Override and Smooth Motion to Instant Replay, the performance overlay, RTX HDR and one-click GPU tuning, and explain who each suits.

Hannah Vance4 min