Giter Site home page Giter Site logo

danodus / polyphony Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kenji-ishimaru/polyphony

0.0 0.0 0.0 24.85 MB

3D graphics rendering system for FPGA, the project contains hardware rasterizer, software geometry engine, and application middleware.

License: MIT License

C 21.36% Tcl 3.21% Verilog 72.70% Coq 2.73%

polyphony's Introduction

Polyphony: 3D Graphics Rendering System

Overview

Polyphony is a 3D graphics rendering system. Rasterizer is written in Verilog, and Geometry Engine is written in C.

Polyphony rasterizer internal block

  • Vendor-independent RTL design.
  • Interface: AXI4
  • Tested on FPGA boards.
  • GLES API is partially implemented.
  • Baremetal demo applications.

FPGA Board

Polyphony is implemented and tested on Zedboard.

zedboard block

Verilog RTL Simulation

Tested Environment

OS: CentOS7.8

Verilog Simulator: Icarus Verilog version 11.0

Test Scenarios

simple triangle rendering

cd sim_work
../bin/run_iv.sh ../scenario/3d/simple_triangle.v 

After finishing the simulation, VGA rendering result(result.bmp) will be generated.

simulation result

simple texture-mapped triangle rendering

cd sim_work
../bin/run_iv.sh ../scenario/3d/simple_triangle_tex.v 

After finishing the simulation, VGA rendering result(result.bmp) will be generated.

simulation result

Running the demo on FPGA board

see ZEDBOARD.md

Demo applications

moving lights

moving lights

cook-torrance shading model

cook-torrance

texture mapping

texture

skinning

skinning

anaglyph

skinning

License

This project is licensed under the MIT License - see the LICENSE file for details

3D graphics Library Header Files

This design utilizes GL, GLES, and GLU header files below.

  • GL
    • gl.h
    • glext.h
  • GLES
    • gl.h
    • glext.h
  • GLU
    • glu.h

polyphony's People

Contributors

kenji-ishimaru 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.