Skip to content

egemenertugrul/PointCloudPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Point Cloud / Volumetric Video Player for Unity

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

Minimum Requirements

  • Unity 2019.4

Installation

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",
    ...

Asset Package

Download and install the latest .unitypackage from Releases.

Demo

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
...

How the .PLY dataset was recorded

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.

About

Point cloud / volumetric video player for Unity

Resources

Stars

Watchers

Forks

Packages

No packages published