Skip to content

Instantly share code, notes, and snippets.

@ryanmeasel
Created May 22, 2018 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanmeasel/906d6d59685b72029f75fa19342ac65a to your computer and use it in GitHub Desktop.
Save ryanmeasel/906d6d59685b72029f75fa19342ac65a to your computer and use it in GitHub Desktop.
Loading Point clouds in Unity
  • Import the PCX Unity Package.
  • Drag a PLY point cloud into the project. The plugin will automatically convert it to a GameObject. This takes some time during which Unity will hang. The resulting GameObject will be in the same directory as the PLY.
  • Add the GameObject to your scene.
  • If the point cloud is a right-handed coordinate frame, negate the scale of the Z axis to flip it to Unity's left-handed system. This parameter is accessible through the Transform component on the GameObject.
  • It may also be necessary to rotate 90 degrees around an axis depending on which axis is "up" in the point cloud coordinate frame.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment