Posts

Robot Computer Graphics Program in C

Presenting Robot Computer Graphics Program in C OpenGL. The robot look more a human touch with colorful clothes.
Rajeev
Robot Computer Graphics Program in C
OpenGL is amazing, it have potential of great stuffs from creating a small triangle to big structures. We have seen many robot program in OpenGL . Here we come with another robot computer graphics program in C with the use of OpenGL API. Features  A human features with hands,legs, neck, head and face drawn with simple approach. A colorful robot with animation made. A dat file created that used as input for certain restrictions which we can't hard code in program. Four header files used - vars.h - It contains all the global variables used in the program. Also have dimension for the body if the robot.dat is unreadable or not present. file.h -  This header used for reading input from robot.dat file. keyboard.h -  As name suggests it contains keyboard input functions. mouse.h - Same as keyboard.h, it also have mouse input functions. Program uses selection buffer to determine what body part was selected, the judging by button pushed and mouse movement, the proper transformation is executed. M…

Post a Comment