Point Cloud Plugin

Was this a new project or converted from v0.5.5?
Which engine version?
Any chance you could send me the log file?

Wasnā€™t a new project, previously 0.5.5. UE 4.22.1.
I can send log file, where would that be located? Also, should I be converting from 0.5.5 in particular manner?

Should be just a drop in replacement for the previous version (unless I missed something).
The logs are located under PROJECT_FOLDER\Saved\Logs. Please send me the latest one following the fatal error you mentioned (usually PROJECT_NAME.log). Thanks!

Ran another build with just one cloud loaded via streaming. Map loads successfully ā€” as soon as you enter the streaming volume though the ā€œFatal Error !ā€ dialog appears.

Iā€™m trying to use the 0.5.6-4.22 plugin in 4.22.1, but my point cloud only shows up as black specs, no color. when I load it in CloudCompare, the color shows up fine. Iā€™ve tried adjusting various settings and canā€™t seem to get color. Suggestions?

Hi there,

  • What format is the cloud you imported?
  • When you open the asset, does it say it has any color information?
  • Do you have any lighting set in your level? If not, try switching the cloud to Unlit mode

The file is a [FONT=courier new].las. I was able to get it working by loading it in CloudCompare, then saving it out as a [FONT=courier new].las again. Iā€™m guessing it must be some sort of older version which is not supported by the plugin on import. When I opened it prior to the conversion, everything appeared correct except for the lack of color. I had created a VR starter project and trashed the existing level objects and dropped in the point cloud, so the default skybox, light, etc.

Very strange. The plugin should support all versions of the las files.
Any chance you could send me the original cloud you imported, for testing?

Unfortunately, I think the dataset is company proprietary. =/ Iā€™ll see if I can get something which exhibits the same behavior.

Point Cloud Plugin v0.5.7](http://pointcloudplugin.com)
Release Notes

Fixes

  • Fixed Fatal Error when streaming levels with clouds

I get an instant crash when I try do drag this example point cloud into a level:
4.22
0.5.7b

https://www.navvis.com/m6-pointclouds

Hi @The_Distiller

This is because the* v0.5.X* canā€™t really handle > 61M points.
Please try the new v0.6, as it should give you much better results :slight_smile:

It does indeed, thanks!

This plugin is a great addition to UE4ā€™s toolsets. Have managed to pull in a >90M point cloud without a hitch. One question I just have:

  • Is there any way to support point cloud display in orthographic views at all?

PS - Awesome keep up the great work!

Hi! Great to hear you enjoy my work, thank you! :slight_smile:

Yes, the orthographic view is already supported, but the binary versions of the plugin are a little behind the code version. If you are working with a code-based project just download the version from GIT repo. Otherwise, youā€™ll have to wait few days or so until I update the binaries :slight_smile:

Awesome - thanks - will download it from the repo and give that version a go.
Have been doing some comparisons with a Revit model where I have translated and aligned the point cloud to match a model and noticed that the translations donā€™t match up. Saying that the file in Revit is a recap one whilst the Point Cloud Plugin is using an xyz file (so the delta could have been introduced there).

Is there any translation done to the point cloud data in UE4 or should the coordinates tie through between scan and point in UE4?

EDIT - I just realised that it was my issue translating it rather than the plugin. The 2D ortho view support in the latest code build helped me realise!

The cloud is centered to avoid precision loss as much as possible, then scaled x100 to match UE4ā€™s units. How large is the discrepancy - could you screenshot it?

I had thought ā€œpreserve original coordinatesā€ fixed this however digging deeper, thatā€™s not the case.

Due to project I canā€™t send a screenshot, however I can give you difference in translation:

Transform required to align with model in Revit
X: 2447.94
Y: 233
Z: 19123.4

ZRot: -21.986Ā°

Transform applied to PC to align with same Revit model in UE4
X: -2279.4526367
Y: 113.6130219
Z: 1912.3399658

ZRot: -21.9860001Ā°

Looks like the X and Y are off by a bit.

Btw - looking at performance in VR, I noticed that there is quite a drop in framerate - more than what appears to be in the editor - at runtime. Any ideas for optimisation? For comparison, Faroā€™s Scene software also works with point cloud data and appears to have some pretty good optimisation.

Perhaps is there a way to optimise to show more points at the centre of the view in VR (or even a foveated approach) to increase apparent visual fidelity whilst increasing performance?

Enabling** Preserve Original Coordinates** will skip centering of the cloud. Be careful though, if the cloud uses very large values for XYZ data, it is likely to introduce precision loss, as internally, the data is stored as 32-bit (there are a number of reasons for it). However, this usually manifests itself as point ā€œbandingā€ rather than just an offset.

With regards to the performance
VR is inherently more performance-hungry, so Iā€™m not surprised it drags the framerate down. Unfortunately, I havenā€™t used Faro, so cannot speculate on their optimizations.

If possible, I would advise to:

  • Disable shadow casting on Point Clouds
  • Opt to use Eye-Dome Lighting instead of Ambient Occlusion: LiDAR Point Cloud: Eye-Dome Lighting
  • Tweak the Point Budget and Min Screen Size properties, while also compensating with Sprite Size Multiplier to try to achieve better overall performance without noticeable loss in appearance

The option to concentrate selected point budget towards the screen center is already on the todo list and should provide better results. In addition, Iā€™m exploring some other techniques to use the available rendering resources more efficiently :slight_smile: