Code Monkey home page Code Monkey logo

citygmlimporter's Introduction

CityGMLImporter

Übersicht

Das CityGML Importer Plugin für die Unreal Engine ermöglicht das Einlesen und Verarbeiten von CityGML-Dateien direkt in der Unreal Engine. CityGML ist ein standardisiertes Datenmodell zur Speicherung und Darstellung von 3D-Stadtmodellen. Dieses Plugin unterstützt die Level of Detail (LoD) 1 bis 3. und bietet eine Integration in den Unreal Engine Editor.

Funktionen

  • CityGML-Datei Import: Ermöglicht das Laden von .gml und .xml Dateien direkt in die Unreal Engine.
  • Unterstützung für LoD1, LoD2, und LoD3: Verarbeitet diese 3 unterschiedlichen Detailstufen von Gebäudemodellen.
  • Konvertierung von ETRS89_UTM32 zu Unreal-Koordinaten: Automatische Transformation der Stadtmodell-Koordinaten in UE Koordinaten.
  • Erstellung von 3D-Modellen: Generiert statische Meshes aus den importierten Gebäudedaten.
  • Editor Integration: Fügt den Menüeintrag für CityGML-Dateien in den Unreal Engine Editor ein.

Installation

  1. Klone dieses Repository in das Plugins-Verzeichnis deines Unreal Engine Projekts:

    git clone https://github.com/dein-username/CityGMLImporter.git Plugins/CityGMLImporter
    
  2. Öffne das Projekt in Unreal Engine. Das Plugin wird automatisch erkannt und kann über den Plugin-Manager aktiviert werden.

  3. Stelle sicher, dass das Plugin aktiviert ist und starte das Projekt neu, um alle Änderungen zu übernehmen.

Verwendung

  1. Öffne den Unreal Engine Editor.

  2. Wähle im Menü File > Select CityGML File aus.

  3. Wähle eine CityGML-Datei (.gml oder .xml) aus.

  4. Die importierten Gebäude werden automatisch in die Szene eingefügt und angezeigt.

In der Klasse CityGMLImporter.cpp können oben bei den globalen Variablen folgende Variablen angepasst werden:

  • Skalierung (float), skaliert die Stadt auf ein 1:1 Verhältnis, wenn der Wert auf 100 gesetzt ist.
  • OneMesh (boolean), bei true wird ein Mesh pro "Button Click" erzeugt und bei false werden pro Gebäude Meshes erstellt.

Voraussetzungen

  • Unreal Engine 4.27 .
  • C++ Kenntnisse, wenn man es selbst anpassen möchte.

citygmlimporter's People

Contributors

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