Workflow-Scenario Architecture

architecure_01.jpg

<UnifeyeDesignInstallationFolder>/examples/scenarios/architecture/Workflow_architecture.xml

Interaction

Using the arrow-keys UP and DOWN you can switch through the different layers of the house.

Description of the VRML:

Step01.wrl
  • OB_Roof01: the roof

Step02.wrl
  • OB_Floor03_Windows: the windows of the 3rd floor
  • OB_Floor03_Inside: the interiour walls of the 3rd floor
  • OB_Floor03_Outside: the outside walls of the 3rd floor
  • OB_Roof02: the upper part of the drip rail
Step03.wrl
  • OB_Inbetween2: the outside walls of the groundfloor of 3rd floor
  • Switch: a Switch-Node containing 2 geometries:
    • OB_Floor03_Floor: the floor of the 3rd floor with a texture that has shadows caused from the walls
    • OB_Floor03_Floor_NoWalls: the floor of the 3rd floor with a texture without shadows on it.
Step04.wrl
  • OB_Floor02_Outside: the outside walls of the 2nd floor
  • OB_Floor02_Windows: the windows of the 2nd floor
  • OB_Floor02_Inside: the interiour walls of the 2nd floor
  • OB_Roof03: the middle part of the drip rail
Step05.wrl
  • OB_Inbetween1: the outside walls of the groundfloor of 2rd floor
  • Switch: a Switch-Node containing 2 geometries:
    • OB_Floor02_Floor: the floor of the 2nd floor with a texture that has shadows caused from the walls
    • OB_Floor02_Floor_NoWalls: the floor of the 2nd floor with a texture without shadows on it.
Step06.wrl
  • OB_Floor01_Outside: the outside walls of the 1st floor
  • OB_Floor01_Windows: the windows of the 1st floor
  • OB_Floor01_Inside: the interiour walls of the 1stfloor
  • OB_Roof04: the lower part of the drip rail
Step07.wrl
  • Switch: a Switch-Node containing 2 geometries:
    • OB_Floor01_Floor: the floor of the 1st floor with a texture that has shadows caused from the walls
    • OB_Floor01_Floor_NoWalls: the floor of the 1stfloor with a texture without shadows on it.
Step08.wrl
  • Switch: a Switch-Node containing 2 geometries:
    • OB_Shadow_Plane00: the garden with a texture that has shadows caused from the complete house
    • OB_Shadow_Plane01: the garden with a texture that has shadows caused from the house without roof
    • OB_Shadow_Plane02: the garden with a texture that has shadows caused from the house with only first and second floor
    • OB_Shadow_Plane03: the garden with a texture that has shadows caused from the house with only the first floor
    • OB_Shadow_Plane04: the garden with a texture that has shadows caused only from the hedge
  • OB_Hedge: the hedge surrounding the garden

Description of the Workflow:

  • Start:
    • Like every other workflow this one starts with "Start Action", "Activate camera" and "Load tracking configuration".
    • The house consists of 8 separate VRML-files, which are loaded all at once with "Load multiple geometries". Before you can load a model you have to add it to Resources. After it is known to the system you can simply select it from the dropdown-box.
    • Although all loaded VRML-Models are visible by default a "Set geometry visible"-action was added, since this will be needed to as the entry point for the loop, when switching back lateron.
    • At this point the Workflow will pause, waiting for user input untill the Down-key is pressed.
  • Pressing Down-key:
    • With a "Set geometry visibility"-action the first VRML-File "Step01-Roof" will be set to Visible=No, thus hiding the roof and revealing the look inside the 3rd floor.
    • With the "Set VRML field"-action a defined node in a VRML-file can be accessed and its values edited. The VRML-file Step08-Garden has a defined Switch-Node named Switch, which contains several versions of the garden-ground-plane as children - each with a different texture. By changing whichChoice's value from 0 to 1 the first model (having a texture showing the shadow of the complete building) will be replaced with the second model (having a texture showing the shadow of a building without roof).
    • Once again, although its already visible right now, the second VRML "Step02-Floor3-Walls" needs to be set visible as entry-point for the loop.
    • Then the workflow pauses again untill the Up or Down-key is pressed.
      • Pressing Up-Key:
        • With "Set VRML field" editing the whichChoice-field of the Switch-node from 1 back to 0 the garden is set back to the full-shadow-state he was before.
        • Then the workflow leads back to the first "Set geometry visible"-action. Now it's also revealed why the roof was explicitly set to visible before. From here you can start the loop again with pressing Down
      • Pressing Down-Key:
        • A second loop (dealing with the 3rd floor) similar to the loop we just came from (dealing with the roof) is reached. From here on the same actions as before are used to proceed deeper through the floors.

-- SupportMetaio - 2010-02-23

Topic attachments
I Attachment Action Size Date Who Comment
jpgjpg architecure_01.jpg manage 103.3 K 2010-02-24 - 15:23 SupportMetaio UnifeyeDesign Workflow-Scenario-Explanation Architecture
Topic revision: r5 - 2010-03-03 - 14:39:12 - SupportMetaio
 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback