▍1. MyCS-VGE
运用OpenGL实现的一个虚拟场景,里面有山体的渲染、水的渲染、旗帜的渲染、房屋的渲染、下雪场景的渲染、3ds的载入、数据库链接以及路径算法等。 使用方法: P键:在房屋附近的路径上(一定要站在道路上才有效)按P键后,系统自动随机生成一个喜洋洋在地图上,并搜索你目前位置到它的最短路径,并在地面上显示。 空格键:系统只允许人在平地上行走,要实现全方位自由漫游需按空格键。 G键:天气的变化,可以切换下雪天和晴天。 鼠标左键:射击,把出现的喜洋洋射死后,它就自动消失了。 鼠标滑轮:控制移动速度。 其他键的功能自己根据代码探索吧。(Use OpenGL a virtual scene, there are mountains of rendering, rendering the water, the flag rendering, house rendering, snow scene rendering, 3ds loading, database links, and path algorithm. Usage: P key: the path near the house (must stand on the road to be effective) Press the P key, the system automatically generates a random radiant on the map, and search for your current location to its shortest path, and in the is displayed on the ground. Spacebar: The system only allows people to walk on flat ground, to achieve full freedom to roam basis having the spacebar. G key: the weather changes, you can switch snow days and sunny. Mouse button: shooting, shot after the emergence of the radiant, it automatically disappears. Mouse wheel: control movement speed. Other key features to explore their own right under the code.)