opengl
那年白马啸西风
纵有万般非吾属,伴得白马啸西风
展开
-
基于opengl的3d漫游游戏 - 古堡危机之丧尸围城
作品名称:《古堡危机》小组团队名称: 拾荒三人组日期:2018年12月目录第一章 简介 3前言 3项目的创意设想、游戏类型、实现的功能、项目意义 3Opengl 4作品代表图 5软硬件环境说明 5游戏操作说明 6项目制作过程进度,开发周期 6本说明文档结构 7第二章 场景搭建 8建立坐标系 8天空盒 9地形的生成 10灯塔模型 13树木 13小结 14第三章 第一人称场景漫游 15基础理论 15角色位置及视角控制 1原创 2020-06-08 21:11:55 · 5555 阅读 · 1 评论 -
基于opengl的2d机器人双人格斗游戏
2D 项目简介项目的创意设想、实现功能、项目意义(200字左右)作品代表图项目名:机器人双人格斗游戏项目的创意设想:当前ai大火,机器人也是日常生活中的一个热点,自己在小学乃至高中也经常玩格斗游戏。曾经也想过格斗游戏是怎么做的,可是那时候条件有限,而且也没有编程基础。这个想法就一直留到了大学。到大三学习计算机图形学,也有了一定的编程基础,认为这个格斗游戏可以自己完成了...原创 2019-04-05 00:59:09 · 1687 阅读 · 0 评论 -
opengl 雷霆战机 2d
// hsb_雷霆战机_20181005.cpp : 定义应用程序的入口点。///* 作者: 时间:2018.10.03 - 2018.10.05 功能:雷霆战机*/#include "stdafx.h"#include "hsb_雷霆战机_20181005.h"#include "myPlane.h"#include <GL/glut.h>...原创 2019-04-05 00:25:39 · 493 阅读 · 0 评论 -
opengl学习篇之 画直线 圆 和矩形
// opengl画直线程序框架.cpp : 定义应用程序的入口点。////鼠标画线小程序#include "stdafx.h"#include "opengl画直线程序框架.h"#include <glut.h>#include <math.h>#define N 1000 //maximum line numbers#define Pi...原创 2019-04-05 11:08:37 · 1732 阅读 · 0 评论 -
opengl学习之 编码裁剪法
#include "stdafx.h"#include "编码裁剪法.h"//鼠标画线小程序#include <glut.h>#define N 1000 //maximum line numbersint ww, hh; // for display window width and heightint line[N][4], k = 0; /...原创 2019-04-05 10:01:36 · 720 阅读 · 0 评论 -
opengl学习之 太阳系
#include <glut.h>#include <math.h>#define PI 3.141592int rs = 80, re = 50, rm = 10;int distSE = 190, distSM = 270;int angleS = 0, angleE = 0, angleM = 0;int angleES = 0, angleME = 0,...原创 2019-04-05 09:59:48 · 1230 阅读 · 1 评论 -
opengl学习之 旋转的六边形
#include <glut.h>#include <math.h>#define PI 3.14159 //设置圆周率int n = 6, R = 10; //多边形变数,外接圆半径float cx = 0, cy = 0;float theta = 0.0; //旋转初始角度值void Keyboard(unsigned char key, int ...原创 2019-04-05 09:57:48 · 2586 阅读 · 0 评论 -
opengl学习之 DDA画直线算法 Bresenham画直线算法
// 计算机图形学_实验5_20181017.cpp : 定义应用程序的入口点。//#include "计算机图形学_实验5_20181017.h"#include <graphics.h>#include <conio.h>// circle algorithm.cpp : Defines the entry point for the console ap...原创 2019-04-05 09:55:13 · 1246 阅读 · 0 评论