Table of Contents Previous Chapter Details Viewpoint Slideshow Next Chapter Details X3D Resources

X3D Example Archives: Conformance Nist, Geometry, Indexed Line Set

X3D Scenes Descriptions
15000 - polylines - defcolor Test minimum requirement of 15000 polylines, using default coloring. wo concentrical circles are drawn on the local coordinate system, each circle contains 7500 points.
15000 - Vertices Test 15000 vertices per polyline minimum conformance requirement. 15000 vertices are used to draw a single polyline. No colorIndex is used. The polyline is painted using the diffuseColor of a Material node.
color Index - color Test of colorPerVertex field set to true and the colorIndex field is set to valid indices for the color field. Under these conditions the colors are applied to each vertex in the order given by the colorIndex field. Lines are drawn and color in counter-clockswise direction (starting from the bottom leftmost vertex). Used colors are (in order) are Red, Green, Blue and Yellow.
color Index - color 1 Test of colorPerVertex field is set to true and the colorIndex field is set to valid indices for the color field. Under these conditions the colors are applied to each vertex in the order given by the colorIndex field. Lines are drawn and color in counter-clockswise direction (starting from the bottom rightmost direction). Used colors are (in order) are Red, Green, Blue and Yellow. This test is very similar to "colorIndex-color.x3d" only that in this test the indices in the colorIndex field are not unique.
coord Index - color Test of colorPerVertex field set to true and the colorIndex field is set to empty. Under these conditions the colors are applied to each vertex in the order given by the coordIndex. Lines are drawn and color in a counter-clockwise direction (starting with the bottom leftmost vertex). Colors (in used order) are Red, Green, Blue and Yellow.
default - Line Set This world tests browser ability to draw an IndexedLine set using mostly default values.
empty - color Index Tesf of colorPerVertex field set to false and the colorIndex field is set to empty. Under such conditions the colors are applied to each polyline in the order given by the color node. Lines are drawn and color in a counter-clockwise direction (starting with the bottom leftmost index). Colors (in used order) are Red, Green, Blue and Yellow.
filled - color Index Test of colorPerVertex field set to false and the colorIndex field is set to valid indices for each color in the color field. Under these conditions the colors are applied to each polyline in the order given by the colorIndex. Lines are drawn and color in a counter-clockwise direction starting from the bottom leftmost vertex. Colors (in used order) should be Blue, Yellow, Green and Red.
filled - color Index 1 Test of colorPerVertex field set to false and the colorIndex field is set to valid indices for each color in the color field. Under these conditions the colors are applied to each polyline in the order given by the colorIndex. Lines are drawn and color in counter-clockwise direction starting from the bottom rightmost line. Colors (in used order) should be Blue, Yellow, Green and Red. This test is very similar to "filled-colorIndex.xml" only that in this case the not all lines are assigned a distintive index from the ColorIndex.
parent - transform Test of parent transformation effect. Two cubes are drawn in the local coordinate system. The one to the left is affected by a parent transformation (rotated along the axis y by 1.5 radians. The one to the right should not be affected by the transformation (not rotated) and should be independent of the other one.

Online at http://www.web3d.org/x3d/content/examples/ConformanceNist/Geometry/IndexedLineSet

Master source code archive is under subversion control at
http://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/ConformanceNist/Geometry/IndexedLineSet

Table of Contents Previous Chapter Details Viewpoint Slideshow Next Chapter Details X3D Resources

Also available: current and archived nightly builds and distributions of these examples, all published under an Open-Source License.

The X3D Resources: Examples page and Savage Developers Guide provide more information about the production of this archive.