#include#includeGLintploypoint=0;GLintployline=-1;GLintheight;GLintchoose=0;GLintmove_ployline,move_ploypoint;structPoint{ intx; inty;};structGLintPointArray{ Pointpoint[60];};GLintPointArrayploy[60];voiddrawPointLine(){ for(inti=0;i<=ployline;i++) { glBegin(GL_LINE_STRIP); for(intk=0;k<60;k++) { if(ploy[i].point[k].x!=0&&ploy[i].point[k].y!=0) glVertex2i(ploy[i].point[k].x,ploy[i].point[k].y); } g-IMDN开发者社群-imdn.cn">
#include#includeGLintploypoint=0;GLintployline=-1;GLintheight;GLintchoose=0;GLintmove_ployline,move_ploypoint;structPoint{ intx; inty;};structGLintPointArray{ Pointpoint[60];};GLintPointArrayploy[60];voiddrawPointLine(){ for(inti=0;i<=ployline;i++) { glBegin(GL_LINE_STRIP); for(intk=0;k<60;k++) { if(ploy[i].point[k].x!=0&&ploy[i].point[k].y!=0) glVertex2i(ploy[i].point[k].x,ploy[i].point[k].y); } g - IMDN开发者社群-imdn.cn">
首页 »
OpenGL图像 »
OpenGL MUST Project 1[Polyline Editor] use Array of C++
于 2022-05-15 发布
文件大小:1.42 kB
0 213
// student name:
// student ID:
// date:
/*#include "D:HomeworkOpenGLFinalCGLabGLUT_Toolkitglut.h"*/
#include
#include
#include
GLint ploypoint = 0;
GLint ployline=-1;
GLint height;
GLint choose=0;
GLint move_ployline,move_ploypoint;
struct Point
{
int x;
int y;
};
struct GLintPointArray
{
Point point[60];
};
GLintPointArray ploy[60];
void drawPointLine()
{
for (int i=0;i
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
opengl 人体动画设计
这是一个关于opengl的应用程序,基于MFC程序框架 ,用opengl设计人体动画,喜欢opengl的朋友可以看看,很有趣的,学习opengl的朋友也可以看看
2022-01-28 11:34:26下载
积分:1
VC+OpenGL做的,还有些bug,显示二维是根据高程的分层设色,三维能很明显表现出地形起伏....
VC+OpenGL做的,还有些bug,显示二维是根据高程的分层设色,三维能很明显表现出地形起伏.-VC OpenGL done, but also some bug show is based on two-dimensional layered elevation colors, 3-D can be shown very clearly undulating topography.
2023-04-19 08:05:04下载
积分:1
OpenGl等高线生成和内插
OpenGl等高线生成和内插-OpenGl contour generation and interpolation
2022-12-16 08:00:03下载
积分:1
opengl 编程环境配置 ,用来给opengl 指路
opengl编程环境配置 ,用来给opengl指路-opengl programming environment configuration, used to opengl Beacon
2023-02-03 18:10:04下载
积分:1
一个有利于入门者学习的opengl 程序,介绍了如何在windows环境下进行opengl 编程,包括opengl 的初始化等步骤,注释相当完美!...
一个有利于入门者学习的opengl程序,介绍了如何在windows环境下进行opengl编程,包括opengl的初始化等步骤,注释相当完美!-a beginners to learn opengl procedures, described how the windows environment for the conduct of opengl programming, opengl including steps such as the initialization of the Notes quite perfect!
2022-04-11 20:37:33下载
积分:1
一款经典的vc opengl 例程。实现了多种绘图 效果。并且提供了视角变换功能...
一款经典的vc opengl例程。实现了多种绘图效果。并且提供了视角变换功能-vc opengl routines. Achieve a variety of graphics effects. And to provide a perspective transformation function
2023-04-23 07:20:02下载
积分:1
OPenGL超级宝典源代码,6――10课,适合初学者
OPenGL超级宝典源代码,6――10课,适合初学者-OpenGL source code 6-- 10 classes for beginners
2022-09-30 13:20:07下载
积分:1
一个3D 的基于Opengl的游戏和仿真用的引擎库。
一个3D 的基于Opengl的游戏和仿真用的引擎库。-a 3D-based Opengl game and simulation of the engine.
2023-07-18 15:10:03下载
积分:1
AR enhanced virtual reality, can be transplanted to the Windows Iphone Android m...
AR 增强虚拟现实,可以移植到到WindowsMobile手机Iphone Android平台的 tracker识别,可以配合 OpenGL Direct编写大型增强虚拟现实程序。-AR enhanced virtual reality, can be transplanted to the Windows Iphone Android mobile phone platform tracker identification, will be compatible with the OpenGL Direct the preparation of large-scale virtual reality to enhance the procedure.
2022-02-09 18:00:20下载
积分:1
c++ 结合opengl 开发的简单3D绘图
c++ 结合opengl开发的简单3D绘图-c++ combination opengl developed a simple 3D graphics
2022-07-08 09:33:32下载
积分:1