Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zhuowei/VisionOSStereoScreenshots

Take 3D stereoscopic screenshots in the visionOS emulator.
https://github.com/zhuowei/VisionOSStereoScreenshots

Last synced: about 1 month ago
JSON representation

Take 3D stereoscopic screenshots in the visionOS emulator.

Awesome Lists containing this project

README

        

Take stereoscopic (3D) screenshots in the visionOS simulator.

![example screenshot](https://github.com/zhuowei/VisionOSStereoScreenshots/assets/704768/c9945210-eaf8-4a59-90da-5a0787b25598)

An example screenshot from the visionOS simulator in side-by-side stereo.

Tested on macOS 14 beta 2 / Xcode 15 beta 2.

## Setup

### Non-Metal Immersive apps

```
./build.sh
./inject.sh
# this resprings the simulator
```

### Metal Immersive (CompositorService) apps

TODO

## Usage

### Non-Metal Immersive apps

```
./screenshot.sh
```

Screenshots are saved in `/tmp/visionos_stereo_screenshot_{time}.png`.

### How it works

This hooks CompositorService to give backboardd an extra right eye view to render.