![Screen Shot 2023-06-05 at 8 27 01 AM](https://private-user-images.githubusercontent.com/115739322/243284249-307b3535-3602-4f7f-b67a-93bf4d0f54f5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyMjQ5ODgsIm5iZiI6MTcyNTIyNDY4OCwicGF0aCI6Ii8xMTU3MzkzMjIvMjQzMjg0MjQ5LTMwN2IzNTM1LTM2MDItNGY3Zi1iNjdhLTkzYmY0ZDBmNTRmNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwMVQyMTA0NDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01MDRiYzg1ZmI2ZThhYmVhZWMzNGVmZDk1MjNjYTAxMTQ0ZmFkZDUxYTI4NDYwMGI4YjZiYzRiNWYwNjNmODhlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.KIcaLvBZ6KCieA72NloYlgLpiTMrUWER-2o9TyZUvAA)
FDF is a project that aims to create a wireframe model representation of a 3D landscape by connecting various points using line segments (edges). The program renders the model in an isometric projection.
To run the FDF project, follow these steps:
$> git clone https://github.com/Mushigarou/FDF.git
$> cd fdf
$> make
$> ./bin/fdf maps/file.fdf
The coordinates of the landscape are stored in a .fdf file. Each number in the file represents a point in 3D space, where:
- The horizontal position corresponds to the x-axis.
- The vertical position corresponds to the y-axis.
- The value represents the altitude.
Make sure that the .fdf file is properly formatted to avoid unexpected behavior.
- The program displays the wireframe model in a window.
- Smooth window management allows easy navigation between windows.
- Pressing the
ESC key or clicking the window's close button
gracefully closes the program. - The MiniLibX library is used to handle graphics and images.
- One extra projection parallel!
use p to change projection
- Zoom in and out.
use - and + signs
- Translate your model.
use arrow keys
![Screen Shot 2023-06-05 at 8 28 11 AM](https://private-user-images.githubusercontent.com/115739322/243285156-17887a18-d9d2-4b0a-b2e3-baca4bc2c771.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyMjQ5ODgsIm5iZiI6MTcyNTIyNDY4OCwicGF0aCI6Ii8xMTU3MzkzMjIvMjQzMjg1MTU2LTE3ODg3YTE4LWQ5ZDItNGIwYS1iMmUzLWJhY2E0YmMyYzc3MS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTAxJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkwMVQyMTA0NDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jMDkxM2I5YWU4YmExYzEwNWYyMjQwNjMwYmFhNjYxNzEzYTQ2OTRmZDYyNzgyMmUxN2U5ZTM5YzEwYjdhNGNjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.zhHzjyEboUDXL2VAd15x6t0mssKyHMsN1s38lRtbR30)
![Screen Shot 2023-06-05 at 8 28 43 AM](https://private-user-images.githubusercontent.com/115739322/243285217-18ac0962-ac44-4a87-b84b-1b2250764392.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp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DRiZDBiZDZhMjI2MWM3ZTM0MzBkYzU5MzE1Y2ZhYTA0NjkzYzJhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.bRAB-0rxvx_ma9U2AZ_fn3CDyggpw61r_GoBLsK7Wfo)
Contributions to this project are welcome! If you find any issues or have improvements to suggest, please feel free to submit a pull request.
This project is licensed under the MIT License.