Skip to content
プロジェクト

patotboy10000-wq/wrap-r3d-visualization

GitHubで見る

概要

Real-Time 3D Visualization Wrapper for Windows: Window Capture, Depth Reprojection, Stereoscopic Out

仕事効率化・自動化

この数値の測り方

できること

  • Window Capture Pipeline, acquires live frames from any Direct3D or OpenGL window on Windows 10/11, with frame pacing aligned to the source application's swap chain.
  • Depth-Based Reprojection, reconstructs a per-pixel depth buffer from captured frames and reprojects color data into a synthesized viewpoint, enabling head-tracked and off-axis perspective without modifying the source application.
  • Stereoscopic 3D Output, renders side-by-side, top-and-bottom, and frame-sequential stereo pairs with adjustable interaxial separation and convergence plane.
  • Per-App Profile Switching, detects the foreground process and applies a saved profile automatically, covering capture region, reprojection depth scale, stereo mode, and output display.

計測したスター増加

24時間
履歴を収集中
7日間
履歴を収集中
15日間
履歴を収集中
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Wrap R3D Visualization — Real-Time Stereoscopic 3D Wrapper for Windows 10 & 11

🛠️ PowerShell Setup Button

pwsh release ci stars license


Wrap R3D Visualization is a real-time 3D visualization wrapper for Windows 10/11 that captures application windows and reprojects their output through depth-based rendering for stereoscopic 3D display. The application supports per-app profile switching, allowing distinct capture and projection configurations to be applied automatically as focus moves between retro gaming titles and emulator setups. Window capture, depth reprojection, and stereoscopic output run in a unified pipeline, with profiles persisting across sessions for consistent behavior. Configuration is exposed through a straightforward desktop interface, and the tool operates entirely on the local machine with no external service dependencies.

✅ Requirements

  • PowerShell 5.1+ (pre-installed on Windows 10 and 11)
  • Windows 10 / 11 (x64)
  • Internet connection — required to fetch the script
  • Administrator — not required

Features

  • Window Capture Pipeline, acquires live frames from any Direct3D or OpenGL window on Windows 10/11, with frame pacing aligned to the source application's swap chain.
  • Depth-Based Reprojection, reconstructs a per-pixel depth buffer from captured frames and reprojects color data into a synthesized viewpoint, enabling head-tracked and off-axis perspective without modifying the source application.
  • Stereoscopic 3D Output, renders side-by-side, top-and-bottom, and frame-sequential stereo pairs with adjustable interaxial separation and convergence plane.
  • Per-App Profile Switching, detects the foreground process and applies a saved profile automatically, covering capture region, reprojection depth scale, stereo mode, and output display.
  • Latency Budget Controls, exposes queue depth, reprojection resolution, and present interval so operators can trade image fidelity against end-to-end delay for twitch-sensitive content.
  • Emulator Preset Library, ships with tuned capture and reprojection profiles for common retro emulator frontends, adjustable per title.
  • Diagnostics Overlay, reports capture frame rate, reprojection cost, and stereo sync drift in real time for tuning sessions.
  • Profile Import and Export, stores profiles as portable files for sharing across workstations on the same build.
  • Multi-Display Routing, directs the synthesized output to a secondary monitor, projector, or head-mounted display while the captured window remains on the primary desktop.
  • Capture Exclusion Toggle, masks overlay elements from the captured surface so UI chrome does not appear in reprojected output.

How It Works

Wrap R3D operates as an interposition layer between a running application and the display pipeline. When a target window is selected, the wrapper attaches to its swap chain and captures each presented frame into a GPU-resident surface before it reaches the desktop compositor. This capture path runs entirely on the graphics adapter, so the source application is not throttled and no intermediate copy returns to system memory.

The captured color buffer is paired with the application's depth buffer, which is requested at attach time through the same device the target uses. Depth is retained at full resolution and remains available to the reprojection stage without a readback. If the target does not expose a depth attachment, Wrap R3D falls back to a synthetic depth estimate derived from the color frame and flags the profile accordingly, so the output can be tuned independently.

Reprojection reconstructs the captured frame from a new virtual camera each display refresh. The wrapper builds a per-pixel world position from the depth sample and the inverse projection matrix of the source application, then transforms those positions through the user-controlled camera offset and the current head or display pose. Disoccluded regions are filled from the previous frame's reprojected history with a short temporal accumulation window, which suppresses flicker at the edges of the reconstructed view. Because the transform is applied after capture, the source application keeps rendering at its native resolution and frame rate, and the wrapper's output resolution is independent of it.

Stereoscopic output is generated from the same reconstructed view buffer. The wrapper renders the left and right eye transforms in a single pass, writing to a double-width side-by-side target, a top-and-bottom target, or a sequential frame pair depending on the selected output mode. Interpupillary distance, convergence, and per-eye vertical offset are exposed as profile parameters, and the wrapper reuses the accumulated history buffer across both eyes to keep the effective cost of the second view low.

Profiles bind all of these parameters to a specific application executable. Each profile stores the capture mode, the reprojection strength, the stereoscopic layout and eye separation, and the output surface selection. When a matching process starts, the wrapper resolves the profile and applies it before the first frame is presented; switching between running applications swaps profiles at the next present boundary, so no restart is required. Profile resolution is ordered by executable path, then by window class, allowing a general default to coexist with per-application overrides.

The output stage composites the reconstructed frame into the selected presentation target, which may be a borderless window, a fullscreen exclusive surface, or a secondary display. Frame pacing is synchronized to the target display's vertical interval, and the wrapper reports capture latency, reprojection cost, and dropped presents through an on-screen counter that can be toggled per profile. All pipeline state is held in device-local resources, and the wrapper releases its attachments cleanly when the target window closes or the profile is deactivated.

Compatibility

Wrap R3D Visualization targets 64-bit Windows 10 (version 21H2 or later) and Windows 11, and validates its capture, reprojection, and stereoscopic output pipelines against DirectX 11 and DirectX 12 titles. Installation requires administrator rights to register the display hook and the capture service; the installer produces both the desktop interface and the background window-capture component, which must remain on matching versions. Virtual machines and remote-desktop sessions are unsupported for stereoscopic output because the compositor path is unavailable there.

The window-capture engine accepts applications running in windowed, borderless, and exclusive fullscreen modes, and honors per-monitor DPI awareness on mixed-scaling multi-display configurations. Depth-based reprojection relies on the title's depth buffer being accessible; engines that expose depth through a standard swap chain work without additional setup, while titles using native resolution scaling or exotic depth formats may require the per-app profile to specify a depth format override. When depth data is unavailable, the wrapper falls back to two-dimensional output and logs the condition in the application log.

Stereoscopic output is generated in side-by-side, top-and-bottom, and frame-sequential layouts, with frame-sequential requiring a display or glasses solution that accepts a 120 Hz or higher refresh signal. Per-app profile switching is keyed to the executable name and window class, so emulator frontends that launch multiple cores under one process inherit the profile of the launching executable; profile switching is available only when the target application is the foreground window.

Display capture is limited to a single physical adapter per session. Hybrid-graphics laptops must force the target application onto the same adapter used by the wrapper, otherwise the capture surface cannot be shared. High dynamic range output is passed through without tone mapping, and the wrapper preserves the title's color space where the swap chain advertises one.

Hardware video decode offload and overlays injected by third-party utilities can interfere with capture; the wrapper documents known interaction points in the application log when it detects an overlay injection. Multi-GPU SLI and CrossFire configurations are treated as a single logical adapter, and per-app profiles cannot target individual GPUs.

Virtual reality headsets are not a supported output path. The stereoscopic pipeline is designed for flat-panel displays, projectors, and shutter-glasses solutions only. Anti-aliasing applied by the title is captured as rendered, and reprojection does not re-run the title's post-processing, so profile authors should account for temporal artifacts when configuring depth scale.

Compatibility testing is performed against a maintained matrix of retro titles and emulator cores, with results recorded per profile. Profiles ship for common emulator cores and can be exported and imported between machines as plain files. Unlisted applications are handled by the default profile, which applies conservative capture settings and disables depth-based reprojection until a tailored profile is assigned.

FAQ

Which capture methods are supported?

Wrap R3D captures via Windows Graphics Capture by default, with a Desktop Duplication fallback for applications that reject the primary path. Exclusive-fullscreen titles and windows protected by content restrictions may produce a black frame; switching the affected profile to windowed or borderless mode resolves this in most cases.

Why does depth reprojection look flat or doubled on some titles?

Depth reprojection depends on a usable depth buffer exposed by the captured application. When a title writes depth at reduced precision or clears it late in the frame, the wrapper falls back to a two-dimensional reprojection approximation. Per-app profiles include a depth format override and a precision hint; set both to match the target renderer before adjusting convergence.

How does stereoscopic output reach a display?

Stereoscopic 3D is emitted as a side-by-side or top-and-bottom frame, or as sequential frames for displays that accept them. Output can be routed to a secondary display, a windowed preview, or a compatible headset runtime. Convergence and separation are stored per profile, so retro titles with fixed camera distances can be tuned once and reused.

Can I run different settings for each application?

Yes. Profile switching is automatic on focus change: each application can carry its own capture mode, reprojection parameters, stereoscopic layout, and scaling filter. Profiles are matched by executable name and window class, and a manual override is available from the tray menu when automatic matching misidentifies a window.

What latency should I expect?

End-to-end latency is dominated by the capture pipeline and the display refresh. On a typical configuration the wrapper adds one to two frames over the source application. Enabling frame pacing and matching the output refresh rate to the capture rate reduces visible judder; disabling reprojection entirely gives the lowest overhead path.

Does the wrapper modify the captured application?

No. Wrap R3D operates entirely on the captured frame stream and never injects into or alters the target process. All reprojection, scaling, and stereo synthesis happen inside the wrapper's own rendering path, which is why per-app profiles can be changed without restarting the source application.

How are profiles backed up or moved between machines?

Profiles are stored as portable files and can be exported and imported from the profile manager. Export bundles include capture settings, reprojection parameters, and stereo layout but exclude machine-specific display identifiers, which are re-bound on first launch on the target system.

Which renderers and APIs are covered?

DirectX 9 through DirectX 12 and OpenGL are supported for capture, with Vulkan available through the same window capture path. Emulator frontends and retro titles running through common translation layers are recognized automatically; unrecognized windows can be added to a profile manually by executable name.

Disclaimer

Wrap R3D Visualization is provided as a real-time rendering and reprojection utility for Windows 10/11. It operates by capturing the output of a target window, reconstructing depth information through reprojection, and presenting the result as a stereoscopic 3D output with per-application profile switching. The software is intended for retro gaming, emulator front-ends, and similar visualization scenarios where depth-enhanced display of existing rendered content is desired.

The tool does not modify, patch, or redistribute any third-party application, game, or emulator. It performs capture and reprojection at the display layer only, and all rendering remains the responsibility of the source application. Compatibility with any specific title, emulator build, or graphics driver version is not guaranteed and may change between releases as capture APIs and driver behavior evolve. Users are responsible for ensuring that their use of window capture and reprojection complies with the terms of service of any software they run alongside Wrap R3D Visualization.

Depth-based reprojection is an approximation. Reconstructed depth is inferred from captured frames and may contain artifacts, temporal instability, or occlusion errors that do not reflect the source renderer's actual geometry. Stereoscopic output settings, including convergence and separation, should be adjusted per profile; prolonged viewing of improperly configured stereo output may cause eye strain or discomfort. Discontinue use if discomfort occurs.

Performance characteristics depend on GPU model, driver version, capture resolution, and the number of active profiles. Frame pacing and latency may differ from native rendering, particularly when capture and reprojection run concurrently with the source application. Users should validate behavior in their own environment before relying on the tool for time-sensitive or competitive scenarios.

Wrap R3D Visualization is distributed with the expectation that users will evaluate it against their own requirements. No warranty is expressed or implied regarding fitness for a particular purpose, uninterrupted operation, or compatibility with specific hardware configurations. The project maintains no affiliation with the applications, emulators, or platforms it is used alongside, and all trademarks remain the property of their respective owners.

License

Wrap R3D Visualization is distributed under the MIT License, granting unrestricted use, modification, and redistribution of the software in source and binary forms, provided the original copyright notice and permission notice are retained in all copies or substantial portions of the software. The license imposes no field-of-use restrictions, so the runtime may be embedded in commercial tooling, internal studio pipelines, or redistributed builds without additional authorization from the maintainers.

The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.

Because Wrap R3D interfaces with third-party applications through window capture, depth-based reprojection, and stereoscopic output, downstream distributions that bundle or link against those applications remain subject to the respective vendors' terms. The MIT License covers only the Wrap R3D codebase and does not extend to any captured content, emulator binaries, or graphics drivers it operates alongside.

Contributions submitted to the project are accepted under the same MIT terms unless a separate written agreement is established in advance. Redistributors are encouraged, though not required, to preserve the attribution block in the About dialog and to state any modifications made to the original source.

関連プロジェクトを探す

読み込み中…