CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - glTexImage2D
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - glTexImage2D - List
[
OpenGL program
]
3D
DL : 0
3D地形模拟2(带纹理)PocketPC版 依据一本OpenGL上的例子修改的,在OGLES上没有找到绘画QUAD的函数,就用了两个三角形来替代,主要用到的还有FOG等效果,其实在PPC上能够体现出来的性能极其有限了。 带纹理的,主要要用到glTexImage2D,效果如图。使用的时候将纹理文件tr.rgb放到根目录下即可。 运行时,按左右将重新生成随机地形,按下退出。
Update
: 2008-10-13
Size
: 338.57kb
Publisher
:
JEFFSON
[
OpenGL program
]
MyTerrain1
DL : 0
3D地形模拟2(带纹理)PC版 依据一本OpenGL上的例子修改的,在OGLES上没有找到绘画QUAD的函数,就用了两个三角形来替代,主要用到的还有FOG等效果。 带纹理的,主要要用到glTexImage2D,效果如图。使用的时候将纹理文件tr.rgb放到根目录下即可。 运行时,按左右将重新生成随机地形,按下退出。
Update
: 2008-10-13
Size
: 98.81kb
Publisher
:
g
[
SourceCode
]
Texturing2D
DL : 0
windows mobile平台上 opengles 纹理贴图例子
Update
: 2011-08-17
Size
: 2.91mb
Publisher
:
yaoxidao
[
OpenGL program
]
3D
DL : 0
3D地形模拟2(带纹理)PocketPC版 依据一本OpenGL上的例子修改的,在OGLES上没有找到绘画QUAD的函数,就用了两个三角形来替代,主要用到的还有FOG等效果,其实在PPC上能够体现出来的性能极其有限了。 带纹理的,主要要用到glTexImage2D,效果如图。使用的时候将纹理文件tr.rgb放到根目录下即可。 运行时,按左右将重新生成随机地形,按下退出。 -err
Update
: 2025-02-19
Size
: 338kb
Publisher
:
JEFFSON
[
OpenGL program
]
MyTerrain1
DL : 0
3D地形模拟2(带纹理)PC版 依据一本OpenGL上的例子修改的,在OGLES上没有找到绘画QUAD的函数,就用了两个三角形来替代,主要用到的还有FOG等效果。 带纹理的,主要要用到glTexImage2D,效果如图。使用的时候将纹理文件tr.rgb放到根目录下即可。 运行时,按左右将重新生成随机地形,按下退出。-3D terrain simulation 2 (with texture) PC version of OpenGL on the basis of a modified example, in OGLES on QUAD painting did not find the function, used to replace the two triangles, there are mainly used, such as the effect of FOG. With texture, the main use to glTexImage2D, the effect of figure. When will the use of texture files into the root tr.rgb can. Running around will be re-generated by random topography, press Exit.
Update
: 2025-02-19
Size
: 2.02mb
Publisher
:
g
[
Windows Develop
]
3DTerrainSimulationPCversion
DL : 0
3D地形模拟2(带纹理)PC版 依据一本OpenGL上的例子修改的,在OGLES上没有找到绘画QUAD的函数,就用了两个三角形来替代,主要用到的还有FOG等效果。 带纹理的,主要要用到glTexImage2D,效果如图。使用的时候将纹理文件tr.rgb放到根目录下即可。 运行时,按左右将重新生成随机地形,按下退出。-3D terrain simulation 2 (with texture) PC version of OpenGL on the basis of a modified example, on OGLES at QUAD painting did not find the function, used to replace the two triangles, the main use, etc. have the effect of FOG. With texture, the main use to glTexImage2D, the effect of figure. When will the use of texture files into the root tr.rgb can. Running around will be re-generated by random topography, press Exit.
Update
: 2025-02-19
Size
: 105kb
Publisher
:
yingjieyang
[
Other
]
bitfont
DL : 0
abgr.c - Demonstrates the use of the extension EXT_abgr. The same image data is used for both ABGR and RGBA formats in glDrawPixels and glTexImage2D. The left side uses ABGR, the right side RGBA. The top polygon demonstrates use of texture, and the bottom image is drawn with glDrawPixels. Note that the textures are defined as 3 component, so the alpha value is not used in applying the DECAL environment. -abgr.c - Demonstrates the use of the extension EXT_abgr. The same image data is used for both ABGR and RGBA formats in glDrawPixels and glTexImage2D. The left side uses ABGR, the right side RGBA. The top polygon demonstrates use of texture, and the bottom image is drawn with glDrawPixels. Note that the textures are defined as 3 component, so the alpha value is not used in applying the DECAL environment.
Update
: 2025-02-19
Size
: 1kb
Publisher
:
Rakesh
[
assembly language
]
02
DL : 0
纹理的最终映射利用glTexCoord2f()或gluQuadricTexture()函数。纹理图像的指定有两种方式:一种是利用显式的glTexImage2D();二是利用隐式方式,使用auxDIBImageLoad()、glGenTextures()、glBindTexture()与gluBuild2DMipmaps()函数。房子的位置与尺寸可以直接利用OpenGL入门程序。隐式方式纹理映射的代码可以参考“基于GLUT的OpenGL入门”。-The final texture mapping using glTexCoord2f () or gluQuadricTexture () function. Texture image in the specified there are two ways: one is to use an explicit glTexImage2D () Second, using the implicit way, using auxDIBImageLoad (), glGenTextures (), glBindTexture () and gluBuild2DMipmaps () function. The location of the house and size can be directly use OpenGL entry procedures. Implicit way of texture mapping code can refer to based on the introduction to GLUT of OpenGL.
Update
: 2025-02-19
Size
: 5.53mb
Publisher
:
m
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.