Revision as of 17:49, 29 October 2012 by HE-ALEX (Talk | contribs)
Jump to: navigation, search

A Room in HeroEngine is not so much a discrete location, as a way of grouping assets to indicate what can and can't be seen from any particular location. It is a subset of an area, and is used to segregate the graphical elements of the Area. The purpose of the segregation is two-fold:

  1. Rooms can be "turned off" so that the graphical elements are not displayed. Each room, therefore, knows which other rooms can be seen from it (this is established by the team designing the area). The idea is to have as little turned on (i.e. being rendered) as possible at one time. This vastly improves frame rate. Care must be taken to divide areas into rooms such that they maximize this advantage without showing any artifacts (such as "popping" geometry). For more information on optimizing frame rate, please see the section at the bottom of this page on Visibility.
  2. Each room can have a different Environmental Scheme. This lets different areas have unique ambient, diffuse, and fog lighting settings. This is very useful for indoor vs. outdoor parts of an Area.

Although called a "Room", this grouping of 3D assets has nothing to do with being indoors. A Room is just an arbitrary collection of visuals that can be individually turned on or off (according to which room is currently active) and have unique lighting settings.

When placing graphical elements in Rooms, it is good form to keep the elements of each Room geographically separate from elements in other Rooms, so that when multiple Rooms are visible, their respective elements do not overlap with each other. Connecting with other Rooms is excellent, but elements should not overlap in the same space.


Creating rooms

There are two ways to do this, by clicking on "Add" on either:

Room names

When a new area is created, it will have two rooms:

When naming new rooms:

Creating rooms with the Room Toolbar

The Room Toolbar in HeroBlade
  1. If it's not already open, locate the Room Toolbar by right-clicking on any toolbar in HeroBlade and checking "Room".
  2. In the Room Toolbar, click the "Add" button
  3. Name the new room, according to the Room naming conventions
  4. Click OK
  5. Important: After the room has been created, select it from the dropdown menu on the Rooms Toolbar (or click on the name in the Area Panel)
  6. You are now ready to start populating the room with Assets.

Creating rooms with the Area Panel

The top part of the Area Panel in HeroBlade
  1. Open your Area Panel
    If you don't see it, check to make sure it's selected in the Panels menu
  2. Click the "Add" link.
  3. Enter the room name
  4. Your room should appear in the list on the Area Panel. Select it to work in it, either by clicking on the name, or selecting it from the dropdown menu in the Rooms Toolbar
  5. You are now ready to start populating the room with Assets.

Deleting rooms

Note that a room cannot be deleted if there are still asset instances in it. If you try to remove the room, a warning popup will appear:

The popup that appears if you try to remove a room that is not yet empty

If this occurs, the instances in that room must either be deleted first, or moved to a different room. The easiest way to do this is:

For other ways to identify which instances are in a particular room on a more individual basis, see the documentation on the Assets panel and Rooms Toolbar.

After deletion

When you delete a room, there will temporarily be a blank in the Rooms Toolbar, which means you are outside the bounds of all rooms in the area, and your viewpoint may be looking at a void. Simply choose another room in the Room Toolbar to be able to see the area's assets again.


Adjusting room visibility

Main page: Room visibility

There are two ways to adjust which rooms can "see" other rooms:

With the Rooms Toolbar

Clicking on the yellow visibility box on the Rooms Toolbar:

Bounding box colors indicate the state of visibility in relation to the current room:

Visibility can then be adjusted as follows:

To exit Room Tool mode, simply click on the yellow box again, or choose another tool from the Transform Toolbar, such as Move, Rotate, etc.

With the Area panel

The second subpanel in the Area Panel displays a list of all the rooms which can be seen from the currently selected room.

Once rooms that are visible from the current room have been selected, clicking the "Back Connect All" link will make the current room visible from all of the selected rooms, as well.

Note: The "Update BB" link can be used to ensure that the new Bounding Box information is updated on the server. This is a legacy link from older versions of HeroEngine, and is no longer used.

Managing rooms


The Area panel allows you to view a list of all rooms, and quickly scan through to see which rooms are visible from other rooms.

See also

Personal tools