This repository contains the code used in the tutorial for Creating a Depth Map Viewer: A Step-by-Step Guide., The tutorial provides a step-by-step guide on how to build a depth map viewer, using a trimmed version of the Depthy library.
To get started, clone this repository onto your local machine. You can do this by running the following command in your terminal:
bashCopy code
git clone https://github.com/salvatore356/BasicDepthmapViewer.git
The dependencies required to run this code are pixi.js
and DepthyViewer.js
, which are included in the assets/js
folder.
Once you have cloned the repository and installed the dependencies, open the index.html
file in your browser to view the depth map viewer.
You can customize the viewer by modifying the setImage
and setDepthmap
methods in the index.html
file.