- Notifications
You must be signed in to change notification settings - Fork31
A plugin for Grand Theft Auto V that generates a labeled LiDAR point cloud from the game environment.
License
UsmanJafri/LiDAR-GTA-V
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A plugin for Grand Theft Auto V that generates a labeled LiDAR point cloud from the game environment.
- InstallScriptHookV following its accompanying instructions
- Copy-paste
LiDAR GTA V.asiand theLiDAR GTA Vfolder from the latestrelease into your GTA-V directory (the folder containingGTAV.exe)
Navigate to
#your_game_directory#/LiDAR GTA V/LIDAR GTA V.cfgand edit the parameters as needed. The parameters include: Horizontal FOV, Vertical FOV, Range, Density and Output filenameStart up GTA-V in story mode
Press
Vto cycle through camera modes until first person mode is enabledPress
F6to generate a LiDAR point cloud of the world.Output file is located under
#game_directory#/LiDAR GTA V/#your_chosen_filename#.plyThe output is a Polygon File Format (.PLY) file containing only vertex data
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 It is recommended to useCloudCompare (an open-source point-cloud viewer) to view the PLY file generated byLiDAR GTA V
You will need Visual Studio 2019 or higher to open this project
The project requires theDesktop development with C++ workload to be installed in Visual Studio
The project is targetted at Visual Studio Platform Toolsetv142
To make development easier, the project will automatically copy the compiledLiDAR GTA V plugin to the directory
D:\Games\GTAV\after buildingYou may want to set this path to point to your GTA-V installation directory. This can be done by right-clickingLiDAR GTA V in theSolution Explorer and editing the
Command Linefield underConfiguration Properties -> Build Events -> Post-Build Event -> Command Line
- Any contributions to the project are welcomed, it is recommended to use GitHubPull requests
- Native Trainer (a ScriptHookV sample) was used as a starting point to import configuration
- You are free to use this project in your work. However acknowledgement and a link to this repository would be greatly appreciated. If you do use this project in your work, I would love to hear about it, please drop me an email at
19100135@lums.edu.pk - The LiDAR-GTA-V source code is licensed under theMIT license. Source content taken from other projects is tagged with the respective licenses wherever found
About
A plugin for Grand Theft Auto V that generates a labeled LiDAR point cloud from the game environment.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.


