Graphics Shaders
Home > Computing and Information Technology > Computer programming / software engineering > Graphics programming > Graphics Shaders: Theory and Practice
Graphics Shaders: Theory and Practice

Graphics Shaders: Theory and Practice


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

Programmable graphics shaders, programs that can be downloaded to a graphics processor (GPU) to carry out operations outside the fixed-function pipeline of earlier standards, have become a key feature of computer graphics. This book is designed to open computer graphics shader programming to the student, whether in a traditional class or on their own. It is intended to complement texts based on fixed-function graphics APIs, specifically OpenGL. It introduces shader programming in general, and specifically the GLSL shader language. It also introduces a flexible, easy-to-use tool, glman, that helps you develop, test, and tune shaders outside an application that would use them.

Table of Contents:
The Fixed-Function Graphics Pipeline The Traditional View The Vertex Pipeline The Triangle-Rendering Part of the Pipeline State in the Graphics Pipeline How the Traditional View is Implemented Vertex Processing Rendering Processing Homogeneous Coordinates in the Fixed-Function Pipeline Vertex Arrays Conclusions Exercises Fundamental Shader Concepts History of Shaders Shaders in the Graphics Pipeline Vertex Shaders A Warning on Shader Code Efficiency Fragment Shaders Geometry Shaders The GLSL Shading Language Exercises Using glman Using glman Loading a GLIB File Editing GLIB and Shader Source Files GLIB Scene Creation Window and Viewing Transformations Defining Geometry Specifying Textures Specifying Shaders Miscellaneous Specifying Uniform Variables Examples of GLIB Files More on Textures and Noise Using Textures Using Noise Functions in the glman Interface Window Generating and Displaying a Copy of Your Scene Global Scene Transformation Eye Transformation Texture Transformation Object Picking and Transformation Monitoring the Frame Rate Miscellaneous Exercises The GLSL Shader Language Factors that Shape Shader Languages Graphics Card Capabilities Parallellism in Graphics Cards The Need to Support Graphics Operations Built-In Data General GLSL Language Concepts Extended Function and Operator Capabilities New Functions New Variable Types New Function Parameter Types Language Details Omitted Language Features New Matrix and Vector Types Functions Extended to Matrices and Vectors Operations Extended to Matrices and Vectors New Functions Name Sets Swizzle New Data Types New Function Parameter Types Shared Namespaces What’s Coming in GLSL Version . Deprecation New Functionality in GLSL. Summary Exercises Lighting The ADS Lighting Model The ADS Lighting Model Function Kinds of Lights Positional Lights Directional Lights Spot Lights Setting Up Lighting for Shading Flat Shading Smooth (Gouraud) Shading Phong Shading Anisotropic Shading Exercises Vertex Shaders Vertex Shaders in the Graphics Pipeline Input to Vertex Shaders Output from Vertex Shaders Fixed-Function Processing After the Vertex Shader The Relation of Vertex Shaders to Geometry Shaders Replacing Fixed-Function Graphics with Vertex Shaders Standard Vertex Processing Going Beyond the Fixed-Function Pipeline with Vertex Shaders Vertex Modification Dome Geometry Example Issues in Vertex Shaders Exercises Fragment Shaders and Surface Appearance Basic Function of a Fragment Shader Inputs to Fragment Shaders Particularly Important Varying Variables Coordinate Systems Fragment Shader Processing Outputs from Fragment Shaders Replacing Fixed-Function Processing with Fragment Shaders Shading Traditional Texture Mapping False Coloring What Follows a Fragment Shader? Additional Shader Effects Discarding Pixels Phong Shading Exact Shading Anisotropic Shading Data-Driven Coloring Exercises Texture Mapping in Fragment Shaders Texture Coordinates Traditional Texture Mapping GLSL Texture Mapping The Texture Context Standard Texture Operations Samplers Textures Procedural Textures Bump Mapping Cube Maps Render to Texture Exercises Noise Fundamental Noise Concepts Three Types of Noise: Value, Gradient, and Value+Gradient Cubic and Quintic Interpolation Noise Equations Other Noise Concepts Fractional Brownian Motion (FBM, /f, Octaves) Noise in Two and Three Dimensions Using Noise with glman Turbulence Some Examples of Noise in Different Environments Marble Shader Cloud Shader Wood Shader Advanced Noise Topics Using noisegraph Exercises Image Manipulation with Shaders Basic Concepts Single-Image Manipulation Luminance CMYK Conversions Hue Shifting Image Filtering Image Blurring Chromakey Images Stereo Anaglyphs D TV Edge Detection Embossing Toon Shader Artistic Effects Image Flipping, Rotation, and Warping The Image Blending Process Blending an Image with a Constant Base Image Color Negative Brightness Contrast Blending an Image with a Version of Itself Saturation Sharpness Blending Two Different Images Dissolve Other Combinations Notes Exercises Geometry Shader Concepts and Examples What Does the Geometry Shader Do? New Adjacency Primitives New OpenGL API Functions New GLSL Variables and Variable Types Communication Between a Vertex Shader and a Geometry Shader Normals in Geometry Shaders Examples Bézier Curves Shrinking Triangles Sphere Subdivision D Object Silhouettes Exercises The OpenGL API Shaders in the OpenGL Programming Process Handling OpenGL Extensions How Is a GLSL Shader Created? Creating and Compiling Shader Objects The CheckGLErrors Function Creating, Attaching, Linking, and Activating Shader Programs Creating a Shader Program and Attaching Shader Objects Linking Shader Programs Activating a Shader Program Passing Data into Shaders Application-Defined Uniform Variables Application-Defined Per-Vertex Attribute Variables A C++ Class to Handle Shader Program Creation Exercises Using Shaders for Scientific Visualization Image-Based Visualization Techniques Image Negative Image Edge Detection Toon Rendering Hyperbolic Geometry D Scalar Data Visualization Point Clouds Cutting Planes Volume Probe Direct Volume Rendering Transfer Functions Passing in Data Values with Your Geometry Flow Visualization D Line Integral Convolution D Line Integral Convolution Extruding Objects for Streamlines Geometry Visualization Silhouettes Hedgehog Plots Exercises Serious Fun Light Interference Diffraction Gratings Oil Slicks Lens Effects Atmospheric Effects Rainbows The Glory Fun with One Using the glman Timer Function Disco Ball Fog, With and Without Noise Algorithmic Art An Explosion Shader Exercises A. GLSL Program Class Source Code The Header File The Program Body References Index

About the Author :
Mike Bailey, Oregon State University, Corvallis, USA Steve Cunningham, Professor Emeritus, California State University Stanislaus, USA

Review :
Bailey and Cunningham provide a comprehensive, well-written overview of graphics shaders. ! Although the book uses the OpenGL Shading Language (GLSL) for its examples, it gives enough theoretical background for readers to learn the fundamentals for any graphics language. ! The book also addresses scientific visualization and the GLSL API to call GLSL functions from an OpenGL program. A final chapter offers ideas for using shaders in very entertaining ways. ! Highly recommended. [Appropriate for] graduate students through professionals/practitioners in computer graphics. --C. Tappert, CHOICE, December 2009 ! a pick for any college-level, advanced computer library catering to programming professionals. ! discusses different types of shaders, how to use the glman program for free, and how to blend shaders into an interactive game environment. Libraries will find it a powerful, appealing lend for intermediate programmers seeking extra spice for their projects. --Midwest Book Review, August 2009


Best Sellers


Product Details
  • ISBN-13: 9781568813349
  • Publisher: Taylor & Francis Inc
  • Binding: Hardback
  • Language: English
  • No of Pages: 420
  • Sub Title: Theory and Practice
  • Width: 235 mm
  • ISBN-10: 1568813341
  • Publisher Date: 22 Apr 2009
  • Height: 191 mm
  • No of Pages: 420
  • Returnable: N
  • Weight: 1021 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Graphics Shaders: Theory and Practice
Taylor & Francis Inc -
Graphics Shaders: Theory and Practice
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Graphics Shaders: Theory and Practice

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!