Giter Club home page Giter Club logo

gpipe-core's Introduction

GPipe 2

This is the main repository for GPipe 2, a library which encapsulates OpenGL and provides a minimal type safe interface. Check out the release announcement, GPipe is dead, long live GPipe! or read on for the tutorials.

Examples and tutorials

There is a series of five tutorials for learning the features of GPipe 2 hosted at http://tobbebex.blogspot.se (see below for a table of contents). You'll start with a simple triangle example, and advance through all of the encapsulated features of OpenGL that GPipe exposes.

Example code

Clone GPipe-Test and build it with Haskell Stack $ stack build. This is the example from Part 1, below.

GPU programming in Haskell using GPipe

  • Part 1
    • Hello triangle!
    • The context
    • Rendering - This is what it's all about
    • Shader - A primer
    • Rasterization
    • Drawing and swapping
  • Part 2
    • Buffers
    • Vertex arrays
    • Primitive arrays
    • Index arrays
    • Instanced primitive arrays
  • Part 3
    • Welcome to the Shader!
    • Primitive streams
    • Error handling in Gpipe
    • Enough of that, back to the shader
    • Linear algebra in GPipe
    • Uniforms
    • Working with lifted S-values
    • Combining Shader monads
  • Part 4
    • FragmentStreams
    • Textures
    • Samplers
    • Colors
    • Sampling
  • Part 5
    • Window formats
    • Window drawing actions
    • Drawing colors
    • Depth test
    • Stencil test
    • Custom filtering of fragments
    • Drawing to texture images
    • Demo time!

Feedback

Please submit bugs, questions, or suggestions for improvements to our documentation to our github repository, https://github.com/tobbebex/GPipe-Core .

gpipe-core's People

Contributors

onixie avatar plredmond avatar tobbebex 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.