Commit Graph

216 Commits

Author SHA1 Message Date
Jack Christensen 3f6f19aaf0 Update .gitlab-ci.yml file 2024-08-29 15:32:12 +00:00
Jack Christensen fa298669ef Update .gitlab-ci.yml file 2024-08-29 05:16:01 +00:00
Jack Christensen a4070255f5 Update .gitlab-ci.yml file 2024-08-29 05:14:02 +00:00
Jack 353ba0ef63 Add release to .gitlab-ci.yml 2024-08-29 01:12:10 -04:00
Jack 0ffef286eb Updated to v0.0.4 2024-08-28 23:14:36 -04:00
Jack f8e1c14fa7 Merge branch 'main' of https://git.jackmchristensen.com/jack/terravisor 2024-08-28 23:12:22 -04:00
Jack 9a3b928c8f Merge branches 2024-08-28 23:12:18 -04:00
Jack Christensen 8f6b1de6fc Merge branch 'feature/3-mesh-tessellation' into 'main'
Bind attribute location

See merge request jack/terravisor!4
2024-08-29 03:10:24 +00:00
Jack b3aac984a7 Correctly calculate normals with dynamic tessellation 2024-08-28 23:07:40 -04:00
Jack 85533814e1 Dynamic tessellation based on slope
TODO normals do not reflect slope tessellation
2024-08-28 22:24:23 -04:00
Jack 9fa18ac69e Merge branch 'main' into feature/3-mesh-tessellation 2024-08-28 21:20:02 -04:00
Jack Christensen 9e6d0d4c02 Merge branch 'feature/interface-scaling' into 'main'
Resize font and add JetBrainsMono

See merge request jack/terravisor!3
2024-08-29 01:13:43 +00:00
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 93048ed1b6 Merge branch 'main' into feature/3-mesh-tessellation 2024-08-28 13:59:01 -04:00
Jack da8487d7dd Update to v0.0.3 2024-08-28 13:50:54 -04:00
Jack 5b38f5548e Updated imgui.ini 2024-08-28 10:06:02 -04:00
Jack a66f4e275a Merge branch 'feature/1-camera-controls' into feature/3-mesh-tessellation 2024-08-28 10:05:24 -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 a92b85ab35 Add GeoData to TEC 2024-08-25 23:04:34 -04:00
Jack c4f539c5b8 Fix namechange
Revert back to regular uniforms file name
2024-08-25 22:53:24 -04:00
Jack 1b4e3990e8 Tmp commit
Because I'm just renaming a file by making it lower case (technically snake_case) I need to do a tmp commit so the rename sticks.
2024-08-25 22:52:15 -04:00
Jack 7cf2ec7b55 Refactor uniforms
Add GeoData to control uniforms for geo pass. TODO refactor post pass uniforms
2024-08-25 22:49:45 -04:00
Jack f638a2f1f8 Bind attribute location
Realized that attribute locations were not bound for the geometry pass. Fixed that and renamed variables to be camelCase
2024-08-25 22:16:14 -04: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