Giter VIP home page Giter VIP logo

fdf's Introduction

FDF Wireframe Model

FDF Wireframe Model

Screen Shot 2023-06-05 at 8 27 01 AM

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 Format

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.

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

Screen Shot 2023-06-05 at 8 28 11 AM Screen Shot 2023-06-05 at 8 28 43 AM Screen Shot 2023-06-05 at 8 29 24 AM Screen Shot 2023-06-05 at 8 29 48 AM

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.

License

This project is licensed under the MIT License.

fdf's People

Contributors

mushigarou avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.