Description: 利用opengl画五角星,本程序是在VC环境下利用openGL实现五角星画法。-Using opengl draw pentacle, the program is under the environment of the VC to achieve five-pointed star openGL drawing. Platform: |
Size: 16384 |
Author:高敏 |
Hits:
Description: 我们在用OpenGL绘图时往往想制作一些复合图形以及凹凸多边形,像五角星、大的矩形里再画一个小的矩形;另外有时还想做些镂空图或类似的效果。这时我们可以开启模板测试功能来完成。-When we tend to want to use OpenGL graphics to make some complex polygon graphics and irregularities, such as five-pointed star, and then draw a large rectangle in a small rectangle another may want to do some hollow chart or similar effect. Then we can open the mask test function to complete. Platform: |
Size: 346112 |
Author:WY |
Hits:
Description: 在vc++6.0环境下,基于OPENGL实现图形学设计内容。包括实现五边形到五角星的动态变换;利用DDA、中点画线法、Bresenham算法画直线;利用中点画圆法、Bresenham算法画圆;利用栅栏填充、扫描线填充实现多边形内部颜色填充;以及实现二维图形、三维图形的平移、放大、缩小、对称、旋转、错切等基本图形变换。(In vc++6.0 environment, we design content based on OPENGL. It includes the dynamic transformation of Pentagon to pentagonal star, using DDA, middle point drawing and Bresenham algorithm to draw straight lines; using middle point drawing circle method and Bresenham algorithm to draw circle; using fence filling and scanning line filling to fill in polygon interior color filling; and realizing the translation, enlargement and reduction of two-dimensional graphics and 3D graphics. Basic graphic transformation, such as symmetry, rotation, and error cutting.) Platform: |
Size: 4198400 |
Author:水无缘 |
Hits: