This repository contains a Unity package nl.cwi.dis.cwipc
that allows
capture and display of point clouds and various operations such as
compression for transmission, reading and writing to disk, etc.
Intel Realsense and Azure Kinect RGBD cameras are supported, but you can test your software without access to such hardware by using our synthetic point cloud source (which generates an approximately human sized point cloud).
Samples are provided to use live point clouds as your representation in shared games or other activities: you can be yourself in stead of an avatar!
These samples work best when used with a VR headset, obviously, but can also be used with a normal screen.
This package is part of the https://github.com/cwi-dis/cwipc cwipc pointcloud suite.
- You must first install the
cwipc
libraries, utilities and dependencies onto your computer. Follow the instructions on https://github.com/cwi-dis/cwipc- When developing for the Oculus Quest you do not have to install the cwipc libraries for the Quest: those are already included in this package. But you probably want to install the libraries for your desktop platform, so you can test your app from within the Unity Editor.
- Create a new Unity project. You could clone https://github.com/cwi-dis/cwipc_unity_sample to get started.
- If you want to use the VR samples it is better to first enable the XR Loader, OpenXR and the OpenXR device profile for the device you are going to use. You should also install the XR Interaction Toolkit.
- In the Unity Package Manager, do Add Package by URL and use the URL
git+https://github.com/cwi-dis/cwipc_unity?path=/nl.cwi.dis.cwipc
You should probably install the Simple Samples and (if you want to use point clouds in VR) the VR Samples:
- Documentation for [Simple Samples](Samples~/Simple point cloud samples/readme.md)
- Documentation for [VR Samples](Samples~/VR point cloud extensions/readme.md)
See documentation.