Posts

WireFrame SnowMan

Rajeev
WireFrame SnowMan
It's Fun to lean OpenGL! Today we are going to learn about making an WireFrame SnowMan from scratch. DOWNLOAD SOURCE CODE 1. Overview To draw a snowman in OpenGL C++, you need to first figure out the sketch line. Entire shape need to drawn with the help of proper OpenGL primitives and placed them at proper coordinate positions. So basically you need to understand the coordinate system properly. >Shape The shape of Snowman looks to be a big snowball which make body, and small ball over it which forms head. Now we have two dots over the small ball for creating eye and a conical shape for nose. >3D Coordinates We will draw the three lines across for each of the x, y, z axis. >User Interaction With this program user can move the camera position to left and right and zoom in and out. 2. Draw SnowMan To draw snow man we use the inbuilt function opengl. To draw the big ball body part, use the glutWireSphere and glutSolidSphere. To draw the eyes use only glutSolidSphere and for nose…

Post a Comment