Patent attributes
Various implementations disclosed herein include devices, systems, and methods that determine an orientation of a three-dimensional (3D) model with respect to a global reference direction. For example, an example process may include obtaining an image from an image sensor, determining an orientation of the image sensor with respect to the direction of a celestial element, determining an orientation of the image sensor with respect to a global reference direction based on the orientation of the image sensor with respect to the direction of the celestial element and a relationship between the direction of the celestial element and the global reference direction, obtaining a 3D model of the physical environment, determining an orientation of the image sensor with respect to the 3D model, and determining an orientation of the 3D model with respect to the global reference direction.