Skip to content
0:00 / 0:00

#3dgraphics#projectionmatrix#c++

Code-It-Yourself! 3D Graphics Engine Part #1 - Triangles & Projection

javidx9

332K subscribers • 3 videos on Hallway

YouTube
  • Recommended by 5 people: 5 in engineering communities.
  • A classic. People kept recommending it from 2019 to 2025.
  • Presented by javidx9
  • Linked in the descriptionOneLoneCoder/Javidx9
  • May be out of date. Uploaded 8 years ago, in an area where tools change fast.

Intermediate. Assumes working knowledge.

1.9M views8 years ago5 recommendations

Graphics and audioGame developmentRenderingC++Unity, Unreal and Godot

javidx9 demonstrates how to build a 3D graphics engine from scratch, starting with triangles and projection matrices.

This video is part #1 of a new series where I construct a 3D graphics engine from scratch. I start at the beginning, setting up the project, then discuss vertices and triangles. Next a description of how 3D coordinates are converted into on-screen 2D coordinates using a projection matrix. This results in seeing a cube being rotated in 2-axis and translated. Source: github.com/OneLoneCoder/Javidx9/tree/master/ConsoleGameEngin… patreon.com/javidx9 discord.gg/WhwHUMV Blog: onelonecoder.com Twitter: @javidx9 Twitch: javidx9

Why it's here

5 people recommend this

What people say. Highly recommended for learning 3D graphics concepts, software rendering, and game engine math from scratch.

u/AdministrationSame23in r/C_Programming • Recommends

On “(C/C++)ASCII frame buffer and z buffer?”

Have a look into Javidx9 Code it yourself playlists. It contain a series where he try to create a 3D graphics engine. He introduces a bunch of 3D concept like Normals, Culling, Lighting , Object Files, Projection, camera, clipping, texturing and depth buffer. Here is the first video which show how to create a cube : [video

u/SurelyNotAnOctopusin r/C_Programming • Recommends

On “"Created" a 3D "renderer" in C”

This one: link to this video The guy is freaking awesome, you should check him out

u/catgrammerin r/C_Programming • Recommends

On “C Hands-On?”

I looked at the 3D rendering stuff (I was interested in software-rendering), but I have since found a video series on Youtube. I regularly look at some videos from Handmade Hero if I'm learning about a new topic.

u/justbenicedammitin r/C_Programming • Recommends

On “Learning C by drawing GUI from scratch”

I just thought about people creating game engines from scratch. There are detailed videos on this. They probably do a lot of stuff you want to do, since game engines are very heavy on the graphic and usually need to provide their own widgets etc. [video [video (A god but coding in c++) Maybe thats interessting to watch and get a grasp which does what. Hope you have fun.

u/Purple-Measurement47in r/C_Programming • Recommends

On “How to make graphics without any libraries?”

link to this video

u/CoderStudiosin r/GraphicsProgramming • Mentions

Strange bug while translating a tutorials code to another language I'm pretty much totally new to graphics programming. The original is soley implemented in C++, but for easy reusablity I decided to translate it into native python (Of course using numpy and C extensions for all heavy work). I was following this tutorial. And at the z offset step ~35:40-36:15, my version started behaving strangly, I currently blame my 4x4 matrix multiplication, but I really have no idea. I also tried to use the Python Translation's function, but that collapsed the projection into a single point (until it rotates it), which also isn't the behaviour observed in the tutorial. Resources: - Tutorial Github Re…