Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A plugin for Grand Theft Auto V that generates a labeled LiDAR point cloud from the game environment.

License

NotificationsYou must be signed in to change notification settings

UsmanJafri/LiDAR-GTA-V

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A plugin for Grand Theft Auto V that generates a labeled LiDAR point cloud from the game environment.

Requirements

Installation

  1. InstallScriptHookV following its accompanying instructions
  2. Copy-pasteLiDAR GTA V.asi and theLiDAR GTA V folder from the latestrelease into your GTA-V directory (the folder containingGTAV.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 story mode

  3. PressV to cycle through camera modes until first person mode is enabled

  4. PressF6 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 ColorLabel
    RedVehicle
    GreenHumans and Animals
    BlueGame props
    WhiteRoad, Buildings and other hitable textures
    BlackNo hit
  8. It is recommended to useCloudCompare (an open-source point-cloud viewer) to view the PLY file generated byLiDAR GTA V

Developer Notes

  • 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 directoryD:\Games\GTAV\ after building

    You 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 theCommand Line field underConfiguration Properties -> Build Events -> Post-Build Event -> Command Line

Contributing

  • Any contributions to the project are welcomed, it is recommended to use GitHubPull requests

Acknowledgements

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

License

  • 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 at19100135@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

Output Samples

About

A plugin for Grand Theft Auto V that generates a labeled LiDAR point cloud from the game environment.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp