Examples from the VRML 2.0 Handbook: chapter 4, part 2

This page shows the example 3D models from the second half of chapter 4 of the The VRML 2.0 Handbook, by Jed Hartman and Josie Wernecke. For more information, see my main Handbook examples page.

In some cases, the download links download a Zip file containing the main VRML file plus any other associated files that the main file relies on, such as textures.


Example 4-8: Using a Cylinder node

Creates two columns and puts them on the bases.

Download

Preview image

Example 4-8.
Example 4-8.

Live demo


Unnumbered example (p. 76): Ceiling

Adds a ceiling to the temple.

Download

Preview image

Unnumbered example.
Unnumbered example.

Live demo


Example 4-9: Using a Coordinate node

Creates a flat square by specifying four coordinates.

Download

Preview image

Example 4-9.
Example 4-9.

Live demo


Example 4-10: Using an IndexedFaceSet node

Creates part of the roof of the temple.

Download

Preview image

Example 4-10.
Example 4-10.

Live demo


Example 4-11: Using an IndexedLineSet node

Creates a burst of sun rays.

Download

Preview image

Example 4-11.
Example 4-11.

Live demo


Example 4-12: Using a Text node

Shows the word Tenochtitlan.

Download

Preview image

Example 4-12.
Example 4-12.

Live demo


Example 4-13: Specifying fonts

Shows samples of different fonts.

Download

Preview image

Example 4-13.
Example 4-13.

Live demo


Example 4-14: Using diffuse color in a Material node

Shows the temple model with red column-bases and gray-green columns.

Download

Preview image

Example 4-14.
Example 4-14.

Live demo


Example 4-15: Ambient intensity

Makes the temple roof red, with that color contributing to ambient lighting.

Download

Preview image

Example 4-15.
Example 4-15.

Live demo


Example 4-17: Prototyping a column

Shows a column as a prototype.

Download

Preview image

Example 4-17.
Example 4-17.

Live demo


Example 4-18: Prototyping with an exposed field

Shows a column as a prototype with an exposed field.

Download

Preview image

Example 4-18.
Example 4-18.

Live demo


Example 4-19: External prototype syntax

Shows a column as a prototype in a different file.

Download

Preview image

Example 4-19.
Example 4-19.

Live demo