Friday, January 13, 2012

Virtual Rangefinder in Unity3D



Over  900 individual collider-detecting raycasts

Covers a 45° by 45° Field of View square

Each point is saved as a Cartesian coordinate

Point Cloud generated from one iteration of the rangefinder. Every individual raycast is attributed to only one point


Sample Scene. Simple lighting, simple geometry

Green lines represent raycasts. Over 400 done in this frame.


Resulting Point Cloud


Sample Scene

Resulting Point Cloud

Overlapped

Multiple iterations will provide more accurate Point Cloud

Also works on models.

Result

No comments:

Post a Comment