Commit Graph

196 Commits

Author SHA1 Message Date
Jack af7fa08016 Add check for OS to get font
For some reason in Windows, the root directory is /terravisor, but in Linux it's /terravisor/build. Idk why it is that way in Windows.
2024-08-28 21:12:19 -04:00
Jack fa24633a9e Check root directory for font 2024-08-28 21:09:26 -04:00
Jack 9c00945ea1 Resize font and add JetBrainsMono 2024-08-28 21:07:15 -04:00
Jack da8487d7dd Update to v0.0.3 2024-08-28 13:50:54 -04:00
Jack 97e13c088e Camera updates correctly on window resize 2024-08-28 09:45:08 -04:00
Jack 1b54280c52 Create Interface struct and functions to control ImGui windows
Should now be able to get and manipulate data pertaining to the ImGui windows so I can properly update the camera's aspect.
2024-08-26 16:53:49 -04:00
Jack eff5bb09e9 Add check for viewport size change to update camera 2024-08-26 10:58:22 -04:00
Jack eb1e2a0ba8 Resize viewport keeps propper aspect
TODO keep correct aspect when resizing main window
2024-08-26 10:55:54 -04:00
Jack 4f17647387 Fix typo in CHANGELOG
Wrong version number
2024-08-25 23:34:39 -04:00
Jack Christensen 5d1d56bc5c Merge branch 'feature/7-codebase-refactoring' into 'main'
Update uniform handling

See merge request jack/terravisor!2
2024-08-26 03:32:58 +00:00
Jack Christensen 1b10e2fed6 Update uniform handling 2024-08-26 03:32:58 +00:00
Jack Christensen 944f98243c Update README.md 2024-08-26 00:06:48 +00:00
Jack Christensen 18f74d777d Update COPYING 2024-08-26 00:06:04 +00:00
Jack Christensen bd44baa339 Delete LICENSE 2024-08-26 00:03:55 +00:00
Jack 1e7656e3ad Update relavent files to glsl version 4.5 2024-08-25 19:26:12 -04:00
Jack 0cec0b2d8a Setup versioning
Got versioning setup and created a path for the near future.
2024-08-25 19:01:10 -04:00
Jack Christensen 0097ab2641 Merge branch 'feature/texture-import' into 'main'
Start load texture logic

See merge request jack/terravisor!1
2024-08-25 20:35:09 +00:00
Jack 0b3c7b0f74 Add TIFF import
Completed LoadTexture() to allow for TIFF files and loaded the color texture to the shaders. Some minor changes to the fragment shaders, but nothing major.
2024-08-25 16:31:01 -04:00
Jack 6a35ad9e5c Reorganized FreeImage libraries
In dependencies/FreeImage/lib changed /linux to /UNIX and added /WIN32 to try and keep things organized.
2024-08-24 00:27:20 -04:00
Jack 17d7c6aa95 Removed TIFF::TIFF 2024-08-24 00:19:52 -04:00
Jack 09f0c314f6 Hail Mary fix to get working on Linux 2024-08-24 00:19:14 -04:00
Jack ae2db4bd76 Typo in CMakeLists 2024-08-24 00:16:39 -04:00
Jack 5b93c79ad7 Trying .so to link libraries 2024-08-24 00:14:16 -04:00
Jack 176362eff7 Add TIFF libraries to CMakeLists.txt 2024-08-24 00:11:20 -04:00
Jack a743849a94 Fix typo in CMakeLists.txt
libFreeImage.a -> libfreeimage.a
2024-08-24 00:08:40 -04:00
Jack df9ba55955 Fix typo in CMakeLists.txt
Forgot endif() at line 46
2024-08-24 00:07:37 -04:00
Jack 5e6a2a2b9c Add linux library to dependency 2024-08-24 00:06:28 -04:00
Jack b0e8ab8a36 Update .gitignore to make exceptions for FreeImage files 2024-08-23 23:40:02 -04:00
Jack 34e0974eb3 FreeImage correctly included
I gave up and am directly including FreeImage in this project. I need to add proper licensing soon.
2024-08-23 23:35:47 -04:00
Jack 33c121764b Just looking at all the include and lib directories 2024-08-23 22:20:34 -04:00
Jack 4cf7c4d102 Remove UNIX check 2024-08-23 22:18:32 -04:00
Jack 6b06d8651a Try adding FreeImage to source files 2024-08-23 22:16:19 -04:00
Jack 2df0bff067 Link to installed rather than packages 2024-08-23 22:12:53 -04:00
Jack a13219484c Directly link to FreeImage headers 2024-08-23 22:05:54 -04:00
Jack Christensen 54333998a3 Update .gitlab-ci.yml file 2024-08-24 02:03:23 +00:00
Jack Christensen 5a61870048 Update .gitlab-ci.yml file 2024-08-24 02:02:26 +00:00
Jack 9ef7a32957 Switch test build from release to debug 2024-08-23 21:58:56 -04:00
Jack 3f923e5a2f Move FreeImage.h include from header to main file
Test couldn't find FreeImage functions so I'm trying moving it
2024-08-23 21:56:12 -04:00
Jack d12a32f162 Point CMake to base lib directory
Just want to check if this works. Not the best way to do things.
2024-08-23 21:53:27 -04:00
Jack 347d46c900 Start load texture logic
I just wanted to get something in here to make sure the branch is working with automatic tests and that FreeImage wouldn't throw errors now that I'm actually using it.
2024-08-23 21:47:37 -04:00
Jack Christensen c3508f28a5 Remove mention of macOS in README.md 2024-08-24 00:16:02 +00:00
Jack Christensen 0ee8c79db3 Update README.md 2024-08-24 00:14:43 +00:00
Jack Christensen b077d09589 Update CMakeLists.txt 2024-08-23 23:00:12 +00:00
Jack Christensen 3bcf6bac4f Update CMakeLists.txt 2024-08-23 22:59:16 +00:00
Jack Christensen ab8e9d3310 Update CMakeLists.txt 2024-08-23 22:57:02 +00:00
Jack Christensen 8cc35731bb Update CMakeLists.txt 2024-08-23 22:51:43 +00:00
Jack Christensen 43e95ead77 Update CMakePresets.json 2024-08-23 22:51:01 +00:00
Jack Christensen 7be114a1f3 Update .gitlab-ci.yml file 2024-08-23 22:50:36 +00:00
Jack Christensen 752e125c91 Test FreeImage on Linux 2024-08-22 16:59:53 -04:00
Jack Christensen 958da0d730 Updated .gitlab-ci.yml 2024-08-22 16:57:03 -04:00