Updating from the Painter’s Algorithm to a Z-BufferSo far, I have been sorting my faces using the painter’s algorithm. This method involves getting the average of the z coordinates for the 3…1d ago1d ago
Texture Mapping Using Barycentric WeightsAn important concept in computer graphics is texture mapping. This is the process of mapping a 2D image onto the face of a 3D object…3d ago3d ago
Lighting a Scene Using Flat ShadingFlat shading is a simple shading technique used in computer graphics. It calculates the color of each polygon face based on the angle at…6d ago6d ago
3D Matrix TransformationsUsing a matrix is very common to represent linear transformations. In 3D graphics, it is standard to use a 4x4 matrix to describe the…May 14May 14
Scanline-Based Triangle Filling: Harnessing Flat-Bottom and Flat-Top ConfigurationsRasterization is a crucial step in computer graphics, where a triangle is transformed from a mathematical representation into a pixelated…May 13May 13
Optimizing 3D Rendering with Backface CullingBackface culling is a fundamental optimization technique in computer graphics that improves rendering efficiency by eliminating surfaces…May 12May 12
Password GeneratorRecently, I have been doing a lot of coding in Python due to my class on Artificial Intelligence. This sparked the motivation to finally…Mar 13Mar 13
Snake Game UpdatesI have been working on creating a snake game using SDL2 and wanted to share some of my progress.Feb 13Feb 13
Intelligent AgentsAn agent can perceive its environment through sensors and act on the environment through actuators. Sensors can receive data from the…Jan 19Jan 19
Simulating Movement with CalculusI have been creating a physics engine and am working on the movement mechanisms. I am making this short article to solidify what I have…Jan 7Jan 7