CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - normals
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Picture Viewer
2D Graphic
3D Graphic
Graph Drawing
Wavelet
GIS program
Fractal program
Special Effects
OpenGL program
Graph Recognize
CAD
OpenCV
VTK
Search - normals - List
[
Graph program
]
water.tar
DL : 0
使用纹理坐标,用简单的方法绘制漂亮的水面,水波使用了正弦函数和加入噪声的方法-Still using texture coordinates, this time here is a very simple way to render fancy water. Waves are shaped using both a sinus function and some Perlin noise. The same texture is used for both fake reflection and transparency, using texture spherical coordinates. Tweaking the texture may lead to quite a good result I think. Use left click to rotate, and right click to translate. You can also switch to wire-frame rendering using L, and get back using P or F. N toggles normals rendering.
Date
: 2026-01-09
Size
: 17kb
User
:
马兵
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.