Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
ReflectionMapper=STATIC01
{
  Type=Cubic
  EnableOmni=(1) //Enabled by default, you can choose to disable them though.
  UpdateRate=(0.100)
  StaticSwitch=(500.000)
  Pos=(475.4,28.0,2090.0)
  IncludeIns=..
  ExcludeIns=..
}

Previewing Via IBL Visualiser 

The IBL Visualiser in the Scene Viewer or Developer Mode allows a preview of the current settings applied to each mapper, a drop down list can be used to preview each mapper and its settings in the scene. The visualiser will also update as it is moved around the scene.

Image Added

Rule based includes

Instances can now be included or excluded from mappers using the InsRule tag. for example:

Code Block
ReflectionMapper=STATIC01
{
  Type=Cubic
  TextureSize=(1024)
  UpdateRate=(0.100)
  StaticSwitch=(250.000)
  Pos=(475.4,28.0,2090.0)
  InsRule=!DigitalFlag*
  InsRule=!*Worker_*
  InsRule=!PitOfficial*
  InsRule=!Veh_Line*
  InsRule=!Veh_Rescue*
  InsRule=!Crowd_Race*
  InsRule=!Crowd_Practice*
  
  // include everything else
  InsRule=*
}
  • each instance is hierachically matched through the insRules. The first matched rule is used to determine if the instance should be included or not
    • for example ABCDWorker_ABCD will be excluded above as it will match the rule "*Worker_*" before the "*" rule
    • Dog would be included above as it would not match any of the '!' rules but would match "*"
    • If the "*" rule was omitted no instances would be included as they would not match an "include" rule
  • InsRule accepts the wild card '*' this will match any characters until the text after the wild card is encountered, and should be consistent with other wild card searches
  • If an InsRule is is prefixed by a '!' then the rule becomes an exclude rule and any instance that matches that rule will be excluded