Description: 一款基于OPENGL的迷宫小游戏的源码,非常有意思的迷宫游戏,希望您尝试,利于学习OPENGL-OPENGL a labyrinth based on the game s source code, very interesting maze game, I hope you try to, conducive to learning OPENGL Platform: |
Size: 22528 |
Author:张林 |
Hits:
Description: 设计一个OpenGL程序,创建一个三维迷宫,支持替身通过一定交互手段在迷宫中漫游,基本功能包括:
迷宫应当至少包含10 * 10 个Cell,不能过于简单,下图给出一种示例。
读取给定的替身模型,加载到场景中。
键盘方向键控制替身转向与漫游。
有碰撞检测,替身不应当穿墙。
支持切换第一视角和第三视角进行观察。
迷宫场景中的墙、地面等应贴上纹理。
扩展功能:
迷宫地图编辑器,可以编辑已有迷宫以及新建迷宫
-Design an OpenGL program that creates a three-dimensional maze, through certain interactive tools to support avatars roam the maze, the basic features include: maze should contain at least 10* 10 Cell, not too simple, the following figure presents a sample. substitute for reading the given model is loaded into the scene. keyboard arrow keys to control avatars steering and roaming. collision detection, should not be a substitute wall. Support switching the first angle and third angle observation. maze scene walls, floors, etc. should be affixed texture. Extensions: maze map editor, you can edit existing as well as new labyrinth maze Platform: |
Size: 2538496 |
Author:张天扬 |
Hits:
Description: 通过把一个格子图中的一些边删除后生成迷宫图形.下图左边是一个5X5格子图, 有边是生成的一个迷宫图.给定一个MXN的格子图,请用种子填充算法生成一个迷宫图形(By removing some edges of a grid graph, we can create maze graphs. The left side is a 5X5 grid graph, with edges generating a labyrinth diagram. Given a MXN grid graph, please use seed filling algorithm to create a labyrinth graph.) Platform: |
Size: 23552 |
Author:leialexis
|
Hits: