Basic coordinate system of webgl

Use several different process configuration in a Cartesian coordinate system and the display of the scene:

Modeling coordinate system (coordinate system several): structure shape of each object in the respective coordinate system, such as the configuration of their vehicles, trees, flowers model.

World coordinate system: Once the building model, you can drop the object known as the corresponding position in the world coordinate system of the scene reference frame. This step involves separate variation of the local coordinate system to the world coordinate system of the position and orientation specified.

Observation pipeline: Having described the scene, the scene to the world coordinate system through coordinate transformation into various kinds of processing one or more output devices to display, this process is called observation line.

Observation pipeline process: First, a world coordinate system into the position corresponding to our observation of a scene viewed coordinates, the virtual camera and a direction based on the conversion is performed. Then converted a two-dimensional projection target position for this scene, which would correspond with the results seen on our screens.

                               The two-dimensional projection is then deposited into normalized coordinate system whose coordinates range from -1 to 1 or from 0 to 1.

                              Finally, the graphics are scanned to refresh the cache transformed rasterized display system, the display device is referred to a coordinate system device coordinate system or screen coordinate system


   Summary: graphical display to go through the process of following the coordinate system, the final display:
    the local coordinate system ----- "world coordinate system ======" observation and projected coordinate system (three-dimensional scene into a two-dimensional projection ) === "normalized coordinate system (coordinate information so that the device does not affect the yield, a standard form) ====" screen coordinate system



Published 31 original articles · won praise 13 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_38694034/article/details/79553003