Before going into OpenGL Programming of 3D Bi-Cycle, let know in brief about OpenGL.
First we need to structures the Bi-Cycle - find different part and create a function for each of them. Finally all the functions can be used in display to show it on the screen.
Different parts of Bi-Cycle are - Frame, Gears, Tyre, Chain, Pedals and Seat.
Draw Frame
Since a Bi-Cycle Frame consists of different part so it need to be drawn by using different primitive objects. Road of the Bi-Cycle is in cylindrical form so we have formed two function - Xcylinder and ZCylinder. These two functions take the parameter - radius and length.
3D Bi-Cycle OpenGL Programming
OpenGL Programming in C++ for 3D bicycle. Download the free source code for 3D bi-cycle with OpenGL Programming.