ForgeJS allows you to display different media types and formats on the background of your scenes. Here is a tutorial about the grid media.

Grid

The media grid type will display a grid that represent the 3d space, it is usefull when you need a 3d scene without background to develop plugins for example. This is what a grid media looks like:

And this is how you can declare a media grid in your json configuration:

{
    "story":
    {
        "uid": "media-story",

        "scenes":
        [
            {
                "uid": "scene-grid",
                "background": "blue",

                "media":
                {
                    "uid": "media-grid",
                    "type": "grid",

                    "options":
                    {
                        "color": "yellow"
                    }
                }
            }
        ]
    }
}
  • uid - The unique identifier of the media.
  • type - The type of the media (grid).
  • options.color - The color of the grid.

24th Apr 2017