Before adding a primitive, we recommend that you Add a New Piece.
Add a Primitive
CabinAR allows us to use geometric primitives – sphere, box, cylinder, plane, and text – to build AR content. Let’s add a sphere to our scene and change it’s color, size, and position. For more information on primitives see here and here.
Go to your scene.
Select the button labeled sphere from the menu. A large red sphere should appear in the 3D editor, and a single line of html should appear in the html editor.
You have now added your first primitive!!
You can change the color (and other attributes) of your primitive directly in the code editor.
And use the P, R, and S buttons in your 3D editor to change the position, rotation, and scale.