Skip to content

mmspg/point-cloud-web-renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Point cloud web renderer

In this repository, an open-source web-based point cloud renderer is released. The software is developed on top of the well-established three.js library, ensuring compatibility across different devices and operating systems. The renderer supports visualization of point clouds with real-time interaction, while viewing conditions can be configured. The user is able to choose between either an adaptive, or a fixed splat size rendering mode in order to display the models. The renderer supports both PLY and PCD point cloud file formats. The current settings have been optimized for voxelized contents, without this limiting its usage, since any point cloud can be displayed independently of its geometric structure (i.e., regular or irregular). The source code is made publicly open for future extensions and refinements.

In this repository, three applications of the point cloud renderer are provided. In particular:

  • pointCloudViewer: Standalone viewer of a single point cloud model. Several models can be sequentially displayed, if specified by the user.
  • pointCloudQualityAssessmentTestbed: Side-by-side viewer of point clouds, including annotation of the models and a panel for rating. This testbed was used for the subjective evaluations of [1].
  • pointCloudViewGrabber: Tool to either reproduce the session of a user, or to display pre-defined views of a model. This tool was used to obtain projections of the point clouds under assessment, before computing the projection-based objective quality metrics in [1].

Additional folders:

  • assets: Contains two sub-folders, namely, models and pointsize. The former contains the point cloud models under inspection, while the latter carries meta-data files related to the points size of each model.
  • thirdParty: External libraries that the software depends on (i.e., dependencies).

Information related to a model, the rendering parameters, the viewing conditions, and interactivity settings can be adjusted through configuration files in each application. Examples of usage are provided.

alt text *Example of the subjective quality assessment testbed. The depicted point cloud is part of the M-PCCD dataset (original model source: link, creator: Megan Bystricky, license: CC Attribution).

Dependencies

The three.js library is a dependency of the software. The necessary scripts are included in the thirdParty folder. Note that only one version is provided in the most recent commit (r128). The authors developed and used the software based on an earlier version, namely three.js-r97. In order to access this version, please refer to the first release (v1.0). Although the software is now compliant to a later version, namely three.js-r128, no extensive experimentation and testing has been conducted.

Same-origin policy

In order to load external files (i.e., models, meta-data, config files, etc.) in the renderer and avoid browsers' security restrictions, you should run the software from a local web server.

Application

The software ran on top of three.js-r97 and the authors used Google Chrome browser and MAMP local web server environment in the context of [1]. For more information about the selected viewing conditions and rendering parameters (i.e., rendering mode, canvas size, screen resolution, etc.), the reader can refer to [1].

Conditions of use

If you wish to use this software in your research, we kindly ask you to cite [1].

References

[1] Alexiou, E., Viola, I., Borges, T., Fonseca, T., De Queiroz, R., & Ebrahimi, T. (2019). A comprehensive study of the rate-distortion performance in MPEG point cloud compression. APSIPA Transactions on Signal and Information Processing, 8, E27. doi: 10.1017/ATSIP.2019.20