{"id":18123093,"url":"https://github.com/ailopez-o/42barcelona-fdf","last_synced_at":"2025-04-05T10:08:06.371Z","repository":{"id":38404791,"uuid":"505702749","full_name":"ailopez-o/42Barcelona-FdF","owner":"ailopez-o","description":"FDF / Finished / 125 scored","archived":false,"fork":false,"pushed_at":"2024-11-21T11:28:11.000Z","size":53905,"stargazers_count":125,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T09:08:44.397Z","etag":null,"topics":["42","42barcelona","42cursus","42projects","42school","fdf","fdf-42"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ailopez-o.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-21T05:30:24.000Z","updated_at":"2025-03-24T13:38:38.000Z","dependencies_parsed_at":"2024-12-25T13:09:52.758Z","dependency_job_id":"caef1473-2e6d-459a-b0d3-afa43d2d215a","html_url":"https://github.com/ailopez-o/42Barcelona-FdF","commit_stats":{"total_commits":180,"total_committers":13,"mean_commits":"13.846153846153847","dds":0.5944444444444444,"last_synced_commit":"c611637e8fa2d2df405306db3e939eb226e79700"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailopez-o%2F42Barcelona-FdF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailopez-o%2F42Barcelona-FdF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailopez-o%2F42Barcelona-FdF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailopez-o%2F42Barcelona-FdF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ailopez-o","download_url":"https://codeload.github.com/ailopez-o/42Barcelona-FdF/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318744,"owners_count":20919484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["42","42barcelona","42cursus","42projects","42school","fdf","fdf-42"],"created_at":"2024-11-01T07:07:57.566Z","updated_at":"2025-04-05T10:08:06.341Z","avatar_url":"https://github.com/ailopez-o.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n\tFDF\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003cb\u003e\u003ci\u003eA simplified 3D graphic representation of a relief landscape.\u003c/i\u003e\u003c/b\u003e\u003cbr\u003e\n\u003c/p\u003e\n\nNeed install on Linux ↙️\n```Linux\nsudo apt-get install gcc make xorg libxext-dev libbsd-dev\n```\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg alt=\"GitHub code size in bytes\" src=\"https://img.shields.io/github/languages/code-size/ailopez-o/42Barcelona-FdF?color=lightblue\" /\u003e\n\t\u003cimg alt=\"Number of lines of code\" src=\"https://img.shields.io/tokei/lines/github/ailopez-o/42Barcelona-FdF?color=critical\" /\u003e\n\t\u003cimg alt=\"Code language count\" src=\"https://img.shields.io/github/languages/count/ailopez-o/42Barcelona-FdF?color=yellow\" /\u003e\n\t\u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/ailopez-o/42Barcelona-FdF?color=blue\" /\u003e\n\t\u003cimg alt=\"GitHub last commit\" src=\"https://img.shields.io/github/last-commit/ailopez-o/42Barcelona-FdF?color=green\" /\u003e\n\u003c/p\u003e\n\n\n---\n\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://github.com/ailopez-o/42Barcelona-FdF/blob/main/img/captura.gif\" /\u003e\n\t\u003cimg src=\"https://github.com/ailopez-o/42Barcelona-FdF/blob/main/img/map3.jpg\" /\u003e\n\t\u003cimg src=\"https://raw.githubusercontent.com/aitorlopez42/42Barcelona-FdF/main/img/map0.png\" /\u003e\n\t\u003cimg src=\"https://raw.githubusercontent.com/aitorlopez42/42Barcelona-FdF/main/img/map1.png\" /\u003e\n\t\u003cimg src=\"https://raw.githubusercontent.com/aitorlopez42/42Barcelona-FdF/main/img/map2.png\" /\u003e\n\u003c/p\u003e\n\n\nTo pull files ↙️\n```bash\ngit clone --recursive https://github.com/ailopez-o/42Barcelona-FdF.git\n```\nTo compile the program ↙️\n\n```bash\n$ make\n```\nTo load you have to launch the program with a valid map as parameter 🗺️\n```bash\n$ ./fdf map.fdf\n```\n\n\n## Controles 🕹\n\n|TECLA|ACCION|\n|---|---|\n|`Mouse (Right Clicked)`| X/Y axis Rotation|\n|`Mouse (Left Clicked)`| Traslation|\n|`Mouse Scroll`| Zomm In/Out|\n|`Arrows`| X/Y axis Rotation. Cmd cliked +90ª|\n|`Q / W`| Z axis Rotation. Cmd cliked +90ª|\n|`+ / -`| Z axis divisor|\n|`L`| Lines ON /OFF|\n|`D`| Dots ON /OFF|\n|`X`| Extra Wired ON /OFF|\n|`G`| GEO view ON /OFF|\n|`H`| On GEO view Shadow side ON /OFF|\n|`I`| ISOMETRIC view |\n|`P`| PARALEL view |\n|`S`| Make the magic happends |\n|`B / Cmd+B`| Blendig + / -|\n|`1`| Terrain Color Scheme|\n|`2`| White \u0026 Black Color Scheme|\n|`3`| Black \u0026 White Color Scheme|\n|`4`| Earth Color Scheme|\n|`ESC ❌`|Cierra la ventana|\n\n## To-Do\n\n- Centering Zoom\n\n## Documentación\n\n3d Transformations: \n\nhttp://di002.edv.uniovi.es/~rr/Tema2.pdf\n\nhttps://www.cs.buap.mx/~iolmos/graficacion/5_Transformaciones_geometricas_3D.pdf\n\nhttps://github.com/qst0/ft_libgfx#the-graphics-branch\n\nhttps://www.scratchapixel.com/index.php?redirect\n\nhttps://web.archive.org/web/20150225192611/http://www.arcsynthesis.org/gltut/index.html\n\nhttp://inside.mines.edu/fs_home/gmurray/ArbitraryAxisRotation/\n\nGeneral\n\nhttps://qst0.github.io/ft_libgfx/\n\nMinilbx\n\nhttps://gontjarow.github.io/MiniLibX/mlx-tutorial-create-image.html\n\nhttps://harm-smits.github.io/42docs/\n\nColor gradients\n\nhttps://dev.to/freerangepixels/a-probably-terrible-way-to-render-gradients-1p3n\n\nCube Rotations\n\nhttps://www.youtube.com/watch?v=p4Iz0XJY-Qk\n\nOrtographic Pryection \n\nhttp://learnwebgl.brown37.net/08_projections/projections_ortho.html\n\n3D Matrix calculator\n\nhttps://www.mathforengineers.com/math-calculators/3D-point-rotation-calculator.html#google_vignette\n\nMap Generator\n\nhttps://github.com/jgigault/42MapGenerator\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failopez-o%2F42barcelona-fdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Failopez-o%2F42barcelona-fdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failopez-o%2F42barcelona-fdf/lists"}