Coder Social home page Coder Social logo

fdf's Introduction

FdF

fdf-demo

Score

  • 125%

Project Highlights

  • Objective: This project involves creating a wireframe model representation of a 3D landscape using the MiniLibX graphical library.

  • Representation: The project aims to visualize landscapes by connecting points (x, y, z) with line segments (edges) to create a 3D wireframe model.

  • Features:

    • Render the model in isometric projection.
    • Read landscape coordinates from a .fdf file.
    • Use MiniLibX for window management and graphical elements.
    • Additional projection method (e.g. parallel).
    • Zoom in and out functionality.
    • Translation of the 3D model.
    • Rotation of the 3D model.
    • Chang the color of the map.

Usage

To use this project, follow these steps:

  1. Clone the repository to your local machine macOs version | linux version.
  2. Navigate to the project directory.
  3. Compile the source files using the provided Makefile (make bonus for all features on macOS).
  4. Run the program, specifying a .fdf file as input: ./fdf [map].fdf
  5. The program will display the 3D wireframe model of the landscape in a graphical window.
  6. To close the window and exit the program, either press the "ESC" key or click the window's close button.

Keys

  • move [w s a d]
  • altitude [< >]
  • zoom [- +]
  • rotation x [up / down arrow]
  • rotation y [left / right arrow]
  • rotation z [; '
  • change view [space]
  • change color [c v]
  • reset map [r]
  • exit [esc]

Notes

  • You can change the window's size by adjusting WIDTH and HEIGHT in includes/fdf.h
  • The window's exit button is broken in the macOs version

Author

Archibald Thirion

fdf's People

Contributors

archips 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.