FreddyMSchubert / 42_cub3d

3D game with a nostalgic vein for Wolfenstein 3d. Can you find your way out of the maze?
3 stars 0 forks source link

Rendering improvements #33

Closed FreddyMSchubert closed 2 weeks ago

FreddyMSchubert commented 2 weeks ago

Couple issues still, even though 3d space etc is now clearly discernable.

  1. Different FOVs create different amounts of a transparent stripe on the right of the window, also resizing the window does this.
  2. Walls are not square. Walls should be square! Why do they change their dimensions when unrelated parameteres like FOV are adjusted.

So, basically, the math issue, yayy.

FreddyMSchubert commented 2 weeks ago

oh, also fisheye effect isnt fully gone yet. not sure why though. It's like I only reduced it by 90%

FreddyMSchubert commented 2 weeks ago

Problem 1., the transparent stripe thing, is fixed as of commit 0.14.1

FreddyMSchubert commented 2 weeks ago

Problem 2 was fix as of commit 0.14.2 fisheye effect still partly present. interestingly, it gets worse the larger the window. but that's an issue for a later branch.