- Multimedia Programming with Pure Data
- Bryan WC Chung
- 217字
- 2021-08-13 16:53:24
Understanding the coordinates system
In the last section while working on the size of the graphical shapes, we understood that when a square
object with size 4
, it will cover the whole GEM window. In the polygon
and curve
examples, we learned that each point in the GEM window corresponds to a point in three-dimensional space.
The GEM window is a two-dimensional projection plane of a three-dimensional space. The origin (0, 0, 0) is the center of the window. The horizontal axis is the x axis. Toward the right-hand side is the increasing value of x. The vertical axis is the y axis. Moving upward increases the value of y. For the z axis, you have to imagine a line moving from the center of the GEM window toward your eyes:

If we consider all the points with z value equal to zero, it will form a flat surface parallel to the GEM window. On this surface, when we move from the left-hand margin to right-hand margin, the x value changes from -4
to 4
. When we move from the bottom margin to the top margin, the y value changes from -4
to 4
. The measurement is due to the default settings of the GEM window view properties and is independent of the window's dimension in pixels.
- 后稀缺:自動(dòng)化與未來工作
- Expert AWS Development
- PostgreSQL Administration Essentials
- TensorFlow Reinforcement Learning Quick Start Guide
- 中國(guó)戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·智能制造裝備
- 基于RPA技術(shù)財(cái)務(wù)機(jī)器人的應(yīng)用與研究
- Creating ELearning Games with Unity
- Unreal Development Kit Game Design Cookbook
- Microsoft Dynamics CRM 2013 Marketing Automation
- Hands-On Deep Learning with Go
- Deep Learning Essentials
- 菜鳥起飛電腦組裝·維護(hù)與故障排查
- 企業(yè)級(jí)Web開發(fā)實(shí)戰(zhàn)
- 渲染王3ds Max三維特效動(dòng)畫技術(shù)
- ARM嵌入式系統(tǒng)開發(fā)完全入門與主流實(shí)踐