Coordinate Systems

Screen Shot 2022-04-19 at 2.59.02 PM.png

Overview

coordinate_systems.png

<aside> 💡 The reason we're transforming our vertices into all these different spaces is that some operations make more sense or are easier to use in certain coordinate systems. For example, when modifying your object it makes most sense to do this in local space, while calculating certain operations on the object with respect to the position of other objects makes most sense in world coordinates and so on

</aside>

Local Space

Local space is the coordinate space that is local to your object. Imagine that you've created your cube in a modeling software package (like Blender). The origin of your cube is probably at (0,0,0)even though your cube may end up at a different location in your final application.

World Space

TBC…

Visualize Camera/View Space in OpenGL

Change of Basis

https://www.youtube.com/watch?v=q5jOLztcvsM