ParallelGraphics
Home  »  Web 3D Products  »  Cortona3D Viewer  »  Cortona3D Viewer 6.0 Beta  »  Interpolator Nodes in Cortona  »  Position2InterpolatorEx Node
Up to Interpolator Nodes in Cortona

ColorInterpolatorEx Node 

OrientationInterpolatorEx Node 

Position2InterpolatorEx Node 

PositionInterpolatorEx Node 

ScalarInterpolatorEx Node 


Subscribe to Newsletter
 


Google Searchsite search:

 

%(domain)s %(domain)s
Install Cortona VRML Client!

Outline 3D

3D Page Of the Week


Position2InterpolatorEx Node
The Position2Interpolator node interpolates among a list of SFVec2f values using a specified interpolation method. This node extends the ParallelGraphics extension node Position2Interpolator.

EXTERNPROTO Position2InterpolatorEx [ 
  eventIn         SFFloat   set_fraction               # (-inf,inf)
  exposedField    MFFloat   key             []         # (-inf,inf)
  exposedField    MFVec2f   keyValue        []         # (-inf,inf)
  exposedField    MFFloat   params          [0, 0, 0]  # (-inf,inf)  
  exposedField    SFString  type            "LINEAR"  
  eventOut        SFColor   value_changed
]
[
  "urn:inet:parallelgraphics.com:cortona:Position2InterpolatorEx"
  "http://www.parallelgraphics.com/vrml/proto/Cortona/extensions.wrl
  #Position2InterpolatorEx"
]

The type field defines the interpolation method. The possible values of this field are "CONSTANT", "LINEAR", "COSINE", "CUBIC" and "HERMITE". In the case of the Hermite interpolation, the params field specifies three interpolation parameters: Tension, Continuity and Bias.

Definitions of the other fields and events of the Position2InterpolatorEx node are similar to the corresponding definitions for the ParallelGraphics extension node Position2Interpolator.


Last updated: Wed, 07 Jan 2009
© 2000-2008 ParallelGraphics. All rights reserved. Terms of use.