In UC-win/Road, a script is a function that automatically performs operations typically done manually, such as viewpoint movement, screen display settings, and the execution of various simulations. It's essentially a feature for automated presentations, allowing even users unfamiliar with UC-win/Road to easily configure scripts to demonstrate actions suitable for presentation purposes. This time, we will introduce the functions of scripts.
 |
| ■ Figure 1: Script configuration screen |
|
| Basic functions of the script |
1. Perspective shift
In the group settings, "Camera" and "Driving/Flight" correspond to different functionalities. With "Camera," you can specify viewpoint changes based on location, perform parallel movements up, down, left, and right, adjust the viewpoint's orientation by specifying an angle, and control movement speed and field of view. In "Driving/Flight," you can set viewpoint movements along roads or flight paths defined in the data, allowing you to select a route, specify movement speed, define the viewpoint's height, set lanes, and designate a starting position. However, it is not possible to simultaneously use both the "Camera" command for viewpoint control and the "Driving/Flight" command for movement. For example, if a viewpoint rotation occurs using the "Camera" function while driving along a road specified by the "Driving/Flight" function, the driving will stop momentarily, and the viewpoint will rotate around the point where it stopped. To change the viewpoint's orientation while continuing movement with "Driving/Flight," use the "TURN HEAD" and "TILT HEAD" commands associated with action control points placed on the road or flight path, rather than using script commands.
2. Screen display settings
In the group settings, this corresponds to "Display" and "Multimedia." Under "Display," you can enable or disable traffic and weather information, select and configure elements to be displayed within the VR space (primarily through drawing options), and specify performance settings. For example, for materials like roads, trees, and signs, you can enable or disable their display; for terrain, you can enable or disable transparency and adjust the transparency level. In "Multimedia," you can set up video playback, text messages, model name displays, and sound reproduction. Text messages allow you to display any string of characters at any position on the screen, and you can specify the font, background color, blinking/scrolling settings, and 3D effects.
3. Environmental display settings
In the group settings, under "Environment," you can configure various atmospheric conditions within the scene, including time of day, brightness, and context application. The time setting allows for real-time time changes, as well as fast-forward options (e.g., advancing 1 minute per second) and the ability to rewind time in reverse. Additionally, you can specify the height change of lakes or bodies of water (water surface reflection settings), control the speed of the change, and create effects such as fluctuating water levels due to time or season, or simulate flooding during heavy rain.
4. Simulation execution
In the group settings, the following programs are included: "EXODUS," "Micro-simulation Player," and "xpswmm." Each program allows for the display of simulation results, as well as playback/pause controls and speed adjustments. Additionally, depending on the specific simulation, "EXODUS" allows for specifying paths, camera modes, and directions; the "Micro-simulation Player" enables setting repetition parameters; and "xpswmm" provides options for displaying water surfaces, flow velocity indicators, and sewer networks. However, to execute these simulations using a script, it is necessary to first load the results of each function and associate the simulation results with VR data. |
| The animation function was added in UC-win/Road Ver8.1. It allows you to specify the order in which scripts are played and combine multiple scripts into a single, longer script by playing them sequentially. One advantage of this feature is that it can reduce the time required for editing and verifying operation compared to creating a single long script by preparing individual scripts for each scene. Furthermore, it's possible to create various animation patterns by changing the combination of scripts, and you can also include multiple instances of the same script within a single animation; when placed consecutively, this allows for expressing repeated actions. |
| Effective presentation methods |
Here are some effective ways to showcase the features of the script.
1.LOOK AT ME
When you want a script to focus on specific buildings or areas, you can fix the direction of the viewpoint to particular models or objects. First, select the object you want to focus on and check the "Control Target" box. Next, add action control points to the flight path or road, then in the "Target (Model)" section, select the object that was designated as the "Control Target," and in the "Command" section, choose "LOOK AT ME." When the script runs along a flight path or road with these action control points, the viewpoint will always be directed towards the specified object from the moment it passes through the action control point. Note that this setting is only active while moving along the road or flight path; it will be disabled when the movement ends and the viewpoint shifts to a scenic location or elsewhere. If you want to disable it during movement, set an identical action control point at the location where you want to disable it, and in the "Function" section, set it to "Disable."
 |
 |
 |
| ■ Figure 2: LOOK AT ME screen |
2. Tunnel representation using terrain transparency
When displaying a long tunnel, one method to clearly illustrate the scale of the tunnel and its curvature is to render the terrain transparent, allowing a view from above that shows the entire structure. In the script settings, set the group to "Screen Display," enable "Terrain Transparency" in the actions, and add another command to specify the transparency level (alpha value). This will create an effect where the ground appears semi-transparent, providing an overview of the tunnel's shape as shown in the image. However, using terrain transparency can reduce the frame rate, so it is recommended to use this feature only when necessary.
 |
| ■ Figure 3: Terrain penetration representation |
3. Time variation and shadow representation
It is possible to simulate sunlight using the script's time change and shadow display functions. To display shadows, set the group to "Display" in the script settings and enable "Shadows" in the animation settings. To show how shadows change over time, set the group to "Environment," the action to "Time Setting," select a specific time, and then advance the time using "Display" and "Time Change." Enabling "Date and Time Display" under "Display" will make it easier to understand the current time. In addition to simulating the impact of buildings and structures on surrounding sunlight, it is also possible to represent the appearance of the sun and moon at different times using the time change function, just like with shadows.
 |
 |
| ■ Figure 4: Changes in sunlight exposure |
|
|
| (Up&Coming '13, featured in the late autumn issue) |
 |
|







>> Product comprehensive catalog

>> Premium membership services
>> Financial support
| Recently released products |
|
|
|