IBM TJ Watson Research

IBMIndexedFaceSet2DScaling

IBMIndexedFaceSet2DScaling.mp4

Description

IndexedFaceSet2D that is scaled by routing a PositionInterpolator2D to the scale field of a Transform2D that has the IndexedFaceSet2D as a child. Scale is varied from 1.0 1.0 up to a max of 2.0 2.0 (so that the shape meets the edges of the preferred screen dimension) and to other values inbetween (minimum value being 0.05)

Filled=TRUE to make solid color faces. LineProperties is set to give yellow color lines around the faces comprising the single IndexedFaceSet2D shape.

Screenshot

Snapshot taken whilst IndexedFaceSet2D was dynamically scaling.



Back to main index