IBM TJ Watson Research

IBMVideosSpinning

IBMVideosSpinning.mp4

Description

A MovieTexture on a Rectangle, Circle, IndexedFaceSet2D and Curve2D. Each shape is rotated through 360 degrees, anticlockwise, over a period of 5s and then for 5s the shapes stand still in their unrotated state. This cycle repeats indefinitely; the video lasts only for 40s though.

The 5s rotation is driven by a TimeSensor with loop set to false. Another TimeSensor is set with loop true and its cycleInterval set to 10s. Its cycleTime eventOut is routed to the startTime of the 5s TimeSensor. Hence each period of the 10s TimeSensor the 5s TimeSensor is started.

See also IBMImagesSpinning which is similar but done with still images.

Screenshot

Snapshot taken while spinning.



Back to main index