当前位置:网站首页>[my advanced OpenGL learning journey] learning notes of OpenGL coordinate system
[my advanced OpenGL learning journey] learning notes of OpenGL coordinate system
2022-06-24 15:43:00 【Byte scrolling】
I'm learning OpenGL When , We must learn about coordinate changes , But in fact, I don't learn well , Many times I feel very confused , Learn again today OpenGL The coordinate system of , Collect the information on the Internet and organize this note .
One 、OpenGL Coordinate change
OpenGL The device screen that eventually renders the graphics to is essentially 2D Of , The process of rendering a graph is to 3D The scene is transformed into the final 2D Process of scenario .
OpenGl The points defined in the user construct the local coordinate system of the model , The model is transformed into the world coordinate system , Then it is transformed into camera coordinate system through visual transformation , Then it is transformed into clipping coordinate system through projection transformation , Then the perspective division is converted to the normalized equipment coordinate system (NDC), Finally, it is mapped to the screen coordinate system through viewport transformation .
The coordinate transformation process is shown in the following figure :
The above figure depicts the detailed process of object transformation from local object coordinate system to screen coordinate system , Give me a list OpenGL The coordinate system in .
- World Coordinates( World coordinate system )
- Object Coordinates( Object coordinate system 、 Model coordinate system 、 Local coordinate system or current drawing coordinate system )
- Eye Coordinates( Eye coordinate system or camera coordinate system )
- Clip Coordinates( Crop coordinate system )
- Normalized Device Coordinates (NDC) ( Normalized equipment coordinate system )
- Window Coordinates (Scr
边栏推荐
- Cloud + community [play with Tencent cloud] essay solicitation activity winners announced
- Record the range of data that MySQL update will lock
- MySQL toolset: the official export tool mysqlpump
- 如何轻松实现在线K歌房,与王心凌合唱《山海》
- Industry cases of successful digital transformation
- Monitoring and warning | is the website attacked?
- The first in China! Tencent cloud key management system passes password application verification test
- Motion planning of floating base robot
- Parameterized tests guide in junit5
- Use dictionary
猜你喜欢

国产芯片的赶超,让美国手机芯片龙头高通害怕了,出招应对竞争

FreeRTOS新建任务不执行问题解决办法

Wi-Fi 7 来啦,它到底有多强?

Why is it easy for enterprises to fail in implementing WMS warehouse management system

国产最长寿的热销手机,苹果也不是对手,总算让国产手机找回面子

VNC Viewer方式的远程连接树莓派

实现领域驱动设计 - 使用ABP框架 - 领域逻辑 & 应用逻辑

熬夜整理出的软件测试【高频】面试题大全(2022最新)

高速公路服务区智能一体机解决方案

运营商5G用户渗透远远比4G慢,5G的普及还得看中国广电
随机推荐
MySQL toolset: the official export tool mysqlpump
PHP application container deployment practice
国产最长寿的热销手机,苹果也不是对手,总算让国产手机找回面子
How to implement SQLSERVER database migration in container
如何实现容器内的SqlServer的数据库迁移
国产芯片的赶超,让美国手机芯片龙头高通害怕了,出招应对竞争
Mongodb introductory practical tutorial: learning summary directory
The industrial control security of roaming the Intranet
Network engineers must know the network essence knowledge!
How to resolve the 35 year old crisis? Sharing of 20 years' technical experience of chief architect of Huawei cloud database
Analysis of dompurify
The future of robots -- deep space exploration
practice
Teach you how to view version information with mongodb
Easynvr has been connected to the third-party supervision platform. How to achieve local Internet access
QTreeWidget作为单例模式以dll返回的两个问题
How to expand disk space on AWS host
Which account of Dongfang fortune is safer and better
【Kubernetes】1
FPGA based analog I ² C protocol system design (Part 2)