Altera_Forum
Honored Contributor
16 years agoDE2 VGA display using OpenGL?
I apologize if this is the wrong area to make this post; I have been trying to find this information on Google but am having no luck.
I'm working on a school project involving VGA graphics using the Altera DE2 board (NIOS II). The graphics are fairly simple, just a few rectangles. I've looked at some sample code for creating output using the VGA...in a nutshell, it individually turns on pixels using a line drawing algorithm. I was planning to use a similar method, but I noticed there was a GL folder in the auto generated include files in the NIOS II IDE. I'd much rather use OpenGL to program the graphics, if possible. Since my knowledge of programming graphics is extremely limited (this is my first attempt), I don't know how to find the answers to the questions I have, so I was hoping I could start here. First of all, is it feasible to use the Altera DE2 board program with OpenGL (does it have the proper hardware, powerful enough, etc)? Secondly, if using GL is possible, how can I use it to display with the VGA port?