Table of Contents Previous Chapter Summary Chapter Viewpoint Slideshow Javadoc for translated java source Next Chapter Summary X3D Resources

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

 
 
  10 X3D Scenes       Scene Descriptions
colorIndex_color 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.
colorIndex_color1 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.
coordIndex_color 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_LineSet default Line Set This world tests browser ability to draw an IndexedLine set using mostly default values.
empty_colorIndex 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_colorIndex 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_colorIndex1 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 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.
polylines15000defcolor polylines 15000defcolor Test minimum requirement of 15000 polylines, using default coloring. wo concentrical circles are drawn on the local coordinate system, each circle contains 7500 points.
vertices15000 vertices 15000 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.

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

Validate XHTML 1.1

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

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

Table of Contents Previous Chapter Summary Chapter Viewpoint Slideshow Javadoc for translated java source Next Chapter Summary X3D Resources