CLEAR

Camera Space and World Space

In Spark AR Studio, you can choose whether objects in your scene are in camera space (relative to a mobile device's camera) or in world space (placed at a fixed point in the world).

Camera Space

By default, all objects are inserted as children of the Camera node in the Scene tab. As children of the Camera node, these objects are relative to the camera view and they follow the movement of the mobile device. This means they're in 'camera space'.

Viewport

Camera space is visualised in the Viewport. If you look at the Viewport, you'll see a small rectangle and a large rectangle. The small rectangle represents the mobile device and the large rectangle that's drawn on the video is how the mobile device's camera looks into the world.

Camera node

There's always one Camera node in every scene. It can't be removed and you can't add another one.

Focal Distance

When you insert an object, Spark AR Studio automatically inserts it at a fixed distance from the point of origin. To implement this, every project has the Focal Distance node, which can't be removed.

World Space

You can also move objects from camera space to a fixed position elsewhere in your scene. This is 'world space'. You need a mobile device with a gyroscope to distinguish between world space and camera space.

Device Motion Capability

This capability is automatically added when you move an object into world space. If you move that object back to camera space or delete it, you'll need to remove the capability manually. Leaving it in place will limit the mobile devices that your effect can work on.