Skip to content

Pipeline overview

stom edited this page Apr 3, 2024 · 3 revisions

Creating a scene

The process for creating your own scenes is outlined as follows:

  • Create your scene in Blender
  • Export the scene meshes with the Scene Slicer plugin
  • Export the scene colliders with the Cannon Collider plugin
  • Configure the Infinity Engine to use your scene
    • See [Infinity Engine Configuration]

How the exported files are used:

image

Choosing the right grid size for slicing

You should choose an appropriate grid size when slicing your scene. Try to use a grid size 1/4 of your overall parcel size. For most scenes the vertical height (the Z axis in Blender) should be tall enough to encompass the entire scene in a single layer, unless the scene is particularly tall.

Typically for a 2x2 scene your preferred grid size should be 8x8x32: * 8 tiles on each horizontal axis * 32 tiles high, or sufficient to encompass all meshes

You can try lowering the grid size to increase the distance at which tiles are loaded from the player, however, some things to bear in mind:

  • The smaller your grid size, the more IO load it puts on the system.
  • Large view distances with small grid sizes can result in poor performance
  • Grid sizes that are more than 1/4 the scene size will result in the tiles loading in next to the player
  • Scenes with large amount of vertical geometry should not try to encompass the full height within a single layer

Clone this wiki locally