Loading...

LiDAR GTA V 1.2

477103 lidar sample   traffic
477103 lidar sample   test area
477103 lidar sample   michael home

704

LiDAR GTA V (https://github.com/UsmanJafri/LiDAR-GTA-V)
============================
An open-source plugin for Grand Theft Auto V that generates a labeled LiDAR point cloud form the game environment.

Requirements

- Grand Theft Auto V
- ScriptHookV

Installation

1. Install ScriptHookV following its accompanying instructions
2. Copy-paste LiDAR GTA V.asi and the LiDAR GTA V folder into your GTA-V directory (the folder containing GTAV.exe*)

How to use

1. Navigate to #your_game_directory#/LiDAR GTA V/LIDAR GTA V.cfg and edit the parameters as needed. The parameters include: Horizontal FOV, Vertical FOV, Range, Density and Output filename
2. Start up GTA-V in a story mode
3. Press V to cycle through camera modes until first person mode is enabled
4. Press F6 to generate a LiDAR point cloud of the world
5. Output file is located under #game_directory#/LiDAR GTA V/#your_chosen_filename#.ply
6. The output is a Polygon File Format (.PLY) file containing only vertex data.
7. Vertex Color Code:

| Vertex Color | Label |
|------------------|---------------------------------------------------------|
| Red | Vehicle |
| Green | Humans and Animals |
| Blue | Game props |
| White | Road, Buildings and other hitable textures |
| Black | No hit |

8. It is recommended to use CloudCompare (an open-source point-cloud viewer) to view the PLY file generated by LiDAR GTA V.

Contributing

- Source Code: GitHub
- You will need Visual Studio 2019 or higher to open the project
- Any contributions to the project are welcomed, it's recommended to use GitHub Pull Requests

Acknowledgements

- Native Trainer (a ScriptHookV sample) was used as a starting point to import configuration.

Changelog

v1.2 - Optimization - camera coordinates and rotation parameters are now fetched once rather than on every ray cast
v1.1.0 - Added ability to customize LiDAR parameters
v1.0.9 - First public release
Show Full Description

First Uploaded: 03. avg 2018
Last Updated: 24. nov 2020
Last Downloaded: 10 dni

All Versions

 1.2 (current)

243 downloads , 200 KB
24. nov 2020

 1.1.0

377 downloads , 200 KB
05. avg 2018

 1.0.9

84 downloads , 100 KB
03. avg 2018

22 Comments