From Second year Bachelor of Engineering Department of Infomation Technology. These are possible Computer Graphics (OpenGL) codes.
Problem statement is mentioned in the each file at beginning in comment.
Codes are totally functional on my Machine, if not working at your side it's probabaly due to you are dumb. As well as codes may be incorrect so try to understand your problem statement properly and then use these codes at your own risk ;-).