Giter Club home page Giter Club logo

lod-analysis-tool's Introduction

LoD Analysis Tool

A simple Python tool integrated into UE5 to evaluate LoDs in the engine.

Demo

tool-demo-gif

Full demo on youtube, click the image below.

Watch the video

Tech Stack

Python - PySide2

QtDesigner

Unreal Engine Python API

Installation

Follow the official documentation to integrate Python in the Engine first. https://docs.unrealengine.com/5.1/en-US/scripting-the-unreal-editor-using-python/

The custom_menu_unreal.py, lod_analysis_tool.py, ToolGUI_ui.py, and ToolGUI.ui must stay in the same folder.

You can run Python scripts in Unreal Engine by going to Tools>Execute Python Script.

Run the custom_menu_unreal.py

A new menu on the top bar will appear, you can then launch the tool from there.

Usage

  • Run the tool from the custom menu.
  • Select a single/multiple StaticMesh asset/s from the content browser
  • Click the "Run Analysis" button
  • The data will appear on the screen.

If multiple assets are selected, only the first one will appear on the first half of the UI, the others will be shown in the table below.

You can export data to a CSV file with the "Export Data to CSV" button.

Screenshots

tool-screenshot

Roadmap

  • Add a GUI to let the user decide the settings of the tool (thresholds for Micro, Thin Triangles, and allowed Vertex Density)
  • Let the user select a folder and run the analysis on it
  • Color-coding the data to outline if the mesh is valid or not quickly
  • Write a proper documentation

Acknowledgements

lod-analysis-tool's People

Contributors

mattyvioo 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.