实例介绍
OpenGL超级宝典第五版的源码。没错是源码啊啊啊啊啊啊啊。
【实例截图】
【核心代码】
abc4b0ad-efb1-4e45-9deb-5969e4e830a8
└── OpenGL超级宝典完整源码(第五版)
├── freeglut-2.6.0
│ ├── aclocal.m4
│ ├── AUTHORS
│ ├── autogen.sh
│ ├── autom4te.cache
│ │ ├── output.0
│ │ ├── output.1
│ │ ├── requests
│ │ ├── traces.0
│ │ └── traces.1
│ ├── ChangeLog
│ ├── compile
│ ├── config.guess
│ ├── config.h.in
│ ├── config.sub
│ ├── configure
│ ├── configure.ac
│ ├── COPYING
│ ├── depcomp
│ ├── doc
│ │ ├── download.html
│ │ ├── freeglut.html
│ │ ├── freeglut_logo.png
│ │ ├── freeglut_user_interface.html
│ │ ├── index.html
│ │ ├── Makefile.am
│ │ ├── Makefile.in
│ │ ├── ogl_sm.png
│ │ ├── progress.html
│ │ └── structure.html
│ ├── freeglut.dep
│ ├── freeglut.dsp
│ ├── freeglut.dsw
│ ├── freeglut_evc4.vcp
│ ├── freeglut_evc4.vcw
│ ├── freeglut.kdevelop
│ ├── freeglut.kdevprj
│ ├── freeglut.lsm
│ ├── freeglut.mak
│ ├── freeglut.rc
│ ├── freeglut.spec
│ ├── freeglut_static.dep
│ ├── freeglut_static.dsp
│ ├── freeglut_static.mak
│ ├── FrequentlyAskedQuestions
│ ├── include
│ │ ├── GL
│ │ │ ├── freeglut_ext.h
│ │ │ ├── freeglut.h
│ │ │ ├── freeglut_std.h
│ │ │ ├── glut.h
│ │ │ ├── Makefile.am
│ │ │ └── Makefile.in
│ │ ├── Makefile.am
│ │ └── Makefile.in
│ ├── INSTALL
│ ├── install-sh
│ ├── LISEZ_MOI
│ ├── LISEZMOI.cygwin_mingw
│ ├── ltmain.sh
│ ├── Makefile.am
│ ├── Makefile.in
│ ├── Makefile.wat
│ ├── missing
│ ├── NEWS
│ ├── progs
│ │ ├── demos
│ │ │ ├── CallbackMaker
│ │ │ │ ├── CallbackMaker.c
│ │ │ │ ├── CallbackMaker.dsp
│ │ │ │ ├── CallbackMakerStatic.dsp
│ │ │ │ ├── Makefile.am
│ │ │ │ └── Makefile.in
│ │ │ ├── demos.dsw
│ │ │ ├── Fractals
│ │ │ │ ├── fractals.c
│ │ │ │ ├── fractals.dat
│ │ │ │ ├── Fractals.dsp
│ │ │ │ ├── FractalsStatic.dsp
│ │ │ │ ├── Makefile.am
│ │ │ │ └── Makefile.in
│ │ │ ├── Fractals_random
│ │ │ │ ├── fractals.dat
│ │ │ │ ├── fractals_random.c
│ │ │ │ ├── Fractals_random.dsp
│ │ │ │ ├── Fractals_randomStatic.dsp
│ │ │ │ ├── Makefile.am
│ │ │ │ └── Makefile.in
│ │ │ ├── Lorenz
│ │ │ │ ├── lorenz.c
│ │ │ │ ├── lorenz.dsp
│ │ │ │ ├── lorenzStatic.dsp
│ │ │ │ ├── Makefile.am
│ │ │ │ └── Makefile.in
│ │ │ ├── Makefile.am
│ │ │ ├── Makefile.in
│ │ │ ├── One
│ │ │ │ ├── Makefile.am
│ │ │ │ ├── Makefile.in
│ │ │ │ ├── one.c
│ │ │ │ ├── one.dsp
│ │ │ │ └── oneStatic.dsp
│ │ │ ├── shapes
│ │ │ │ ├── Makefile.am
│ │ │ │ ├── Makefile.in
│ │ │ │ ├── shapes.c
│ │ │ │ ├── shapes.dsp
│ │ │ │ └── shapesStatic.dsp
│ │ │ ├── smooth_opengl3
│ │ │ │ ├── Makefile.am
│ │ │ │ ├── Makefile.in
│ │ │ │ ├── smooth_opengl3.c
│ │ │ │ ├── smooth_opengl3.dsp
│ │ │ │ └── smooth_opengl3Static.dsp
│ │ │ └── spaceball
│ │ │ ├── Makefile.am
│ │ │ ├── Makefile.in
│ │ │ ├── spaceball.c
│ │ │ ├── spaceball.dsp
│ │ │ ├── spaceball_static.dsp
│ │ │ ├── vmath.c
│ │ │ ├── vmath.h
│ │ │ └── vmath.inl
│ │ ├── Makefile.am
│ │ └── Makefile.in
│ ├── README
│ ├── README.cygwin_mingw
│ ├── README.win32
│ ├── src
│ │ ├── freeglut_callbacks.c
│ │ ├── freeglut_cursor.c
│ │ ├── freeglut_display.c
│ │ ├── freeglutdll.def
│ │ ├── freeglut_ext.c
│ │ ├── freeglut_font.c
│ │ ├── freeglut_font_data.c
│ │ ├── freeglut_gamemode.c
│ │ ├── freeglut_geometry.c
│ │ ├── freeglut_glutfont_definitions.c
│ │ ├── freeglut_init.c
│ │ ├── freeglut_input_devices.c
│ │ ├── freeglut_internal.h
│ │ ├── freeglut_joystick.c
│ │ ├── freeglut_main.c
│ │ ├── freeglut_menu.c
│ │ ├── freeglut_misc.c
│ │ ├── freeglut_overlay.c
│ │ ├── freeglut_spaceball.c
│ │ ├── freeglut_state.c
│ │ ├── freeglut_stroke_mono_roman.c
│ │ ├── freeglut_stroke_roman.c
│ │ ├── freeglut_structure.c
│ │ ├── freeglut_teapot.c
│ │ ├── freeglut_teapot_data.h
│ │ ├── freeglut_videoresize.c
│ │ ├── freeglut_window.c
│ │ ├── Makefile.am
│ │ ├── Makefile.in
│ │ └── templates
│ │ ├── cpp_template
│ │ └── header_template
│ ├── TODO
│ ├── VisualStudio2008
│ │ ├── CallbackMaker
│ │ │ └── CallbackMaker.vcproj
│ │ ├── Fractals
│ │ │ └── Fractals.vcproj
│ │ ├── Fractals_random
│ │ │ └── Fractals_random.vcproj
│ │ ├── freeglut.sln
│ │ ├── freeglut.vcproj
│ │ ├── Lorenz
│ │ │ └── Lorenz.vcproj
│ │ ├── One
│ │ │ └── One.vcproj
│ │ ├── shapes
│ │ │ └── shapes.vcproj
│ │ └── smooth_opengl3
│ │ └── smooth_opengl3.vcproj
│ └── VisualStudio2008Static
│ ├── CallbackMaker
│ │ ├── CallbackMaker.vcproj
│ │ ├── CallbackMaker.vcproj.STARSTON-F206D5.rwright.user
│ │ └── Release
│ │ ├── BuildLog.htm
│ │ ├── CallbackMaker.exe.intermediate.manifest
│ │ └── mt.dep
│ ├── Fractals
│ │ ├── Fractals.vcproj
│ │ ├── Fractals.vcproj.STARSTON-F206D5.rwright.user
│ │ └── Release
│ │ ├── BuildLog.htm
│ │ ├── Fractals.exe.intermediate.manifest
│ │ └── mt.dep
│ ├── Fractals_random
│ │ ├── Debug
│ │ │ ├── BuildLog.htm
│ │ │ ├── Fractals_random.exe.embed.manifest
│ │ │ ├── Fractals_random.exe.embed.manifest.res
│ │ │ ├── Fractals_random.exe.intermediate.manifest
│ │ │ └── mt.dep
│ │ ├── Fractals_random.vcproj
│ │ ├── Fractals_random.vcproj.STARSTON-F206D5.rwright.user
│ │ └── Release
│ │ ├── BuildLog.htm
│ │ ├── Fractals_random.exe.intermediate.manifest
│ │ └── mt.dep
│ ├── freeglut.sln
│ ├── freeglut.suo
│ ├── freeglut.vcproj
│ ├── freeglut.vcproj.STARSTON-F206D5.rwright.user
│ ├── Lorenz
│ │ ├── Debug
│ │ │ ├── BuildLog.htm
│ │ │ ├── Lorenz.exe.embed.manifest
│ │ │ ├── Lorenz.exe.embed.manifest.res
│ │ │ ├── Lorenz.exe.intermediate.manifest
│ │ │ └── mt.dep
│ │ ├── Lorenz.vcproj
│ │ ├── Lorenz.vcproj.STARSTON-F206D5.rwright.user
│ │ └── Release
│ │ ├── BuildLog.htm
│ │ ├── Lorenz.exe.intermediate.manifest
│ │ └── mt.dep
│ ├── One
│ │ ├── Debug
│ │ │ ├── BuildLog.htm
│ │ │ ├── mt.dep
│ │ │ ├── One.exe.embed.manifest
│ │ │ ├── One.exe.embed.manifest.res
│ │ │ └── One.exe.intermediate.manifest
│ │ ├── One.vcproj
│ │ ├── One.vcproj.STARSTON-F206D5.rwright.user
│ │ └── Release
│ │ ├── BuildLog.htm
│ │ ├── mt.dep
│ │ └── One.exe.intermediate.manifest
│ ├── Release
│ │ ├── BuildLog.htm
│ │ └── freeglut_static.lib
│ ├── shapes
│ │ ├── Release
│ │ │ ├── BuildLog.htm
│ │ │ ├── mt.dep
│ │ │ └── shapes.exe.intermediate.manifest
│ │ ├── shapes.vcproj
│ │ └── shapes.vcproj.STARSTON-F206D5.rwright.user
│ └── smooth_opengl3
│ ├── Release
│ │ ├── BuildLog.htm
│ │ ├── mt.dep
│ │ └── smooth_opengl3.exe.intermediate.manifest
│ ├── smooth_opengl3.vcproj
│ └── smooth_opengl3.vcproj.STARSTON-F206D5.rwright.user
├── Linux
│ ├── Chapter01
│ │ └── Block
│ │ ├── Block
│ │ └── Makefile
│ ├── Chapter02
│ │ ├── Bounce
│ │ │ ├── Bounce
│ │ │ └── Makefile
│ │ ├── Move
│ │ │ ├── Makefile
│ │ │ └── Move
│ │ └── Triangle
│ │ ├── Makefile
│ │ └── Triangle
│ ├── Chapter03
│ │ ├── Blending
│ │ │ ├── Blending
│ │ │ └── Makefile
│ │ ├── GeoTest
│ │ │ ├── GeoTest
│ │ │ └── Makefile
│ │ ├── Primitives
│ │ │ ├── Makefile
│ │ │ └── Primitives
│ │ ├── Scissor
│ │ │ ├── Makefile
│ │ │ └── Scissor
│ │ └── Smoother
│ │ ├── Makefile
│ │ └── Smoother
│ ├── Chapter04
│ │ ├── ModelViewProjection
│ │ │ ├── Makefile
│ │ │ └── ModelViewProjection
│ │ ├── Move
│ │ │ ├── Makefile
│ │ │ └── Move
│ │ ├── Objects
│ │ │ ├── Makefile
│ │ │ └── Objects
│ │ ├── Orthographic
│ │ │ ├── Makefile
│ │ │ └── OrthoGraphic
│ │ ├── Perspective
│ │ │ ├── Makefile
│ │ │ └── Perspective
│ │ ├── SphereWorld
│ │ │ ├── Makefile
│ │ │ └── SphereWorld
│ │ ├── SphereWorld2
│ │ │ ├── Makefile
│ │ │ └── SphereWorld2
│ │ ├── SphereWorld3
│ │ │ ├── Makefile
│ │ │ └── SphereWorld3
│ │ └── SphereWorld4
│ │ ├── Makefile
│ │ └── SphereWorld4
│ ├── Chapter05
│ │ ├── Anisotropic
│ │ │ ├── Anisotropic
│ │ │ ├── brick.tga
│ │ │ ├── ceiling.tga
│ │ │ ├── floor.tga
│ │ │ └── Makefile
│ │ ├── Pyramid
│ │ │ ├── Makefile
│ │ │ ├── Pyramid
│ │ │ └── stone.tga
│ │ ├── SphereWorld
│ │ │ ├── Makefile
│ │ │ ├── Marble.tga
│ │ │ ├── Marslike.tga
│ │ │ ├── MoonLike.tga
│ │ │ └── SphereWorld
│ │ └── Tunnel
│ │ ├── brick.tga
│ │ ├── ceiling.tga
│ │ ├── floor.tga
│ │ ├── Makefile
│ │ └── Tunnel
│ ├── Chapter06
│ │ ├── ADSGouraud
│ │ │ ├── ADSGouraud
│ │ │ ├── ADSGouraud.fp
│ │ │ ├── ADSGouraud.vp
│ │ │ └── Makefile
│ │ ├── ADSPhong
│ │ │ ├── ADSPhong
│ │ │ ├── ADSPhong.fp
│ │ │ ├── ADSPhong.vp
│ │ │ └── Makefile
│ │ ├── DiffuseLight
│ │ │ ├── DiffuseLight
│ │ │ ├── DiffuseLight.fp
│ │ │ ├── DiffuseLight.vp
│ │ │ └── Makefile
│ │ ├── Dissolve
│ │ │ ├── Clouds.tga
│ │ │ ├── Dissolve
│ │ │ ├── Dissolve.fp
│ │ │ ├── Dissolve.vp
│ │ │ └── Makefile
│ │ ├── FlatShader
│ │ │ ├── FlatShader
│ │ │ ├── FlatShader.fp
│ │ │ ├── FlatShader.vp
│ │ │ └── Makefile
│ │ ├── LitTexture
│ │ │ ├── ADSTexture.fp
│ │ │ ├── ADSTexture.vp
│ │ │ ├── CoolTexture.tga
│ │ │ ├── LitTexture
│ │ │ └── Makefile
│ │ ├── ProvokingVertex
│ │ │ ├── Makefile
│ │ │ ├── ProvokingVertex
│ │ │ ├── ProvokingVertex.fp
│ │ │ └── ProvokingVertex.vp
│ │ ├── ShadedTriangle
│ │ │ ├── Makefile
│ │ │ ├── ShadedIdentity.fp
│ │ │ ├── ShadedIdentity.vp
│ │ │ └── ShadedTriangle
│ │ ├── TexturedTriangle
│ │ │ ├── Makefile
│ │ │ ├── stone.tga
│ │ │ ├── TexturedIdentity.fp
│ │ │ ├── TexturedIdentity.vp
│ │ │ └── TexturedTriangle
│ │ ├── ToonShader
│ │ │ ├── Makefile
│ │ │ ├── ToonShader
│ │ │ ├── ToonShader.fp
│ │ │ └── ToonShader.vp
│ │ └── Triangle
│ │ ├── Identity.fp
│ │ ├── Identity.vp
│ │ ├── Makefile
│ │ └── Triangle
│ ├── Chapter07
│ │ ├── CubeMapped
│ │ │ ├── Cubemap
│ │ │ ├── Makefile
│ │ │ ├── neg_x.tga
│ │ │ ├── neg_y.tga
│ │ │ ├── neg_z.tga
│ │ │ ├── pos_z.tga
│ │ │ ├── Reflection.fp
│ │ │ └── Reflection.vp
│ │ ├── NormalMapped
│ │ │ ├── IceMoonBump.tga
│ │ │ ├── IceMoon.tga
│ │ │ ├── Makefile
│ │ │ ├── NormalMapped
│ │ │ ├── NormalMapped.fp
│ │ │ └── NormalMapped.vp
│ │ ├── PointSprites
│ │ │ ├── Makefile
│ │ │ ├── PointSprites
│ │ │ ├── SpaceFlight.fp
│ │ │ ├── SpaceFlight.vp
│ │ │ └── star.tga
│ │ └── SphereMapped
│ │ ├── Makefile
│ │ ├── SphereMapped
│ │ ├── SphereMapped.fp
│ │ ├── SphereMapped.vp
│ │ └── SphereMap.tga
│ ├── Chapter08
│ │ ├── fbo_drawbuffers
│ │ │ ├── LumLinear.data
│ │ │ ├── LumSin.data
│ │ │ ├── LumTan.data
│ │ │ ├── Makefile
│ │ │ ├── Marble.bmp
│ │ │ ├── Marslike.bmp
│ │ │ ├── MoonLike.bmp
│ │ │ ├── multibuffer_frag_location.fs
│ │ │ ├── multibuffer.fs
│ │ │ └── multibuffer.vs
│ │ ├── fbo_textures
│ │ │ ├── Makefile
│ │ │ └── Marble.bmp
│ │ └── pix_buffs
│ │ ├── blur.fs
│ │ ├── blur.vs
│ │ └── Makefile
│ ├── Chapter10
│ │ └── oit
│ │ ├── basic.vs
│ │ ├── Makefile
│ │ ├── Marble.bmp
│ │ ├── msResolve.fs
│ │ ├── oitResolve.fs
│ │ └── start_line.bmp
│ ├── Chapter11
│ │ └── Perspective
│ │ ├── Makefile
│ │ ├── Perspective
│ │ ├── Perspective.fs
│ │ └── Perspective.vs
│ ├── Chapter12
│ │ └── Grass
│ │ ├── bend.tga
│ │ ├── color.tga
│ │ ├── Grass.fs
│ │ ├── Grass.vs
│ │ ├── length.tga
│ │ ├── Makefile
│ │ └── orientation.tga
│ └── Chapter15
│ ├── Block
│ │ ├── Block
│ │ ├── Block4.tga
│ │ ├── Block5.tga
│ │ ├── Block6.tga
│ │ ├── floor.tga
│ │ └── Makefile
│ └── GLXBasics
│ ├── GLXBasics
│ └── Makefile
├── Src
│ ├── Chapter01
│ │ └── Block
│ │ ├── Block4.tga
│ │ ├── Block5.tga
│ │ ├── Block6.tga
│ │ ├── Block.cpp
│ │ └── floor.tga
│ ├── Chapter02
│ │ ├── Bounce
│ │ │ └── Bounce.cpp
│ │ ├── Move
│ │ │ └── Move.cpp
│ │ └── Triangle
│ │ └── Triangle.cpp
│ ├── Chapter03
│ │ ├── Blending
│ │ │ └── Blending.cpp
│ │ ├── GeoTest
│ │ │ └── GeoTest.cpp
│ │ ├── Primitives
│ │ │ └── Primitives.cpp
│ │ ├── Scissor
│ │ │ └── Scissor.cpp
│ │ └── Smoother
│ │ └── Smoother.cpp
│ ├── Chapter04
│ │ ├── ModelViewProjection
│ │ │ └── ModelViewProjection.cpp
│ │ ├── Move
│ │ │ └── Move.cpp
│ │ ├── Objects
│ │ │ └── Objects.cpp
│ │ ├── OrthoGraphic
│ │ │ └── OrthoGraphic.cpp
│ │ ├── Perspective
│ │ │ └── Perspective.cpp
│ │ ├── SphereWorld
│ │ │ └── SphereWorld.cpp
│ │ ├── SphereWorld2
│ │ │ └── SphereWorld2.cpp
│ │ ├── SphereWorld3
│ │ │ └── SphereWorld3.cpp
│ │ └── SphereWorld4
│ │ └── SphereWorld4.cpp
│ ├── Chapter05
│ │ ├── Anisotropic
│ │ │ ├── brick.tga
│ │ │ ├── ceiling.tga
│ │ │ ├── floor.tga
│ │ │ └── Tunnel.cpp
│ │ ├── Pyramid
│ │ │ ├── Pyramid.cpp
│ │ │ └── stone.tga
│ │ ├── SphereWorld
│ │ │ ├── Marble.tga
│ │ │ ├── Marslike.tga
│ │ │ ├── MoonLike.tga
│ │ │ └── SphereWorld.cpp
│ │ └── Tunnel
│ │ ├── brick.tga
│ │ ├── ceiling.tga
│ │ ├── floor.tga
│ │ └── Tunnel.cpp
│ ├── Chapter06
│ │ ├── ADSGouraud
│ │ │ ├── ADSGouraud.cpp
│ │ │ ├── ADSGouraud.fp
│ │ │ └── ADSGouraud.vp
│ │ ├── ADSPhong
│ │ │ ├── ADSPhong.cpp
│ │ │ ├── ADSPhong.fp
│ │ │ └── ADSPhong.vp
│ │ ├── DiffuseLight
│ │ │ ├── DiffuseLight.cpp
│ │ │ ├── DiffuseLight.fp
│ │ │ └── DiffuseLight.vp
│ │ ├── Dissolve
│ │ │ ├── Clouds.tga
│ │ │ ├── Dissolve.cpp
│ │ │ ├── Dissolve.fp
│ │ │ └── Dissolve.vp
│ │ ├── FlatShader
│ │ │ ├── FlatShader.cpp
│ │ │ ├── FlatShader.fp
│ │ │ └── FlatShader.vp
│ │ ├── LitTexture
│ │ │ ├── ADSTexture.fp
│ │ │ ├── ADSTexture.vp
│ │ │ ├── CoolTexture.tga
│ │ │ └── LitTexture.cpp
│ │ ├── ProvokingVertex
│ │ │ ├── ProvokingVertex.cpp
│ │ │ ├── ProvokingVertex.fp
│ │ │ └── ProvokingVertex.vp
│ │ ├── ShadedTriangle
│ │ │ ├── ShadedIdentity.fp
│ │ │ ├── ShadedIdentity.vp
│ │ │ └── ShadedTriangle.cpp
│ │ ├── TexturedTriangle
│ │ │ ├── stone.tga
│ │ │ ├── TexturedIdentity.fp
│ │ │ ├── TexturedIdentity.vp
│ │ │ └── TexturedTriangle.cpp
│ │ ├── ToonShader
│ │ │ ├── ToonShader.cpp
│ │ │ ├── ToonShader.fp
│ │ │ └── ToonShader.vp
│ │ └── Triangle
│ │ ├── Identity.fp
│ │ ├── Identity.vp
│ │ └── Triangle.cpp
│ ├── Chapter07
│ │ ├── CubeMapped
│ │ │ ├── Cubemap.cpp
│ │ │ ├── neg_x.tga
│ │ │ ├── neg_y.tga
│ │ │ ├── neg_z.tga
│ │ │ ├── pos_x.tga
│ │ │ ├── pos_y.tga
│ │ │ ├── pos_z.tga
│ │ │ ├── Reflection.fp
│ │ │ ├── Reflection.vp
│ │ │ ├── SkyBox.fp
│ │ │ └── SkyBox.vp
│ │ ├── MultiTexture
│ │ │ ├── MultiTexture.cpp
│ │ │ ├── neg_x.tga
│ │ │ ├── neg_y.tga
│ │ │ ├── neg_z.tga
│ │ │ ├── pos_x.tga
│ │ │ ├── pos_y.tga
│ │ │ ├── pos_z.tga
│ │ │ ├── Reflection.fp
│ │ │ ├── Reflection.vp
│ │ │ ├── SkyBox.fp
│ │ │ ├── SkyBox.vp
│ │ │ └── tarnish.tga
│ │ ├── NormalMapped
│ │ │ ├── IceMoonBump.tga
│ │ │ ├── IceMoon.tga
│ │ │ ├── NormalMapped.cpp
│ │ │ ├── NormalMapped.fp
│ │ │ └── NormalMapped.vp
│ │ ├── PointSprites
│ │ │ ├── PointSprites.cpp
│ │ │ ├── SpaceFlight.fp
│ │ │ ├── SpaceFlight.vp
│ │ │ └── star.tga
│ │ ├── SphereMapped
│ │ │ ├── SphereMapped.cpp
│ │ │ ├── SphereMapped.fp
│ │ │ ├── SphereMapped.vp
│ │ │ └── SphereMap.tga
│ │ ├── TextureArrays
│ │ │ ├── moon00.tga
│ │ │ ├── moon01.tga
│ │ │ ├── moon02.tga
│ │ │ ├── moon03.tga
│ │ │ ├── moon04.tga
│ │ │ ├── moon05.tga
│ │ │ ├── moon06.tga
│ │ │ ├── moon07.tga
│ │ │ ├── moon08.tga
│ │ │ ├── moon09.tga
│ │ │ ├── moon10.tga
│ │ │ ├── moon11.tga
│ │ │ ├── moon12.tga
│ │ │ ├── moon13.tga
│ │ │ ├── moon14.tga
│ │ │ ├── moon15.tga
│ │ │ ├── moon16.tga
│ │ │ ├── moon17.tga
│ │ │ ├── moon18.tga
│ │ │ ├── moon19.tga
│ │ │ ├── moon20.tga
│ │ │ ├── moon21.tga
│ │ │ ├── moon22.tga
│ │ │ ├── moon23.tga
│ │ │ ├── moon24.tga
│ │ │ ├── moon25.tga
│ │ │ ├── moon26.tga
│ │ │ ├── moon27.tga
│ │ │ ├── moon28.tga
│ │ │ ├── MoonShader.fp
│ │ │ ├── MoonShader.vp
│ │ │ ├── StarField.fp
│ │ │ ├── StarField.vp
│ │ │ ├── star.tga
│ │ │ └── TextureArrays.cpp
│ │ └── TextureRect
│ │ ├── Marble.tga
│ │ ├── Marslike.tga
│ │ ├── MoonLike.tga
│ │ ├── OpenGL-Logo.tga
│ │ ├── RectReplace.fp
│ │ ├── RectReplace.vp
│ │ └── SphereWorld.cpp
│ ├── Chapter08
│ │ ├── fbo_drawbuffers
│ │ │ └── fbo_drawbuffers.cpp
│ │ ├── fbo_textures
│ │ │ └── fbo_textures.cpp
│ │ └── pix_buffs
│ │ └── pix_buffs.cpp
│ ├── Chapter09
│ │ ├── hdr_bloom
│ │ │ └── hdr_bloom.cpp
│ │ ├── hdr_imaging
│ │ │ └── hdr_imaging.cpp
│ │ └── hdr_msaa
│ │ └── hdr_msaa.cpp
│ ├── Chapter10
│ │ └── oit
│ │ └── oit.cpp
│ ├── Chapter11
│ │ ├── Convolution
│ │ │ ├── explode.cpp
│ │ │ ├── explode.h
│ │ │ └── GLMain.cpp
│ │ ├── GSCulling
│ │ │ ├── GSCulling.cpp
│ │ │ ├── ToonShader.fp
│ │ │ └── ToonShader.vp
│ │ ├── GSExplode
│ │ │ ├── GSExplode.cpp
│ │ │ ├── ToonShader.fp
│ │ │ └── ToonShader.vp
│ │ ├── GSNormals
│ │ │ ├── GSNormals.cpp
│ │ │ ├── ToonShader.fp
│ │ │ └── ToonShader.vp
│ │ ├── GSTessellate
│ │ │ ├── GSTessellate.cpp
│ │ │ ├── ToonShader.fp
│ │ │ └── ToonShader.vp
│ │ ├── Julia
│ │ │ └── Julia.cpp
│ │ └── Perspective
│ │ └── Perspective.cpp
│ ├── Chapter12
│ │ ├── Grass
│ │ │ └── Grass.cpp
│ │ ├── instancing
│ │ │ ├── GLMain.cpp
│ │ │ ├── instancing.cpp
│ │ │ └── instancing.h
│ │ └── sbmviewer
│ │ ├── GLMain.cpp
│ │ ├── sbmviewer.cpp
│ │ └── sbmviewer.h
│ ├── Chapter13
│ │ ├── block_redux
│ │ │ └── Block_redux.cpp
│ │ └── sphere_world_redux
│ │ └── SphereWorld_redux.cpp
│ ├── Chapter15
│ │ ├── Block
│ │ │ └── Block.cpp
│ │ └── GLXBasics
│ │ └── GLXBasics.c
│ ├── GLTools
│ │ ├── include
│ │ │ ├── GL
│ │ │ │ ├── glew.h
│ │ │ │ ├── glxew.h
│ │ │ │ └── wglew.h
│ │ │ ├── GLBatchBase.h
│ │ │ ├── GLBatch.h
│ │ │ ├── GLFrame.h
│ │ │ ├── GLFrustum.h
│ │ │ ├── GLGeometryTransform.h
│ │ │ ├── GLMatrixStack.h
│ │ │ ├── GLShaderManager.h
│ │ │ ├── GLTools.h
│ │ │ ├── GLTriangleBatch.h
│ │ │ ├── math3d.h
│ │ │ └── StopWatch.h
│ │ └── src
│ │ ├── GLBatch.cpp
│ │ ├── glew.c
│ │ ├── GLShaderManager.cpp
│ │ ├── GLTools.cpp
│ │ ├── GLTriangleBatch.cpp
│ │ └── math3d.cpp
│ ├── Models
│ │ └── Ninja
│ │ ├── NinjaComp.BMP
│ │ ├── ninja.sbm
│ │ ├── sbm.cpp
│ │ └── sbm.h
│ └── OpenEXR
│ └── include
│ ├── halfFunction.h
│ ├── half.h
│ ├── halfLimits.h
│ ├── IexBaseExc.h
│ ├── IexErrnoExc.h
│ ├── Iex.h
│ ├── IexMacros.h
│ ├── IexMathExc.h
│ ├── IexThrowErrnoExc.h
│ ├── IlmThread.h
│ ├── IlmThreadMutex.h
│ ├── IlmThreadPool.h
│ ├── IlmThreadSemaphore.h
│ ├── ImathBoxAlgo.h
│ ├── ImathBox.h
│ ├── ImathColorAlgo.h
│ ├── ImathColor.h
│ ├── ImathEuler.h
│ ├── ImathExc.h
│ ├── ImathFrame.h
│ ├── ImathFrustum.h
│ ├── ImathFun.h
│ ├── ImathGL.h
│ ├── ImathGLU.h
│ ├── ImathHalfLimits.h
│ ├── ImathInterval.h
│ ├── ImathLimits.h
│ ├── ImathLineAlgo.h
│ ├── ImathLine.h
│ ├── ImathMath.h
│ ├── ImathMatrixAlgo.h
│ ├── ImathMatrix.h
│ ├── ImathPlane.h
│ ├── ImathPlatform.h
│ ├── ImathQuat.h
│ ├── ImathRandom.h
│ ├── ImathRoots.h
│ ├── ImathShear.h
│ ├── ImathSphere.h
│ ├── ImathVecAlgo.h
│ ├── ImathVec.h
│ ├── ImfArray.h
│ ├── ImfAttribute.h
│ ├── ImfBoxAttribute.h
│ ├── ImfChannelListAttribute.h
│ ├── ImfChannelList.h
│ ├── ImfChromaticitiesAttribute.h
│ ├── ImfChromaticities.h
│ ├── ImfCompressionAttribute.h
│ ├── ImfCompression.h
│ ├── ImfConvert.h
│ ├── ImfCRgbaFile.h
│ ├── ImfDoubleAttribute.h
│ ├── ImfEnvmapAttribute.h
│ ├── ImfEnvmap.h
│ ├── ImfFloatAttribute.h
│ ├── ImfFrameBuffer.h
│ ├── ImfHeader.h
│ ├── ImfHuf.h
│ ├── ImfInputFile.h
│ ├── ImfInt64.h
│ ├── ImfIntAttribute.h
│ ├── ImfIO.h
│ ├── ImfKeyCodeAttribute.h
│ ├── ImfKeyCode.h
│ ├── ImfLineOrderAttribute.h
│ ├── ImfLineOrder.h
│ ├── ImfLut.h
│ ├── ImfMatrixAttribute.h
│ ├── ImfName.h
│ ├── ImfOpaqueAttribute.h
│ ├── ImfOutputFile.h
│ ├── ImfPixelType.h
│ ├── ImfPreviewImageAttribute.h
│ ├── ImfPreviewImage.h
│ ├── ImfRgbaFile.h
│ ├── ImfRgba.h
│ ├── ImfRgbaYca.h
│ ├── ImfStandardAttributes.h
│ ├── ImfStdIO.h
│ ├── ImfStringAttribute.h
│ ├── ImfTestFile.h
│ ├── ImfThreading.h
│ ├── ImfTileDescriptionAttribute.h
│ ├── ImfTileDescription.h
│ ├── ImfTiledInputFile.h
│ ├── ImfTiledOutputFile.h
│ ├── ImfTiledRgbaFile.h
│ ├── ImfTimeCodeAttribute.h
│ ├── ImfTimeCode.h
│ ├── ImfVecAttribute.h
│ ├── ImfVersion.h
│ ├── ImfWav.h
│ ├── ImfXdr.h
│ └── OpenEXRConfig.h
└── VisualStudio2008
├── Chapter01
│ └── Block
│ ├── Block4.tga
│ ├── Block5.tga
│ ├── Block6.tga
│ ├── Block.exe
│ ├── Block.vcproj
│ └── floor.tga
├── Chapter02
│ ├── Bounce
│ │ ├── Bounce.exe
│ │ └── Bounce.vcproj
│ ├── Move
│ │ ├── Move.exe
│ │ └── Move.vcproj
│ └── Triangle
│ ├── Triangle.exe
│ └── Triangle.vcproj
├── Chapter03
│ ├── Blending
│ │ ├── Blending.exe
│ │ └── Blending.vcproj
│ ├── GeoTest
│ │ ├── GeoTest.exe
│ │ └── GeoTest.vcproj
│ ├── Primitives
│ │ ├── Primitives.exe
│ │ └── Primitives.vcproj
│ ├── Scissor
│ │ ├── Scissor.exe
│ │ └── Scissor.vcproj
│ └── Smoother
│ ├── Smoother.exe
│ └── Smoother.vcproj
├── Chapter04
│ ├── ModelViewProjection
│ │ ├── ModelViewProjection.exe
│ │ └── ModelViewProjection.vcproj
│ ├── Move
│ │ ├── Move.exe
│ │ └── Move.vcproj
│ ├── Objects
│ │ ├── Objects.exe
│ │ └── Objects.vcproj
│ ├── Orthographic
│ │ ├── Orthographic.exe
│ │ └── Orthographic.vcproj
│ ├── Perspective
│ │ ├── Perspective.exe
│ │ └── Perspective.vcproj
│ ├── SphereWorld
│ │ ├── SphereWorld.exe
│ │ └── SphereWorld.vcproj
│ ├── SphereWorld2
│ │ ├── SphereWorld2.exe
│ │ └── SphereWorld2.vcproj
│ ├── SphereWorld3
│ │ ├── SphereWorld3.exe
│ │ └── SphereWorld3.vcproj
│ └── SphereWorld4
│ ├── SphereWorld4.exe
│ └── SphereWorld4.vcproj
├── Chapter05
│ ├── Anisotropic
│ │ ├── Anisotropic.exe
│ │ ├── Anisotropic.vcproj
│ │ ├── brick.tga
│ │ ├── ceiling.tga
│ │ └── floor.tga
│ ├── Pyramid
│ │ ├── Pyramid.exe
│ │ ├── Pyramid.vcproj
│ │ └── stone.tga
│ ├── SphereWorld
│ │ ├── Marble.tga
│ │ ├── Marslike.tga
│ │ ├── MoonLike.tga
│ │ ├── SphereWorld.exe
│ │ └── SphereWorld.vcproj
│ └── Tunnel
│ ├── brick.tga
│ ├── ceiling.tga
│ ├── floor.tga
│ ├── Tunnel.exe
│ └── Tunnel.vcproj
├── Chapter06
│ ├── ADSGouraud
│ │ ├── ADSGouraud.exe
│ │ ├── ADSGouraud.fp
│ │ ├── ADSGouraud.vcproj
│ │ └── ADSGouraud.vp
│ ├── ADSPhong
│ │ ├── ADSPhong.exe
│ │ ├── ADSPhong.fp
│ │ ├── ADSPhong.vcproj
│ │ └── ADSPhong.vp
│ ├── DiffuseLight
│ │ ├── DiffuseLight.exe
│ │ ├── DiffuseLight.fp
│ │ ├── DiffuseLight.vcproj
│ │ └── DiffuseLight.vp
│ ├── Dissolve
│ │ ├── Clouds.tga
│ │ ├── Dissolve.exe
│ │ ├── Dissolve.fp
│ │ ├── Dissolve.vcproj
│ │ └── Dissolve.vp
│ ├── FlatShader
│ │ ├── FlatShader.exe
│ │ ├── FlatShader.fp
│ │ ├── FlatShader.vcproj
│ │ └── FlatShader.vp
│ ├── LitTexture
│ │ ├── ADSTexture.fp
│ │ ├── ADSTexture.vp
│ │ ├── CoolTexture.tga
│ │ ├── LitTexture.exe
│ │ └── LitTexture.vcproj
│ ├── ProvokingVertex
│ │ ├── ProvokingVertex.exe
│ │ ├── ProvokingVertex.fp
│ │ ├── ProvokingVertex.vcproj
│ │ └── ProvokingVertex.vp
│ ├── ShadedTriangle
│ │ ├── ShadedIdentity.fp
│ │ ├── ShadedIdentity.vp
│ │ ├── ShadedTriangle.exe
│ │ └── ShadedTriangle.vcproj
│ ├── TexturedTriangle
│ │ ├── stone.tga
│ │ ├── TexturedIdentity.fp
│ │ ├── TexturedIdentity.vp
│ │ ├── TexturedTriangle.exe
│ │ └── TexturedTriangle.vcproj
│ ├── ToonShader
│ │ ├── ToonShader.exe
│ │ ├── ToonShader.fp
│ │ ├── ToonShader.vcproj
│ │ └── ToonShader.vp
│ └── Triangle
│ ├── Identity.fp
│ ├── Identity.vp
│ ├── Triangle.exe
│ └── Triangle.vcproj
├── Chapter07
│ ├── CubeMapped
│ │ ├── CubeMapped.exe
│ │ ├── CubeMapped.vcproj
│ │ ├── neg_x.tga
│ │ ├── neg_y.tga
│ │ ├── neg_z.tga
│ │ ├── pos_x.tga
│ │ ├── pos_y.tga
│ │ ├── pos_z.tga
│ │ ├── Reflection.fp
│ │ ├── Reflection.vp
│ │ ├── SkyBox.fp
│ │ └── SkyBox.vp
│ ├── MultiTexture
│ │ ├── MultiTexture.exe
│ │ ├── MultiTexture.vcproj
│ │ ├── neg_x.tga
│ │ ├── neg_y.tga
│ │ ├── neg_z.tga
│ │ ├── pos_x.tga
│ │ ├── pos_y.tga
│ │ ├── pos_z.tga
│ │ ├── Reflection.fp
│ │ ├── Reflection.vp
│ │ ├── SkyBox.fp
│ │ ├── SkyBox.vp
│ │ └── tarnish.tga
│ ├── NormalMapped
│ │ ├── IceMoonBump.tga
│ │ ├── IceMoon.tga
│ │ ├── NormalMapped.exe
│ │ ├── NormalMapped.fp
│ │ ├── NormalMapped.vcproj
│ │ └── NormalMapped.vp
│ ├── PointSprites
│ │ ├── PointSprites.exe
│ │ ├── PointSprites.vcproj
│ │ ├── SpaceFlight.fp
│ │ ├── SpaceFlight.vp
│ │ └── star.tga
│ ├── SphereMapped
│ │ ├── SphereMapped.exe
│ │ ├── SphereMapped.fp
│ │ ├── SphereMapped.vcproj
│ │ ├── SphereMapped.vp
│ │ └── SphereMap.tga
│ ├── TextureArrays
│ │ ├── moon00.tga
│ │ ├── moon01.tga
│ │ ├── moon02.tga
│ │ ├── moon03.tga
│ │ ├── moon04.tga
│ │ ├── moon05.tga
│ │ ├── moon06.tga
│ │ ├── moon07.tga
│ │ ├── moon08.tga
│ │ ├── moon09.tga
│ │ ├── moon10.tga
│ │ ├── moon11.tga
│ │ ├── moon12.tga
│ │ ├── moon13.tga
│ │ ├── moon14.tga
│ │ ├── moon15.tga
│ │ ├── moon16.tga
│ │ ├── moon17.tga
│ │ ├── moon18.tga
│ │ ├── moon19.tga
│ │ ├── moon20.tga
│ │ ├── moon21.tga
│ │ ├── moon22.tga
│ │ ├── moon23.tga
│ │ ├── moon24.tga
│ │ ├── moon25.tga
│ │ ├── moon26.tga
│ │ ├── moon27.tga
│ │ ├── moon28.tga
│ │ ├── MoonShader.fp
│ │ ├── MoonShader.vp
│ │ ├── StarField.fp
│ │ ├── StarField.vp
│ │ ├── star.tga
│ │ ├── TextureArrays.exe
│ │ └── TextureArrays.vcproj
│ └── TextureRect
│ ├── Marble.tga
│ ├── Marslike.tga
│ ├── MoonLike.tga
│ ├── OpenGL-Logo.tga
│ ├── RectReplace.fp
│ ├── RectReplace.vp
│ ├── TextureRect.exe
│ └── TextureRect.vcproj
├── Chapter08
│ ├── fbo_drawbuffers
│ │ ├── fbo_drawbuffers.exe
│ │ ├── fbo_drawbuffers.sln
│ │ ├── fbo_drawbuffers.vcproj
│ │ ├── LumLinear.data
│ │ ├── LumSin.data
│ │ ├── LumTan.data
│ │ ├── Marble.bmp
│ │ ├── Marslike.bmp
│ │ ├── MoonLike.bmp
│ │ ├── multibuffer_frag_location.fs
│ │ ├── multibuffer.fs
│ │ └── multibuffer.vs
│ ├── fbo_textures
│ │ ├── fbo_textures.exe
│ │ ├── fbo_textures.sln
│ │ ├── fbo_textures.vcproj
│ │ └── Marble.bmp
│ └── pix_buffs
│ ├── blur.fs
│ ├── blur.vs
│ ├── Marble.bmp
│ ├── pix_buffs.exe
│ ├── pix_buffs.sln
│ └── pix_buffs.vcproj
├── Chapter09
│ ├── hdr_bloom
│ │ ├── basic.vs
│ │ ├── blur.fs
│ │ ├── color.fs
│ │ ├── hdr_bloom.exe
│ │ ├── hdr_bloom.sln
│ │ ├── hdr_bloom.vcproj
│ │ ├── hdr_bloom.vs
│ │ ├── hdr_exposure.fs
│ │ ├── Marble.bmp
│ │ ├── tex_replace.fs
│ │ └── window.exr
│ ├── hdr_imaging
│ │ ├── Cannon.exr
│ │ ├── hdr_adaptive.fs
│ │ ├── hdr_exposure.fs
│ │ ├── hdr.fs
│ │ ├── hdrImaging.exe
│ │ ├── hdr_imaging.sln
│ │ ├── hdr_imaging.vcproj
│ │ ├── hdr_simple.fs
│ │ ├── hdr.vs
│ │ ├── Ocean.exr
│ │ └── Tree.exr
│ └── hdr_msaa
│ ├── basic.vs
│ ├── color.fs
│ ├── hdr_bloom.vs
│ ├── hdr_exposure.fs
│ ├── hdr_msaa.exe
│ ├── hdr_msaa.sln
│ ├── hdr_msaa.vcproj
│ ├── Marble.bmp
│ ├── tex_replace.fs
│ └── window.exr
├── Chapter10
│ └── oit
│ ├── basic.vs
│ ├── msResolve.fs
│ ├── oit.exe
│ ├── oitResolve.fs
│ ├── oit.sln
│ ├── oit.vcproj
│ └── start_line.bmp
├── Chapter11
│ ├── Convolution
│ │ ├── absvalue.fs
│ │ ├── convolve.fs
│ │ ├── convolve.vs
│ │ ├── explode.sln
│ │ ├── explode.vcproj
│ │ ├── frog.tga
│ │ ├── image2.tga
│ │ ├── image3.tga
│ │ └── image.tga
│ ├── GSCulling
│ │ ├── FlatShader.fs
│ │ ├── FlatShader.vs
│ │ ├── GSCulling.fs
│ │ ├── GSCulling.gs
│ │ ├── GSCulling.vcproj
│ │ └── GSCulling.vs
│ ├── GSExplode
│ │ ├── FlatShader.fs
│ │ ├── FlatShader.vs
│ │ ├── GSExplode.fs
│ │ ├── GSExplode.gs
│ │ ├── GSExplode.vcproj
│ │ └── GSExplode.vs
│ ├── GSNormals
│ │ ├── FlatShader.fs
│ │ ├── FlatShader.vs
│ │ ├── GSNormals.fs
│ │ ├── GSNormals.gs
│ │ ├── GSNormals.sln
│ │ ├── GSNormals.vcproj
│ │ └── GSNormals.vs
│ ├── GSTessellate
│ │ ├── FlatShader.fs
│ │ ├── FlatShader.vs
│ │ ├── GSTessellate.fs
│ │ ├── GSTessellate.gs
│ │ ├── GSTessellate.sln
│ │ ├── GSTessellate.vcproj
│ │ └── GSTessellate.vs
│ ├── Julia
│ │ ├── Julia.exe
│ │ ├── Julia.fs
│ │ ├── Julia.vcproj
│ │ ├── Julia.vs
│ │ └── palette.raw
│ └── Perspective
│ ├── Perspective.exe
│ ├── Perspective.fs
│ ├── Perspective.vcproj
│ └── Perspective.vs
├── Chapter12
│ ├── Grass
│ │ ├── bend.tga
│ │ ├── color.tga
│ │ ├── Grass.exe
│ │ ├── Grass.fs
│ │ ├── Grass.vcproj
│ │ ├── Grass.vs
│ │ ├── length.tga
│ │ └── orientation.tga
│ ├── instancing
│ │ ├── instancing.fs
│ │ ├── instancing.sln
│ │ ├── instancing.vcproj
│ │ └── instancing.vs
│ └── sbmviewer
│ ├── sbmviewer.fs
│ ├── sbmviewer.sln
│ ├── sbmviewer.vcproj
│ └── sbmviewer.vs
├── Chapter13
│ ├── block_redux
│ │ ├── Block_redux.exe
│ │ ├── Block_redux.sln
│ │ └── Block_redux.vcproj
│ └── sphere_world_redux
│ ├── sphere_world_redux.exe
│ ├── Sphere_world_redux.sln
│ └── Sphere_world_redux.vcproj
├── GLTools
│ ├── gltools.vcproj
│ └── Release
│ └── gltools.lib
└── OpenEXR
└── lib
├── Half.lib
├── Iex.lib
├── IlmImf.lib
├── IlmThread.lib
├── Imath.lib
└── zlib.lib
264 directories, 1004 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论