Code Monkey home page Code Monkey logo

fortgl's Introduction

FortGL

3D software rendering in pure Fortran.

alt text

Features so far...

  • Reads .obj and simple .ply file formats
  • Bresenham's line algorithm
  • Rasterisation of triangles
  • User defined shaders
  • Movable camera and perspective view
  • Wireframe render of triangles
  • Texture mapping
  • Native output in ppm (with any format available through imagemagick)

alt text

alt text

Requirements

  • Only tested on:
  • gfortran 5.4.1+
  • ifort 17.04+
  • pgi 17.4-0 (requires changing all error stops to stops and remove call execute_command_lines)
  • ImageMagick v 6.8.9-9
  • Ubuntu 16.04 LTS

ToDo

  • Fix wireframe render to use Nivida's solid wireframe render method
  • Normal mapping
  • Fix .obj for more than order 3 (i.e. more than just triangles)
  • More file formats (.stl for model input, and image output formats)

fortgl's People

Contributors

lewisfish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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