Giter VIP home page Giter VIP logo

christt105 / elit3d Goto Github PK

View Code? Open in Web Editor NEW
98.0 6.0 8.0 53.3 MB

Tile map editor 3D with 3D terrains

Home Page: https://christt105.itch.io/elit3d

License: BSD 2-Clause "Simplified" License

HTML 2.15% CSS 0.02% C 38.75% C++ 58.68% CMake 0.16% Objective-C 0.09% GLSL 0.08% SWIG 0.01% Shell 0.01% JavaScript 0.03% Lua 0.03% Batchfile 0.01%
tile mapeditor 3d opengl sdl2 tilemap tiled-map-editor export terrain rpg-maps

elit3d's People

Contributors

christt105 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

elit3d's Issues

Not rendering map on some PCs

Describe the bug
The window where should be the map appears black. The OpenGL viewport. But ImGui still renders.

Expected behavior
overview

Screenshots
image

Desktop:

  • OS: Windows
  • Version 0.5.0
  • GPU: Some are AMD and Intel, maybe that is the problem

Linux builds

Describe the solution you'd like

Add AppImage builds for Linux.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

GLTF Exporter

Is your feature request related to a problem? Please describe.
The engine i'm using supports GLTF files natively and allows me to do one singular click to create collision across the entire file, plus they embed all the textures.

Describe the solution you'd like
I'd love to see the option to export the model in the GLTF format while embedding all textures.

Describe alternatives you've considered
For now I think i'd keep making maps in Trenchbroom.

Runtime GL bugs and compiler issues

  • When closing the program, OpenGLHelper.cpp calls GL functions after GL context has already been deleted. The class oglh needs to terminate earlier.

  • imGui calls glGetIntegerv(GL_CLIP_ORIGIN) which is not supported in OpenGL <= 3.3 and generates an error log each frame. Unfortunately GLEW just defines all GL versions and it is impossible to check OpenGL version at compile time.

  • m1Events::PreUpdate() Event::Type::DELETE_OBJ calls delete on an Object. This requires the destructor of the Object class to be public, otherwise the compiler will just ignore the line. On a 64bit system the code will crash because the Object pointer is retrieved from an integer variable. iTypeVar and its entire interface needs to be changed from int to intptr_t instead.

  • In many locations size_t is treated as an unsigned int. This leads to lots of warnings when compiling for x64. It also changes some bitshifting operations to 64 bits which may not be intended. See lodepng.cpp/ilog2i() for an example.

  • Compiled with Visual Studio Community 2022 v17.9.6

I decided to fork your project and started fixing the issues. Also updated some 3rd party components.
https://github.com/KoboldSoftware/Elit3D

crashes at start

I run the exe of 6.2, 6.1 32 or 64bit version to test the app. The app shows the window. Then it loads something and i wait. Then it just crashes down without any error dialog or error log.

Tested on

  • laptop windows 10 x64 4GB ram
  • drivers are the latest version DX12

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.