逛奔的蜗牛

我不聪明,但我会很努力

   ::  :: 新随笔 ::  ::  :: 管理 ::
nate robins
main OPENGL chronicles allies
--- Tutors ---

Tutors source code package (tutors-src.zip 920KB) 

Source package + Windows executables (tutors-win32.zip 1.24MB) 

Source package + Mac OS X universal binaries (tutors-macosx.zip 1.2MB) 

Contributions from various people (Unix makefiles, etc). 

fog
(click on image to enlarge it)
The fog tutorial program (shown at right) demonstrates how to use depth cueing (or fog) in OpenGL. It includes command panels that allow dynamic update of the parameters for linear, exponential and exponential2 fog functions. The fog color can also be dynamically changed.
lightposition
(click on image to enlarge it)
The lightposition tutorial program (shown at left) demonstrates how lighting position is effected by the viewing transformation. The order in which the light position and the viewing transform are established is configurable, as are the parameters for the position and transform.
lightmaterial
(click on image to enlarge it)

The lightmaterial tutorial program (shown above) demonstrates how OpenGL lighting and material properties interact and effect each other. All material & light properties are tweakable. A second command panel allows spotlight parameters & attenuation factors to be changed.
projection
(click on image to enlarge it)
The projection tutorial program (shown at right) demonstrates how the many types of projection transformations work. A command panel is included for gluPerspective(), glOrtho() and glFrustum(). In addition, the viewing transform can be modified via the gluLookat() function.
transformation
(click on image to enlarge it)
The transformation tutorial program (shown at left) demonstrates how the basic transformations of rotate, translate and scale operate in OpenGL. The order of the transforms can be changed to see how that effects rendering.
texture
(click on image to enlarge it)

The texture tutorial program (shown above) demonstrates how OpenGL texturing works. Specifically, the texture coordinates for a polygon are provided for manipulation as are the polygons coordinates themselves. The texture parameter & environment attributes are tweakable. A separate command panel allows manipulation of the texture matrix.
shapes
(click on image to enlarge it)
The shapes tutorial program (shown at right) demonstrates how the many types of primitives work. A command panel for each primitive type is included. This tutorial was written by Mason Woo (mason@woo.com).



--- --- ---

@import url(http://www.cppblog.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
posted on 2013-04-19 00:24 逛奔的蜗牛 阅读(1080) 评论(1)  编辑 收藏 引用 所属分类: JavaC/C++QtOpenGL

评论

# re: OpenGL:展示OpenGL特性的软件Tutors 2014-07-19 11:51 Friv 3
感谢您分享这美妙的岗位。  回复  更多评论
  


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   博问   Chat2DB   管理