IBM TJ Watson Research

IBMCommandReplaceScene

IBMCommandReplaceScene.mp4

Description

The first scene has a Background2D with a yellow color, with red Circle and a blue Rectangle.

At t=10s the scene is replaced by a Background2D with a white color, an ImageTexture on a Bitmap geometry and a green Circle. Also at this time an ObjectDecscriptorUpdate provides for the image media itself. The scene also contains a TimeSensor, whose startTime is 1s and duration is 6s. So at t=11s the color of the Circle is set by a ColorInterpolator to an orange and the color is interpolated over the 6s period to finish at blue.

At t=20s the scene is replaced for the last time in this test. The scene contains a Background2D that refers to the OD for the image that was received at t=10s. The OD is still valid as it is unaffected by the BIFS command to ReplaceScene. Hence the same image now appears as a background that scales to the screen dimensions. The scene also contains text that is moved by a PositionInterpolator2D in a vertical direction towards the top of the screen and then down again, to stop near the bottom, over a 5s period.

Screenshot

Snapshot taken after first (initial) ReplaceScene

Snapshot taken after second ReplaceScene as circle's color is interpolating

Snapshot taken after third (final) ReplaceScene while text was moving



Back to main index