CristobalBL / pointcloud-unity-example

This example project show how create a simple point cloud into Unity (Windows and Android)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pointcloud-unity-example

This example projects show how create (PointCloudExample) and load (PointCloudModelVisualizer) a point cloud with Unity (Windows and Android).

Point Cloud Example

Create a cube type mesh and render it using a point cloud shader.

Point Cloud Model Visualizer

Using a script to read .obj files, an object model is loaded and rendered with the point cloud shader.

The .obj files must have the following vertex structure:

.... v v0 v1 v2 c0 c1 c2 ... ....

ci : color vi : vertex coordinate i

Resources used

Android Camera Control from Simple Touch Camera Script Asset:

https://assetstore.unity.com/packages/tools/camera/simple-touch-camera-script-14489

Point Cloud Shader from:

http://www.kamend.com/2014/05/rendering-a-point-cloud-inside-unity/

Simple File Browser:

https://assetstore.unity.com/packages/tools/input-management/simple-file-browser-98451

How create Unity Project into GitHub:

https://www.youtube.com/watch?v=qpXxcvS-g3g

Output example

Results from Unity Editor

Built With

  • [Unity] (https://unity3d.com/) Unity is the creator of the world’s most widely used real-time 3D (RT3D) development platform, giving developers around the world the tools to create rich, interactive 2D, 3D, VR and AR experiences.

Authors

About

This example project show how create a simple point cloud into Unity (Windows and Android)


Languages

Language:C# 96.9%Language:ShaderLab 3.1%