Building from a Blank Template

Scenario includes a template called Blank.

This is an excellent template to use if you want to build your own scene using an external 3d model say from Remix3D, Google Poly, Sketchup or Sketchfab.

The Blank template includes a 360 background and an invisible floor plane.

In the dashboard Create a new space

Choose the Blank template

Click [Create Space]

Click on the Space to launch it

The default blank scene contains a 360 panorama background and an invisible floor upon which you can move the actors or place items

Let’s add a warehouse object to the scene.

Click the Pencil+ menu and choose Add content

Then put the URL of the 3d model in the search field

An import button will appear

Here you can see the model is in the scene but not appearing as expected.

It is common that models are not the right scale or position.

If you are lucky and it is the right scale you can pick up the item and move it around.

Otherwise you will need to adjust some numbers manually to get the model placed just right. This may involve some trial and error when working with 3rd party models.

With this warehouse for example lets adjust the scale from 1 to 0.025 of its original size to match our scene dimensions.

Click away from the editable list to see the scene

Orbit around with the camera to get some perspective

Here we can see the 3d model is too low and so lets adjust the Y axis position.

Here we adjust to 6.18 and the floor seems close to our avatars

This example model luckily has a person picture for scale reference (most models will not have that)

Now we need to move the model so that the scene happens inside it

Adjust the X and Z positions.

The scene is now positioned well

Now we want to make sure we don’t accidentally move the warehouse when trying to move other items. To do this use staticScenery

Set sceneryStatic field to true

Set freeTeleportTarget: true

This will allow you to long click anywhere on the floor to move freely around the model

Set receiveShadows: true

This will allow shadows from avatars and furniture items to be cast onto the model’s floor

Shadows

You must set the property receive shadows to true

If the shadows from avatars are not appearing everywhere on the floor of the 3d model it may be that the shadow area is smaller than the model area.

You can change this parameter in the dashboard in the space's settings.

Under show advanced > Advanced settings panel find the setting called "Shadows Camera Size" a range from 5-35 should be experimented with.

The larger the number the less defined the shadow will be, so increase only as much as you require.

For performance reasons only cast shadow from items that really need it. Be aware on low powered devices shadows may not be shown for performance reasons.

Enjoy!

How useful was this article?

Click on a star to rate it!

We are sorry that this article was not useful for you!

Let us improve this article!

Tell us how we can improve this article?