توضیحاتی در مورد کتاب :
Packt Publishing, 2013. — 113 p. — ISBN: 978-1-84969-800-9.
صحنه های سه بعدی خود را با قدرت GLSL غنی کنید!برنامه نویسی Shader بزرگترین انقلاب در برنامه نویسی گرافیک بوده است.
OpenGL Shading Language (به اختصار: GLSL یا GLslang)، یک زبان سایهزنی سطح بالا بر اساس نحو زبان برنامهنویسی C است. با GLSL میتوانید کد را روی GPU (با نام مستعار کارت گرافیک) خود اجرا کنید. با این تکنیک می توان به جلوه های پیچیده تری دست یافت. بنابراین، دانستن نحوه کار OpenGL و نحوه تعامل هر نوع سایه زن با یکدیگر، و همچنین نحوه ادغام آنها در سیستم، برای برنامه نویسان گرافیک ضروری است. این دانش برای آشنایی با مکانیسمهای رندر کردن اشیاء سه بعدی بسیار مهم است.
GLSL Essentials تنها کتاب موجود در بازار است که به شما در مورد سایهزنها از از همان ابتدا. به شما نشان می دهد که چگونه برنامه نویسی گرافیکی تکامل یافته است، تا بفهمید چرا به هر مرحله در خط لوله رندر گرافیک نیاز دارید، و چگونه آن را به روشی ساده اما مختصر مدیریت کنید. این کتاب نحوه کار شیدرها را به صورت گام به گام توضیح میدهد و توضیح میدهد که چگونه با داراییهای برنامه در هر مرحله تعامل دارند.
این کتاب شما را راهنمایی میکند. خط لوله گرافیکی و هر بخش را به روشی تعاملی و واضح توصیف می کند. نحوه عملکرد ماشین حالت OpenGL و تمام مراحل مربوط به آن را خواهید آموخت. سایهزنهای راس، سایهزنهای قطعه، و سایهزنهای هندسی، و همچنین برخی موارد استفاده و مقدمهای بر ریاضیات مورد نیاز برای الگوریتمهای نورپردازی یا تبدیلها پوشش داده میشوند. برنامه نویسی GPU عمومی (GPGPU) نیز پوشش داده خواهد شد.
پس از خواندن GLSL Essentials، آماده خواهید بود تا هر افکت رندر مورد نیاز خود را ایجاد کنید.
این کتاب برای چه کسانی است:
اگر می خواهید مهارت های خود را ارتقا دهید، یا در برنامه نویسی سایه زن تازه کار هستید و می خواهید در مورد برنامه نویسی گرافیکی بیاموزید، این کتاب برای شما مناسب است. اگر می خواهید ایده واضح تری از برنامه نویسی سایه زن داشته باشید یا به سادگی می خواهید از سیستم های خط لوله ثابت به برنامه نویسی شیدر پیشرفته ارتقا دهید و با هر زبان مبتنی بر C آشنا هستید، این کتاب آنچه را که باید بدانید را به شما نشان می دهد. .
توضیحاتی در مورد کتاب به زبان اصلی :
Packt Publishing, 2013. — 113 p. — ISBN: 978-1-84969-800-9.
Enrich your 3D scenes with the power of GLSL!Shader programming has been the largest revolution in graphics programming.
OpenGL Shading Language (abbreviated: GLSL or GLslang), is a high-level shading language based on the syntax of the C programming language. With GLSL you can execute code on your GPU (aka graphics card). More sophisticated effects can be achieved with this technique. Therefore, knowing how OpenGL works and how each shader type interacts with each other, as well as how they are integrated into the system, is imperative for graphic programmers. This knowledge is crucial in order to be familiar with the mechanisms for rendering 3D objects.
GLSL Essentials is the only book on the market that teaches you about shaders from the very beginning. It shows you how graphics programming has evolved, in order to understand why you need each stage in the Graphics Rendering Pipeline, and how to manage it in a simple but concise way. This book explains how shaders work in a step-by-step manner, with an explanation of how they interact with the application assets at each stage.
This book will take you through the graphics pipeline and will describe each section in an interactive and clear way. You will learn how the OpenGL state machine works and all its relevant stages. Vertex shaders, fragment shaders, and geometry shaders will be covered, as well some use cases and an introduction to the math needed for lighting algorithms or transforms. Generic GPU programming (GPGPU) will also be covered.
After reading GLSL Essentials you will be ready to generate any rendering effect you need.
Who this book is for:If you want upgrade your skills, or are new to shader programming and want to learn about graphic programming, this book is for you. If you want a clearer idea of shader programming, or simply want to upgrade from fixed pipeline systems to state-of-the-art shader programming and are familiar with any C-based language, then this book will show you what you need to know.