Which camera pose initializer strategy should I use?


#1

Hey,
I’m trying to implement my own Room Capture app based on the Room Capture example app.
I tried using both STCameraPoseInitializerStrategyGravityAlignedAtOrigin and STCameraPoseInitializerStrategyGravityAlignedAtVolumeCenter and got the same results.
Can you help me understand the difference between the two strategies?
difference

Thanks!


#2

STCameraPoseInitializerStrategyGravityAlignedAtOrigin:

“Align the camera orientation using the gravity vector, leaving the translation component to (0,0,0).”

STCameraPoseInitializerStrategyGravityAlignedAtVolumeCenter:

“Align the camera orientation using the gravity vector, and places the camera center at the center of the scanning volume.”

You might have not seen much of a difference between the two with your tests, but generally, for a room capture app, you should be using STCameraPoseInitializerStrategyGravityAlignedAtOrigin.