Time for action – set up a VisArea

Open any level and set up a small structure, as seen in the next screenshot examples.

  1. On the Rollup Bar, go to Area | VisArea.
  2. Place the VisArea shape around your room.
  3. Set the height.
  4. Try to stay on the grid.
  5. Keep the shape of the VisArea as simple as possible.
    Time for action – set up a VisArea

    Next, we must create a portal for our room.

    Portals are used to add a visual "entrance" into the VisArea.

  6. Create the portal shape according to the size of the entrance by creating the portal area with four points and aligning them to the outside and inside entrance points.
    Time for action – set up a VisArea

    Keep the size as small as possible. (Also, the size of the portal can't be bigger than the VisArea itself.)

    The portal has to be half inside the VisArea. (Being in the top and front view helps.)

    If you leave the VisArea (indoor), everything behind you will disappear, including the walls that are located inside.

    You will need a wall inside the VisArea and a wall outside the VisArea.

What just happened?

VisAreas and Portals allow for complex effects, such as achieving underwater rooms or expansive interiors, while rigidly controlling what is being rendered at the time. They are typically used to remove entire building interiors from rendering when the player views them from the outside. It also allows you to do the opposite, where all exterior rendering is disabled and only the objects within the VisArea are rendered. In either case, more control is given directly to the designer.

Ambient color of VisAreas and Portals

The ambient color parameter specifies which ambient color should be inside the VisArea or portal. This should be thoroughly considered, as the color difference between objects in a portal with a different ambient color than the attached VisArea will cause discontinuity in lighting and visual quality.

Blind spots

You may find when adjusting Portals and VisAreas that having any rotation outside of 90 degrees between their areas will cause blind spots and unpredictable behavior. This can be easily fixed by simply ensuring that the connection between the portal and VisArea is 90 degrees.

Using VisAreas and Portals vertically

To create VisAreas and Portals that work vertically, you must create them with their position in mind. They cannot be rotated from vertical to lateral, but rather must be drawn laterally instead.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.122.82