Jack
85533814e1
Dynamic tessellation based on slope
...
TODO normals do not reflect slope tessellation
2024-08-28 22:24:23 -04: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
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 Christensen
1b10e2fed6
Update uniform handling
2024-08-26 03:32:58 +00: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
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
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
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
d2e859d35b
Test FreeImage inclusion
2024-08-22 16:50:38 -04:00
Jack Christensen
59bd0c30b1
Add camera controls
2024-08-21 17:14:35 -04:00
Jack Christensen
e3a67c6d00
Add anonymous namespace and add bind and unbind functions to fbo file
2024-08-20 01:35:19 -04:00
Jack Christensen
ca26a4f068
Got rid of load_texture due to errors
2024-08-20 01:01:41 -04:00
Jack Christensen
2d14a6011d
Add include to platform_utils.h to load_texture
2024-08-20 00:52:09 -04:00
Jack Christensen
d144434f59
Refactor fbo to make for functional, less OOP
2024-08-20 00:47:41 -04:00
Jack Christensen
25147837fc
Add load_texture
2024-08-20 00:47:03 -04:00
Jack Christensen
6f2c239094
Testing include of FreeImage
2024-08-19 15:48:55 -04:00
Jack Christensen
513fc61d34
Add test loop in main.cpp
2024-08-19 10:43:07 -04:00
Jack Christensen
229271fe0f
Add run test to make sure program actually runs
2024-08-19 08:36:42 -04:00
Jack Christensen
a7ffc45718
Removed redundant shader initialization
2024-08-18 22:34:22 -04:00
Jack Christensen
f63a3b1ab6
Renamed callbacks_tmp back to callbacks
2024-08-18 22:29:54 -04:00
Jack Christensen
d36beaacdc
Temporarily rename callbacks to callbacks_tmp
2024-08-18 22:29:21 -04:00
Jack Christensen
c8e19a6d12
Get callbacks to work with Scene class
2024-08-18 22:26:33 -04:00
Jack Christensen
514b05120a
Rename PlatformUtils.h -> platform_utils.h, Callbacks.h and Callbacks.cpp -> callbacks.h and callbacks.cpp
2024-08-18 22:00:51 -04:00
Jack Christensen
9408344349
Add normal to deferred shading setup
2024-08-17 19:40:42 -04:00
Jack Christensen
0362632222
Fix depth test and transparent background bug in FBO
2024-08-17 19:10:41 -04:00
Jack Christensen
294c2f3c85
Add option for geometry shader in initial pass
2024-08-17 19:09:48 -04:00
Jack Christensen
2f4de89791
Add position output for deferred rendering
2024-08-17 19:08:11 -04:00
Jack Christensen
025f442686
Add slider for tessellation factor
2024-08-17 19:05:05 -04:00
Jack Christensen
a45473c77e
Add dynamic patch grid resolution
2024-08-17 12:25:42 -04:00
Jack Christensen
5212d5aa19
Displacement working with normals
2024-08-16 00:15:26 -04:00
Jack Christensen
05ecd9b4be
Refactor tessellation shader pipeline
2024-08-15 13:53:52 -04:00
Jack Christensen
bc8d855098
Typo in scene.h and some cleanup
2024-08-15 01:09:37 -04:00
Jack Christensen
cba45bdecf
Can import .hgt files. TODO refactor
2024-08-15 00:56:29 -04:00
Jack Christensen
136b5cab9c
Move PVM matrix multiplication from vertex to tessellation eval shader
2024-08-14 19:14:43 -04:00
Jack Christensen
b2450d4ca5
Switch triangle for tessellated quad patch with tess shaders
2024-08-14 18:04:06 -04:00
Jack Christensen
250c108e97
Implement HDR and gamma correction in post shader pass
2024-08-14 16:40:51 -04:00
Jack Christensen
7060c08217
Refactor, setup FBO, and render into ImGui window
2024-08-14 02:16:53 -04:00
Jack Christensen
0e348944b1
Make some indentations concistent
2024-08-13 18:09:49 -04:00
Jack Christensen
74ac6aec9a
Create const variables for window dimensions
2024-08-13 17:58:49 -04:00
Jack Christensen
590982cde3
Add FBO class. Still need to add functionality
2024-08-13 17:47:16 -04:00
Jack Christensen
07eb172464
Refactorize and started shader pipline
2024-08-13 16:25:56 -04:00
Jack Christensen
4575698c55
DebugBreack() -> DEBUG_BREAK() in scene.cpp
2024-08-12 22:00:57 -04:00
Jack Christensen
dcd82ae202
Create PlatformUtils.h to handle cross platform compatibility
2024-08-12 21:55:08 -04:00
Jack Christensen
8ff81a064a
Add more files from VS_Template
2024-08-12 21:40:28 -04:00
Jack Christensen
75e9b1ea63
Add title comment for some reason
2024-08-12 17:56:29 -04:00