osmo.gif

As shown above, this effect is great for creating an AR scene that adheres to the inside of a box, making the interior seemingly come to life in AR. For instance, a toy company looking to show the possibility of interactive play, or a packaged goods brand that wants to show an animated AR product tutorial.

To create a 3D diorama:

  1. For more information on how to optimize your 3D assets for Geenee, check out some documentation HERE.
  2. Once signed into the builder, choose AR Type > Marker AR > Add Model > Apply Occluder to the 1 element (mesh)
  3. Insert this code on the “Model” level inside the 3D Viewer.

hiddenMesh – object’s name of previously created Mesh in your 3d Editor.

const hiddenMesh = this.activeSceneModel.scene.getObjectByName('hiddenMesh'); hiddenMesh.material.colorWrite = false;

osmo.mp4