Polygon sample of Gouraud shading.
In order to implement polygons in an FPGA, I first wrote C++ using floating point and then remodeled it to fixed point.
The JavaScript implementation was useful to get the first spaghetti code in perspective.
C++ sample writed by floating point.
Using VisualStudio2015.
JavaScript sample.
It has been tested on IE11, Firefox, and Chrome.
Sample page
C++ sample writed by fixed point.
Using VisualStudio2015.
FPGA sample for DE0 board.
Using Altera QuartusII 12.1sp1.

