国外程序员编写的基于OpenGL的3D地形引擎 terrainEngine
代码说明:
国外程序员编写的基于OpenGL的3D地形引擎。 errain Engine I started working on a terrain engine around October 2000. I was deeply moved by screenshots from black and white :) My intention and main goal was to create something visually stunning. This meant writing a terrain texture-generator, and working hard to find good textures and blending modes. The outcome is an engine that hold a (supposedly) 1km by 1km piece of terrain with very high accuracy. There is no triangle-cutting algorithm employed, simple brute-force. I use a large terrain texture and a tiling detail texture. There s a skybox and the terrain reflects on the water. I used OpenGL for this one, employing the OGLC skeleton to avoid most of the opengl-win32 business. You can move through this world using descent keys (a,z, keypad). use w to switch to wire-frame and d to render without the detail texture.(foreign programmers prepared by the OpenGL-based 3D terrain engine. Errain Engine I started working on a terrain eng stimulant around October 2000. I was deeply moved by sc reenshots from black and white : ) My intention and main goal was to create someth ing visually stunning. This meant writing a ter rain texture-generator, and working hard to find good blend textures and ing modes. The outcome is an engine that hold a ('s upposedly) 1km by 1km piece of terrain with very high accuracy. There is no triangle-cutting al gorithm employed. simple brute-force. I use a large terrain textu 're a tiling detail and texture. There's a skybox a nd the terrain reflects on the water. I used Open GL for this one. employing the OGLC skeleton to avoid most of the opengl- win32 business. You )
文件列表:
terrain engine
..............\bin
..............\...\Terrain.exe
..............\data
..............\....\SkyBox
..............\....\......\SkyBox5.bmp
..............\readme.txt
..............\source
..............\......\GLEXT.h
..............\......\imgLoadBMP.cpp
..............\......\imgLoadBMP.h
..............\......\IOFile.cpp
..............\......\IOFile.h
..............\......\OGLCMainHeader.h
..............\......\PTypes.h
..............\......\RImage.cpp
..............\......\RImage.h
..............\......\RTexture.cpp
..............\......\RTexture.h
..............\......\Std.h
..............\......\Win32Framework.cpp
..............\......\YourCode.cpp
..............\tools
..............\.....\texgen
..............\.....\......\ijl.h
..............\.....\......\my_jpg_interface.cpp
..............\.....\......\my_jpg_interface.h
..............\.....\......\texgen.cpp
..............\.....\......\texgen.dsp
..............\.....\......\texgen.dsw
..............\.....\......\texgen.h
..............\.....\......\textures
..............\VC6Project
..............\..........\base.h
..............\..........\DynamicCamera.cpp
..............\..........\DynamicCamera.h
..............\..........\ending.cpp
..............\..........\ending.h
..............\..........\matrix.cpp
..............\..........\matrix.h
..............\..........\Terrain.cpp
..............\..........\Terrain.h
..............\..........\VCProject.dsp
..............\..........\VCProject.dsw
..............\..........\VCProject.sln
..............\..........\VCProject.vcproj
..............\..........\vector.cpp
..............\..........\vector.h
..............\..........\YourCode.cpp
..............\..........\YourCode.h
下载说明:请别用迅雷下载,失败请重下,重下不扣分!