Last Updated: October 11, 1996
VRML 2.0 Test Suite
Chaco's Converted VRML Test Suite
These files were obtained from
Chaco Communications, Inc and were converted using SGI's vrml1to2.
Many of the texture files are best viewed using the examiner view.
This test suite contains links to a variety of VRML files, split into
sections. Our hope is that the VRML community will use this repository
as a source of VRML files.
If you like, you can download the whole test suite as a
zip file or as a
tar.gz file.
Simple Objects
These are just the specified objects, at their default sizes (unless
otherwise specified).
- Cube
- Cylinder
- Cone
- Sphere
- Face A single square face, from (-1, 0, 1) to (1, 0, -1). (Includes a Coordinate3.)
- Line A square line set, from (-1, 0, 1) to (1, 0, -1). (Includes a Coordinate3.)
Lights
- Directional A light pointing from the initial camera to the cube (so the sides should be dark).
- Point A point light at (2, 2, 2), shining on a red cube.
PointSet
- points 4 Points in a square (difficult to see).
Cameras
- cubeper A Cube and a PerspectiveCamera.
Inlines
This section tests WWWInlines of various sorts.
- Minimal Just a file which inlines another file which contains a cube. You may have to move your camera back to see anything. Note that the WWWInline has a relative URL, which may fail with some viewer/browser combinations.
- Recurse This file has a Cube and includes itself. Not very polite.
- Balls 9 balls from 3 inclusions of a file containing 3 balls. The color is varied in the including file.
Simple Textures
Each of these files contains these three lines of VRML:
PointLight { location 2 2 2 }
Material { diffuseColor .8 .8 .8 }
Texture2 { filename monotex.gif }
followed by the described object.
- Cube
- Cylinder
- Cone
- Sphere
- Face A textured square face, from (-1, 0, 1) to (1, 0, -1). (Includes a Coordinate3.) Since this face is perfectly square, the spec allows the texture to be mapped on in almost any way.
- Face2 A textured square face, from (-1, 0, 1) to (1.1, 0, -1). (Includes a Coordinate3.) The spec gets better in this case, but is still ambiguous about where the origin of the (s,t) axis should go.
- face3 A textured square face, from (-1, 0, 1) to (1, 0, -1). This version uses TextureCoordinate2, so all viewers should draw this the same.
- Line A square line set, from (-1, 0, 1) to (1, 0, -1). (Includes a Coordinate3.)
Tricky Textures
- repeat5 A tiled texture on a square face.
- t2face A square face with a Texture2Transform'ed texture. translation is set to ".5 .5".
- t2face2 A square face with a Texture2Transform'ed texture. rotation is set to .2.
- t2face3 A square face with a Texture2Transform'ed texture. scaleFactor is set to "1.2 1.2".
- t2face4 A square face with a Texture2Transform'ed texture. scaleFactor is set to ".8 .8".
- t2face5 A square face with a Texture2Transform'ed texture. center is ".5 .5", rotation is .2.
- t2face6 A square face with a Texture2Transform'ed texture. center is ".5 .5", rotation is .2, scaleFactor is "1.5 1.5".
SFImage
These files test various aspects of SFImage.
- sfimage A simple SFImage. The texture is from the VRML 1.0 spec: " a 2 pixel wide by 4 pixel high RGB image, with the bottom left pixel red, the bottom right pixel
green, the two middle rows of pixels black, the top left pixel white, and the top right pixel yellow."
- sfimage2 Another simple SFImage. This texture comes from http://hyperreal.com/~mpesce/orrey.cgi.
- sfimage3 A complex SFImage with the Chaco logo (upside-down).
LOD - Level Of Detail
Many viewers don't yet support LOD, so these files may do strange things
with your viewer.
- Minimal A red Cube far away, a Cylinder when closer, a Sphere very close.
WWWAnchor
- HTML A cube with an anchor to an HTML page.
- VRML A cube with an anchor to a VRML sphere with an anchor back to the cube.
[ NIST Home Page ]
[ Information Technology Laboratory ]
[ SSD Division ]
[ Conformance Testing Group ]
[ NIST VRML 2.0 Conformance Testing ]