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 both a source of VRML files and as a destination for your
VRML test files.
Many of the files in the test suite are "minimal", which means they don't
include a camera, lights, etc. This is to keep them simple for people
who want to test just one feature (like "do cubes work?"). The unfortunate
side of this is that many of the models are ugly, or require you to move
around before you can see much. As the Suite continues to grow, we
expect that more of the files will include cameras, lights, etc.
Check out these other VRML test suites, too:
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 in the default color, from (-1, 0, 1) to (1, 0, -1).
(Includes a Coordinate3.)
|
|
|
linecolor
A square line set of color (.8 .8 .8), from (-1, 0, 1) to (1, 0, -1).
(Includes a Coordinate3.)
|
|
Lights
|
Directional
A light pointing from the initial camera to the cube
(so 5 of the sides should be dark). Be sure your
headlight is off!
|
|
|
Point
A point light at (2, 2, 2), shining on a red cube.
|
|
|
Spot
|
|
PointSet
Cameras
|
cubeper
A Cube and a PerspectiveCamera.
|
|
|
cubeortho A Cube and a OrthographicCamera.
|
|
Rotations
|
tri
A 1 unit high by 3 units wide triangle with a camera.
|
|
|
tri2
The above triangle rotated .75 around the X axis.
|
|
|
tri3
The above triangle rotated .75 around the Y axis.
|
|
|
tri4
The above triangle rotated .75 around the Z axis.
|
|
Transforms
|
face-rot
Several rectangles, rotated, translated, etc.
|
|
|
face-mat
Several rectangles, moved into place with matrices.
This should look identical to face-rot.wrl.
|
|
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.
- Minimal with an absolute URL Just a file which inlines another file which contains a cube. You may have to move your camera back to see anything. This version has an absolute URL.
- Minimal with a camera The same as minimal.wrl, except that this one has a PerspectiveCamera defined.
- Balls 9 balls from 3 inclusions of a file containing 3 balls. The color is varied in the including file.
- bbox bboxSize test case. This file includes a radius 5 sphere from another file, but specifies the bboxSize of the included 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).
- Chris Laurel's tests
LOD - Level Of Detail
Some VRML viewers don't yet support LOD, so these files may do strange things.
- Minimal A red Cube far away, a Cylinder when closer, a Sphere very close.
- queenbig A "queen" chess piece, varying in polygon count as you move away from it & towards it. This file contains an SFEnum with a value of "OFF", which some VRML viewers can't handle.
- queenbignoenum A "queen" chess piece, varying in polygon count as you move away from it & towards it. This file does not contain the SFEnum that queenbig has.
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.
AsciiText and FontStyle
Some VRML viewers don't support AsciiText, so these test cases may not
display anything with yours.
- TextTest Chris Marrin's excellent text test.
- FontStress Various AsciiText and FontStyle tests, all in one file.
GZIP
GZIP is supported by many VRML viewers, but may not work with the one you're
testing. It's also possible your web browser will give a warning dialog
like "Warning: unrecognized encoding: 'x-gzip'.".
- cube.wrl.gz A compressed version of the simple cube.
- inline.wrl.gz A compressed file which incluees the compressed 'cube.wrl.gz' above.
Bad VRML
These test files contain "bad VRML" in that they are either non-compliant
or are designed to crash VRML viewers with bizarre tests that should never
be seen in a real VRML file.
- ctrlzeof A cube in a file with a control-z at the end (after the terminating '}').
- ctrlzmid Two cubes in a file with a control-z between them. This file gives an error with most viewers, because it's not a valid VRML file.
- ctrlname A DEF name with a control-f in it. The scene should be two cubes. This is also invalid VRML, so most viewers will give a read error on it.
- Recurse This file has a Cube and includes itself. Not very polite.
The VRML below here has yet to be sorted into categories above the
magic horizontal line.
Chaco's VRML
Most of this is VRML we wrote at Chaco, but some of it is just local
(usually tweaked) copies of other folks' VRML.
Dusk
Debugging
These files are (or were) used by Chaco for debugging our VRML viewers.
Tierra
SGI
Aereal Inc.
Know of other VRML that should be on this list?
Mail us and let us know!