LodGeoshpere
所属分类:OpenGL
开发工具:Visual C++
文件大小:491KB
下载次数:108
上传日期:2008-12-18 22:22:00
上 传 者:
zhanghj167
说明: 该程序实现了一个LOD编程实例,根据视点与对象的距离,以不同的网格数来绘制球体,程序中球体表面是通过若干三角形来逼近的。
(The program implements a LOD programming examples, according to the distance between the target point of view and in different grid to draw a number of spheres, spherical surface is the process through a number of triangles to approximation.)
文件列表:
LodGeoshpere\geospheres.jpg (215322, 2000-12-14)
LodGeoshpere\LODGEO.C (18028, 2002-12-12)
LodGeoshpere\lodgeosphere.dsp (4338, 2000-09-26)
LodGeoshpere\lodgeosphere.dsw (549, 2000-07-27)
LodGeoshpere\lodgeosphere.ncb (74752, 2002-12-12)
LodGeoshpere\lodgeosphere.opt (49664, 2002-12-12)
LodGeoshpere\lodgeosphere.plg (1294, 2002-12-12)
LodGeoshpere\MATRIX.C (2836, 2002-12-12)
LodGeoshpere\MATRIX.H (1418, 2002-12-12)
LodGeoshpere\PLANETS.XLS (15360, 2001-01-07)
LodGeoshpere\SUN.RAW (49152, 2001-01-13)
LodGeoshpere\win_control.c (5488, 2002-12-12)
LodGeoshpere\win_control.h (480, 2000-09-24)
LodGeoshpere\Debug (0, 2008-12-18)
LodGeoshpere (0, 2008-12-18)
Geomorphing Geospheres V 1.0
This program was based off the OpenGl programming guide's subdivision geosphere's section,
and add adds geomorphing to it.
Notes:
Real life distance mode is currently pretty useless as every planet is beyond far away.
Speed Could be improved by culling more faces out.
LOD setup would be better if it was progressive per planet.
Demo runs well on a p200 and would probably run on even slower computers
This Code Could be used as a base to some progressive mesh structure, or it could
be the beginnnings to a cool astrology program, or it could just exist for you
to look at and enjoy.
Enjoy
You may use the included source to your own desire but please draw reference
to our web page.
You can change the fps lock by pressing:
'-' to make the program try to reach a lower fps.
or
'+'(shift =) to make the program try and reach a higher fps.
Movement Keys are as follows
up/down move forward/backward
q/w straft left/right
a/z strafe up/down
s/x look up/down
left/right look left/right
pgup/pgdown roll left/right
end stop camera
Other Keys
space toggles animation
F toggles wireframe mode
r places the planets in real life distance mode
R places the planets in practical viewing mode
The viewsize can be changed from the command line:
ie. lodgeosphere ***0 480
- Chad Sterling
chads@firetoads.com
Sept 26th 2000
www.firetoads.com
近期下载者:
相关文件:
收藏者: