added the auto scale feature to the object loader sample