Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mushigarou/fdf
FDF or Wireframe Model is about representing a landscape as a 3D object in which all surfaces are outlined in lines
https://github.com/mushigarou/fdf
drawing-lines graphics-programming hook-keyboard minilibx pixel rgb-color
Last synced: 9 days ago
JSON representation
FDF or Wireframe Model is about representing a landscape as a 3D object in which all surfaces are outlined in lines
- Host: GitHub
- URL: https://github.com/mushigarou/fdf
- Owner: Mushigarou
- License: mit
- Created: 2023-01-18T03:20:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-05T07:46:18.000Z (over 1 year ago)
- Last Synced: 2024-06-10T03:44:01.815Z (5 months ago)
- Topics: drawing-lines, graphics-programming, hook-keyboard, minilibx, pixel, rgb-color
- Language: C
- Homepage:
- Size: 2.14 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FDF Wireframe Model
## FDF Wireframe Model
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.
## Usage
To run the FDF project, follow these steps:
```
$> git clone https://github.com/Mushigarou/FDF.git
$> cd fdf
$> make
$> ./bin/fdf maps/file.fdf
```
## File FormatThe 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.
## Features- 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`## Images
## Contributing
Contributions to this project are welcome! If you find any issues or have improvements to suggest, please feel free to submit a pull request.
## LicenseThis project is licensed under the MIT License.