2023-11-22

favorite 42 project to this day

So my favorite project is Fil de Fer also called FdF. The project has as goal to make a wireframe view of gives maps in C using the minilibX library. The project is quite challenging but coming from a background in 3d modeling it is super nice to now make something like thiis. The project has some amazing results and you really learn a lot of new things. Personally I'm not a big fan of the MLX library mainly because it doesn't have a solid foundation that works on the new apple silicon chipsets for the new mac machines and there is also a limited amount of documentation. But 42 made a really nice documentation of it a while ago and it really helped me get started with it on the campus machines. For my at home development I'm using SDL2. I also want to check out the new codam mlx library that I heard a lot about but that is something I will try in the weekend.

At the moment I'm not that far in the project yet. I can parse a map and put it in a 2d array. Then I can use a projection algorithm to project the points on the screen. The projection part I will maybe change some more to make it more bulletproof and then I'm going to use bresenham's line algorithm to draw the lines. So still a lot of work to do but I'm really enjoying it. Even so much that all my other projects are on hold for now. I hope you guys enjoyed reading this blog post and I will keep you guys posted about the end result.

C programming
19