Point Cloud Player (PCP) is a tool for reading & playing series of .PLY files as point clouds / volumetric videos. It can import .PLY files on-the-fly from Local
, Remote
, and StreamingAssets
sources and display through the native particle system.
PCP uses a modified version of PlyImporter.cs
from keijiro/Pcx.
Desktop / Editor | Augmented Reality |
---|---|
- Unity 2019.4
Use the scoped registry feature to import the packages.
Add the following in the package manifest file Packages/manifest.json
To the scopedRegistries
section:
{
"name": "egemenertugrul",
"url": "https://registry.npmjs.com",
"scopes": [ "com.egemenertugrul" ]
}
To the dependencies
section:
"com.egemenertugrul.pointcloudplayer": "1.0.17",
The manifest file should look like:
{
"scopedRegistries": [
{
"name": "egemenertugrul",
"url": "https://registry.npmjs.com",
"scopes": [ "com.egemenertugrul" ]
}
],
"dependencies": {
"com.egemenertugrul.pointcloudplayer": "1.0.17",
...
Download and install the latest .unitypackage from Releases.
You can try replaying the basketball pick-up game recording.
-
Copy the
/Runtime/PointCloudPlayer_ExampleScene.unity
scene to a directory under/Assets/
and open. -
Download the demo .ply dataset.
-
Unzip to the
/StreamingAssets/
. The file structure should look like this:
/StreamingAssets/Basketball_PLY/Cam1/
/StreamingAssets/Basketball_PLY/Cam1/2022-07-22_15-52-41_0000.ply
/StreamingAssets/Basketball_PLY/Cam1/2022-07-22_15-52-41_0001.ply
...
/StreamingAssets/Basketball_PLY/Cam2/
/StreamingAssets/Basketball_PLY/Cam2/2022-07-22_15-52-41_0001.ply
/StreamingAssets/Basketball_PLY/Cam2/2022-07-22_15-52-41_0001.ply
...
The recordings were done using iPi Recorder 4 with two KinectV2's facing each other.
Later, they recordings were exported as .PLY files using the Biomech add-on in iPi Mocap Studio 4. Since no prior calibration was performed on the iPi side, transformations between the two cameras/recordings were manually adjusted in the Unity scene.
A non-proprietary solution would definitely be more welcome for the future of this project.