JavaScript EditorFree JavaScript Editor     Ajax Editor 

Main Page
Previous Page
Next Page

9.11. Further Information

3Dlabs has made available a nifty tool for comparing fixed functionality behavior with equivalent shaders. With this application, called ShaderGen, you can set up OpenGL state and view fixed functionality behavior, and then, with a single mouse click, cause the application to automatically generate equivalent GLSL shaders. You can then examine, edit, compile, and link the generated shaders. You can easily switch between fixed functionality mode and programmable shader mode and compare results. Through the graphical user interface, you can also modify the state that affects rendering. Full source code for this application is also available.

The OpenGL Programming Guide, Fifth Edition, by the OpenGL Architecture Review Board, Woo, Neider, Davis, and Shreiner (2005), contains more complete descriptions of the various formulas presented in this chapter. The functionality is defined in the OpenGL specification, The OpenGL Graphics System: A Specification, (Version 2.0), by Mark Segal and Kurt Akeley, edited by Jon Leech and Pat Brown (2004). Basic graphics concepts like transformation, lighting, fog, and texturing are also covered in standard graphics texts such as Introduction to Computer Graphics by Foley, van Dam, et al., (1994).

Real-Time Rendering, by Akenine-Möller and Haines (2002), also contains good descriptions of these basic topics.

  1. 3Dlabs developer Web site.

  2. Akenine-Möller, Tomas, E. Haines, Real-Time Rendering, Second Edition, A K Peters, Ltd., Natick, Massachusetts, 2002.

  3. Baldwin, Dave, OpenGL 2.0 Shading Language White Paper, Version 1.0, 3Dlabs, October, 2001.

  4. Foley, J.D., A. van Dam, S.K. Feiner, J.H. Hughes, and R.L. Philips, Introduction to Computer Graphics, Addison-Wesley, Reading, Massachusetts, 1994.

  5. Foley, J.D., A. van Dam, S.K. Feiner, and J.H. Hughes, Computer Graphics: Principles and Practice, Second Edition in C, Second Edition, Addison-Wesley, Reading, Massachusetts, 1996.

  6. OpenGL Architecture Review Board, Dave Shreiner, J. Neider, T. Davis, and M. Woo, OpenGL Programming Guide, Fifth Edition: The Official Guide to Learning OpenGL, Version 2, Addison-Wesley, Reading, Massachusetts, 2005.

  7. OpenGL Architecture Review Board, OpenGL Reference Manual, Fourth Edition: The Official Reference to OpenGL, Version 1.4, Editor: Dave Shreiner, Addison-Wesley, Reading, Massachusetts, 2004.

  8. Segal, Mark, and Kurt Akeley, The OpenGL Graphics System: A Specification (Version 2.0), Editor (v1.1): Chris Frazier, (v1.21.5): Jon Leech, (v2.0): Jon Leech and Pat Brown, Sept. 2004.

Previous Page
Next Page

JavaScript EditorAjax Editor     JavaScript Editor