Coder Social home page Coder Social logo

edisonqkj / lidar-gta-v Goto Github PK

View Code? Open in Web Editor NEW

This project forked from usmanjafri/lidar-gta-v

0.0 1.0 0.0 25.54 MB

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

C 5.22% C++ 94.78%

lidar-gta-v's Introduction

LiDAR GTA V

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

Requirements

Installation

  1. Install ScriptHookV following its accompanying instructions.
  2. Copy-paste LiDAR GTA V.asi and the LiDAR GTA V folder found in bin/Release 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. Startup GTAV 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

Contributing

  • You will need Visual Studio 2017 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 base project to import configuration.

Samples

lidar-gta-v's People

Contributors

usmanjafri avatar

Watchers

Edison Qian avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.