OpenGL Tutorial - Chinese Version

This article is the Chinese translation of the LearnOpenGL tutorial, the address of the English version is: https://learnopengl.com

Learning (and using) modern OpenGL requires the user to have a very good understanding of graphics programming and the workings of OpenGL behind the scenes in order to be able to play well in programming. So, we will first discuss the core graphics concepts, how OpenGL draws pixels to the screen, and how to use black technology to make some cool effects.

In addition to the core concepts, we will also discuss many useful techniques that can be used in your program, such as moving around the scene, making beautiful lighting, loading custom models exported by modeling software, and doing some cool things. Cool post-processing tricks and more. Finally, we will also use the knowledge we have learned to make a small game from scratch, so that you can really experience the charm of graphics programming.

Author: LearnOpenGL-CN Organization


Table of contents

1|Welcome to the world of OpenGL

2|Introduction

3|OpenGL

4|Create window

5|Hello, window

6|Hello, Triangle

7|Shader

8|Texture

9|Transform

10|Coordinate system

11|Camera

12|Review

13|Color

14|Basic lighting

15|Material

16|Lightmap

17|Projector

18|Multiple light sources

19|Review

20|Assimp

....

History archive


This article is reproduced from Section 1 of "OpenGL Tutorial - Chinese Edition" . This course is long and is being updated continuously.

Welcome to the world of OpenGL. This project is a small attempt by me ( Joey de Vries ), hoping to build a complete OpenGL teaching platform. Whether you learn OpenGL for academics, job hunting, or just for interest, this website will be able to teach you modern (Core-profile) OpenGL from basic, intermediate, to advanced knowledge. The goal of LearnOpenGL is to present all the knowledge points of modern OpenGL in an easy-to-understand form with clear examples, and at the same time, provide a useful reference for your future studies.

Why should you read these tutorials?

​On the Internet, there are thousands of documents and resources for learning OpenGL. However, most of these resources only discuss OpenGL's immediate rendering mode (Immediate Mode, usually referred to as old OpenGL), or are incomplete, or even Just not for your learning taste. So, my goal is to provide a complete and understandable platform for people to learn.

If you enjoy tutorials that provide step-by-step instructions, provide clear examples, and don't drown you in details, then these tutorials are probably for you. My tutorials are designed to be understandable to those with no graphics programming experience, yet interesting to those who do. My tutorials also discuss some common concepts, and with just a little creativity on your part, you can turn your ideas into real 3D programs. If you think the above is all about you, welcome to continue reading my tutorial.


What will you learn?

The core of my tutorials is modern OpenGL. Learning (and using) modern OpenGL requires the user to have a very good understanding of graphics programming and the workings of OpenGL behind the scenes in order to be able to play well in programming. So, we will first discuss the core graphics concepts, how OpenGL draws pixels to the screen, and how to use black technology to make some cool effects.

In addition to the core concepts, we will also discuss many useful techniques that can be used in your program, such as moving around the scene, making beautiful lighting, loading custom models exported by modeling software, and doing some cool things. Cool post-processing tricks and more. Finally, we will also use the knowledge we have learned to make a small game from scratch, so that you can really experience the charm of graphics programming.


About Chinese translation

Here is the Chinese translation of the LearnOpenGL tutorial, the address of the English version is: Learn OpenGL, extensive tutorial resource for learning Modern OpenGL

Since the translation may not be able to accurately express the meaning of the original text, we recommend that you read the English version of the tutorial when you have doubts about the problem. If you have better suggestions for translation, you can submit an Issue or Pull Request on our GitHub project . If you have any questions about the content of the tutorial, please check the original text first. If it is not a translation error, please give feedback to the author (JoeyDeVries) directly in the comment area of ​​the original website.

If the source code in the tutorial cannot be opened, you can go to the GitHub page of the tutorial to find the required code. The source code and exercises of each tutorial are located in the corresponding chapter directory under the "src" directory.


The above is the first section of " OpenGL Tutorial - Chinese Edition" . This article is more suitable for readers who are interested in graphics programming, developers who want to do 3D programs, and readers who want to understand a complete and easy-to-understand OpenGL tutorial.

By the end of the book, you'll be able to do some cool effects with clear examples, and learn graphics programming post-processing techniques.

 

Guess you like

Origin blog.csdn.net/UWA4D/article/details/132227913