Comparison of point cloud visualization nodes in X3D

All based on a common data set of 2488 points, each point with associated normal direction coordinates and RGB color triple. This cloud is a random sample of the point cloud used to construct mesh model at https://www.kshell.com/pages/archimedes/index9.html

Download point cloud file [179 kB] pointset_2500.asc Text file, 1 point per line, 9 space delimited columns, column ordering X Y Z Nx Ny Nz R G B

X3D v3.3 PointSet rendering

Visualization using standard PointSet node with color assigned to each point

Download X3D File [129 kB]: pointset_archie.x3d

Your browser may not support all features required by X_ITE. For a better experience, keep your browser up to date. Check here for latest versions.

DirectedPointSet rendering

DirectedPointSet is a Prototype node based on the X3D Mesh Design Pattern, a node combining a Coordinate node and a Normal node intended to represent a direction at each point of the cloud.

The Prototype used in this model uses a Script node as part of the Prototype body to prepare a LineSet node from the coordinate and vector data. Color-per-vertex data is ignored, replaced by LineProperties specified in the ProtoInstance declaration.

Download X3D File [136 kB] pointset_archie_dps.x3d

Your browser may not support all features required by X_ITE. For a better experience, keep your browser up to date. Check here for latest versions.

PointProperties rendering

Rendered with the Xj3D implementation of the PointProperties node proposed for X3D v4

Download X3D File [129 kB] pointset_archie_pp.x3d

Screenshot of Xj3D rendering:

x3d_113x100

The pointSizeAttenuation attribute for the PointProperties node was specified to provide a 1/(distance)^2 dependence of rendered point size -- results shown in this zoomed-in screenshot:

x3d_113x100