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

X3D Example Archives: Conformance Nist, Grouping Nodes, Anchor

X3D Scenes Descriptions
bound - 500 This tests check the boundary condition of 500 children per grouping node. An Anchor node is defined with 500 children in its "children" field. Section 7.3 (Minimum Support Requirements) of the VRML specifications 500 children within a single grouping node. The test should generate 500 default color spheres and radius 0.3
existing - file This file is referenced by the "invalid-url" file as part of the invalid URL test. This file in particular should generate a blue box with some text on top of it.
invalid - vpoint Test browser to ignore a reference to a non existing viewpoint. The test should generate some text and a sphere. The sphere is a child of an Anchor node whose url field contains a reference to a viewpoint name that does not exists. The browser should ignore that reference and nothing should happen when the user clicks on the sphere.
nested - anchor This test defines an Anchor node whose url field is in turn another Anchor node. The test should generate a red sphere with some text on top. After the user clicks on the sphere, the browser should bring up a red box with some text on top. After the user clicks on the red box, the browser should bring up a blue box with some text on top of it. No viewpoints are associated with the url fields.
new - world This is a collateral file used in other tests for this node.
singleurl This is a collateral file used in other tests for this node.
test - anchorclick This is a collateral file used for other tests of the Anchor node.
test - anchorviewpoint Test an Anchor with a Viewpoint. This test defines an Anchor node with a Shape node in its children (Text geometry). It references the fiie "test-viewanchor.x3d" its "url" field with user clicks on the text when the test is first started. A new viewpoint cone and the box are displayed.
test - bboxsizesame Test bounding box parsing only. An Anchor node with a Shape node (IndexedFaceSet geometry) as a child is defined in the local coordinate system. A bboxSize of 2 2 2 and a bboxCenter of 0 0 0 is given to the Anchor node. The browser should parse the Anchor node without logo mapped to the front.
test - mult - multurl Test browser to nest multiple Anchor nodes in the children field of a parent Anchor node. This test defines an Anchor node with three Shape nodes as children (within another Anchor node). Each child is associated with a different url. The files referenced in the url fields are stored in the same directory where the calling Anchor file is. The test should generate a blue box if the first sphere is clicked, a blue cone if the second one is clicked and a blue cylinder if the third one is clicked. No viewpoints are associated with the url fields.
test - mult - singleurl Test an Anchor to a single URL. This test defines an Anchor node with three Shape node as children. All children are associated with the same url. It basically test the ability of a browser to associate a single url entry with multiple blue box (with some text on top of it). No viewpoints are associated
test - simple Anchor Test a simple Anchor reference, no viewpoints are used in the URL field. This defines an Anchor node with a Shape node as its child. with some text on top of it. When the user clikcs on the sphere, the browser should bring up another world consisting of a red box and some text on top of it.
test - viewanchor This is a collateral file used in other tests for this node.
test - viewpointonly Test browser to bind a viewpoint to the current world by using the url field of an Anchor node. The test should generate some text whose viewpoint is changed to 0 0 20 when the user clicks on it.
third - world This is a collateral file referenced by the "new-world.x3d" file as part of the "Anchor referencing another Anchor" test. This file in particular should generate a blue box with some text on top of it.
url 1 This is a collateral file used in other tests for this node.
url 2 This is a collateral file used in other tests for this node.
url 3 This is a collateral file used in other tests for this node.

Online at http://www.web3d.org/x3d/content/examples/ConformanceNist/GroupingNodes/Anchor

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

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.