Viz Artist User Guide

Version 3.14 | Published October 30, 2020 ©

Analog Watch

images/download/attachments/41798575/ico_analogw.png
The Analog Watch plug-in lets you create a real-time animated clock of objects.

Note: This plug-in is located in: Built Ins -> Container plug-ins -> Time

This page contains the following topics and procedures:

Analog Watch Properties

images/download/attachments/41798575/pc_aw_er.png

  • Mode: Sets the mode. Available options are Hour24, Hour12, Minute, Second and Off.

  • Smooth: Ensures the clock hands rotate smoothly. Check this button to enable smooth rotation. Hour hands always rotate smoothly, so this switch is inactive if the plug-in is set to Hour24 or Hour12 mode.

  • Offset: Changes the rotation offset. 1200 usually is equal to a rotation of 0 degrees.

    • 1 hour in Hour24 mode: 15 degrees.

    • 1 hour in Hour12 mode: 30 degrees.

    • 1 minute in Minute mode: 6 degrees.

    • 1 second in Second mode: 6 degrees.

To Create an Analog Watch

images/download/attachments/41798575/pc_aw_tx.png

  1. Add a Circle geometry to the scene tree, add material to it, and name it Clock.

  2. Open the Circle editor and set scaling to 2.0.

  3. Add three Arrow geometries as Sub-Containers of the Clock container, add material to them, and name the first Hours, the second Minutes, and the third as Seconds.

  4. Open the Arrow editor for Hours and set the following properties:

    • Style1 to Flat.

    • Width and Arrow Width to 4.0.

    • Percent to 30.0.

  5. Open the Arrow editor for Minutes and set the following properties:

    • Style1 to Flat.

    • Width and Arrow Width to 3.0.

    • Percent to 40.0.

  6. Open the Arrow editor for Seconds and set the following properties:

    • Style1 to Flat.

    • Width and Arrow Width to 2.0.

    • Percent to 50.0.

  7. Add the Analog Watch plug-in to the Hours, Minutes and Seconds containers.

  8. Open the Analog Watch editor for the Hours container and set it to Hour24 or Hour12.

  9. Open the Analog Watch editor for the Minutes container and set it to Minute.

  10. Open the Analog Watch editor for the Seconds container and set it to Second.

See Also