Class ITSCreaseAnglerFilter

java.lang.Object
xj3d.filter.AbstractFilter
xj3d.filter.filters.ITSCreaseAnglerFilter
All Implemented Interfaces:
BinaryContentHandler, ContentHandler, ProtoHandler, RouteHandler, ScriptHandler, StringContentHandler

public class ITSCreaseAnglerFilter extends AbstractFilter
Takes an IndexedTriangleSet and a creaseAngle parameter and outputs a geometry that accounts for the creaseAngle. Valid output with be either another IndexedTriangleSet or a TriangleSet. Preference will be given to an IndexedTriangleSet for speed purposes. All faces who's geometric normal is less then the creaseAngle will be calculated so that the faces are shaded smoothly across the edge; otherwise, normals shall be calculated so that a lighting discontinuity across the edge is produced. Input normals are ignored.
Version:
$Revision: 1.2 $
Author:
Alan Hudson