Commit Graph

96 Commits

Author SHA1 Message Date
4db360df39 feat: add contour-based multi-octave bump mapping for rougher terrain 2025-10-02 13:37:15 +02:00
78d0b091ee feat: add bump mapping to terrain for rougher, less smooth shading 2025-10-02 13:37:13 +02:00
9c3795044a feat: add Phong specular lighting to fragment shader with shininess and strength controls 2025-10-02 13:37:11 +02:00
3a138ec59e feat: add ambient component to fragment shader for Phong shading start 2025-10-02 13:37:09 +02:00
e6dcc428d4 fix: complete Task 1 by updating shaders for normals and Lambertian lighting 2025-10-02 13:37:07 +02:00
014121b606 perf: double animation start delay for helicopters to stagger timing 2025-10-02 13:37:05 +02:00
abfab22966 fix: increase spacing between nodes to prevent overlap 2025-10-02 13:37:02 +02:00
5cc806a8dd fix: space nodes further apart by adjusting x position offset 2025-10-02 13:36:57 +02:00
dce279d1b2 fix: replace unused variable with underscore and fix raw pointer mutation errors 2025-10-02 12:53:16 +02:00
fda438e6c1 feat: instantiate and animate 5 helicopters with independent rotor rotations and paths 2025-10-02 12:53:16 +02:00
f6845c1dd0 fix: correct glm::mat3 usage and add missing argument in draw_scene call 2025-10-02 12:53:01 +02:00
46bdbfb889 fix: rotate normals with model to correct helicopter lighting during rotation 2025-10-02 12:04:45 +02:00
e6987e506f fix: correct rotation order to pitch, yaw, roll for proper orientation 2025-10-02 11:28:48 +02:00
030df64fc1 feat: animate helicopter using simple_heading_animation with full 3-axis rotation 2025-10-02 11:25:53 +02:00
978c3c3936 fix: rotate tail rotor on x-axis instead of y-axis to match rigth axis 2025-10-02 11:23:27 +02:00
a729d28841 feat: animate helicopter rotors spinning and draw scene via scene graph 2025-10-02 11:21:56 +02:00
e139ca67f6 feat: add model matrix transforms and set tail rotor reference point for scene nodes 2025-10-02 11:19:15 +02:00
c6c77f7030 fix: declare scene graph nodes as mutable to fix borrow errors 2025-10-02 11:06:35 +02:00
6e53caae56 refactor: replace manual VAO draws with recursive scene graph draw function 2025-10-02 10:38:37 +02:00
ac1368c509 feat: create scene graph with terrain and helicopter nodes in main.rs 2025-10-02 10:19:11 +02:00
ed0ccb854d feat: load and draw helicopter model with separate VAOs for each part 2025-10-02 10:19:01 +02:00
ba305c56fd feat: add Lambertian lighting to fragment shader for surface shading 2025-10-02 01:29:03 +02:00
bdfafea108 fix: swap W and S key movement directions back to original behavior 2025-10-02 01:24:35 +02:00
12a2d5bb5e fix: correct camera movement to be relative to current direction vectors 2025-10-02 01:16:51 +02:00
aedd576afe fix: swap W and S movement directions and double camera speed for correct control 2025-10-02 01:14:23 +02:00
4149277dde fix: double movement speed for smoother camera control 2025-10-02 01:09:26 +02:00
b1d0bbdfb6 feat: visualize vertex normals as colors by passing normals to fragment shader 2025-10-02 01:06:30 +02:00
07a0b0260d feat: add normal vectors to VAO creation for lighting calculations 2025-10-02 01:02:53 +02:00
20c7dc975c fix: remove sine-cosine transformations from model matrix calculation 2025-10-02 00:56:02 +02:00
ebaf03237e refactor: remove moving triangles and related draw calls from main.rs 2025-10-02 00:52:37 +02:00
f4b85afff8 feat: load and draw lunar terrain with extended far plane in perspective matrix 2025-10-02 00:44:51 +02:00
fcb365bcf5 chore: added given sample code. 2025-10-02 00:39:34 +02:00
5d643ddb4e feat: render a large grid of point-particles as billboards with program point size enabled 2025-09-18 10:55:48 +02:00
74342b5d1a feat: add camera-facing billboard quad rendering with rotation invariance 2025-09-18 10:55:43 +02:00
e3509a7ece feat: move camera relative to its orientation and clamp pitch angle 2025-09-18 00:31:13 +02:00
de7cc20db3 fix: apply correct model, view, and projection matrices for camera motion each frame 2025-09-17 23:49:33 +02:00
861c6ebd62 feat: add key handlers for tripod camera movement and rotation controls 2025-09-17 23:49:33 +02:00
f6422f403e feat: add camera position and orientation variables for tripod motion control 2025-09-17 23:49:33 +02:00
b08a38ce74 feat: apply translation and perspective projection to transform matrix before shader upload 2025-09-17 23:49:33 +02:00
0400e0969d feat: bind transform uniform to location 0 in vertex shader for clarity 2025-09-17 23:49:33 +02:00
64f04a8b4c vert 2025-09-17 23:49:33 +02:00
ff9600071f feat: cycle through transform matrix params a-f over time in main.rs uniform update 2025-09-17 23:49:31 +02:00
179da91770 fix: add type annotation to resolve ambiguous transform matrix type in main.rs 2025-09-17 23:49:27 +02:00
70f6812fb4 feat: add uniform transform matrix with modifiable elements in main.rs 2025-09-17 23:49:19 +02:00
0b7dad576b nix 2025-09-15 15:39:39 +02:00
d3fde9cfc2 refactor: update vertex data and add transform matrix in vertex shader 2025-09-15 15:32:19 +02:00
41d0819814 refactor: simplify VertexAttribPointer call and update vertex, color, index data with alpha transparency and z-depth 2025-09-15 13:29:57 +02:00
cdef76492f feat: 3 triangles 2025-09-11 23:11:23 +02:00
ba0b49c3b6 feat: add colors to vao and shaders 2025-09-11 23:09:35 +02:00
0f13f037ce checkerboard pattern 2025-09-02 21:31:09 +02:00