https://github.com/nithanim/techdemo3dblockeditorlibgdx
A demo of a freecam editor of a block-based world using LibGDX.
https://github.com/nithanim/techdemo3dblockeditorlibgdx
Last synced: 8 months ago
JSON representation
A demo of a freecam editor of a block-based world using LibGDX.
- Host: GitHub
- URL: https://github.com/nithanim/techdemo3dblockeditorlibgdx
- Owner: Nithanim
- License: apache-2.0
- Created: 2023-02-04T19:49:24.000Z (over 3 years ago)
- Default Branch: public
- Last Pushed: 2023-02-04T20:12:56.000Z (over 3 years ago)
- Last Synced: 2025-10-12T01:25:05.911Z (8 months ago)
- Language: Java
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This repository holds "tech-demo" of an editor in a 3d block-based world ussing LibGDX.
The user controls a free-cam and can select a 3d area of qubes using two points and also modify the selection afterwards. For the main selected block only, rotation and copy-paste are implemented.
The selection of blocks is done using ray-casting.
The code is extremely messy and also contains some modified code copied from LibGDX itself. Heed their license.
An example for that is the EditorCamera which was overhauled quite a bit.
Also the Vector3i is a specialized copy of Vector3.
You should only use bits and peaces you find useful because the thing is just cobbled together.