Cg Tutorial: The to Programmable Real-Time Graphics: The to Programmable Real-Time Graphics

Author: Gery C. Keizer
Publisher:
Publish Date: 2004-09-01
Features: This book is suitable for programmers and project managers developing 3D games and application software, real-time 3D artists, and students learning computer graphics. It can also be used as a reference for anyone interested in the current developments in real-time rendering technology. Cg is the earliest high-level programming language designed for programmable graphics hardware, and this book teaches you how to write Cg programs. The book consists of 10 chapters, with the first chapter briefly introducing the Cg language. Each subsequent chapter explains a concept and technique in Cg, including simple Cg programs, parameters, textures, and expressions, how to perform vertex transformations, how to implement lighting models using Cg, how to animate and transform models using Cg vertex programs, how to implement environment mapping, how to implement bump mapping, fog, cartoon lighting, projection focusing, shadow mapping, and composite techniques, as well as a brief description of the available Cg vertex and fragment profiles. At the end of each chapter, exercises are provided to help you further study and explore more Cg knowledge. The book also includes 5 appendices covering basic Cg knowledge.

📌 Related Posts