Skip to content

Add depth buffering to chapter 34#223

Merged
marty-johnson59 merged 3 commits intomainfrom
chapter_34_depth_buffer
Dec 11, 2025
Merged

Add depth buffering to chapter 34#223
marty-johnson59 merged 3 commits intomainfrom
chapter_34_depth_buffer

Conversation

@SaschaWillems
Copy link
Copy Markdown
Collaborator

@SaschaWillems SaschaWillems commented Nov 12, 2025

This PR adds proper depth buffering to chapter 34. Without this fix, the model isn't rendered properly.

I also made parts of the code match the rest of the tutorial, esp. stuff regarding image creation (which differed from the way other chapters do it).

None of the code touched by this is mentioned in the tutorial text, so no need to update the text for the chapter.

Fixes #164

Clean up and make code more consistent with the rest of the tutorial
@marty-johnson59
Copy link
Copy Markdown
Contributor

Merging w/ Steve's approval (per decision on previous call)

@marty-johnson59 marty-johnson59 merged commit a67ef9e into main Dec 11, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Depth buffer not working in Chapter 34

3 participants