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

X3D Example Archives: VRML 2 Sourcebook, Chapter 04 - Text

Figure 04.11, Text Overstrike Font With Axes

This chapter describes how to build Text shapes with accompanying FontStyle nodes to vary how strings are presented.

These X3D scenes are adapted directly from the original VRML 2.0 Sourcebook chapter examples. Also available: Introduction to VRML97 SIGGRAPH98 course notes.

  26 X3D Scenes       Scene Descriptions
Figure 04.01 Text Shape Text Shape, with coordinate axes superimposed to show X3D/VRML directions
Figure 04.01 Text Shape With Axes Text Shape, with coordinate axes superimposed to show X3D/VRML directions
Figure 04.02 List Of Text Strings Text Shape, with coordinate axes superimposed to show X3D/VRML directions
Figure 04.02 List Of Text Strings With Axes Text Shape, with coordinate axes superimposed to show X3D/VRML directions
Figure 04.03 Compressed Text Compressed text using a small length field value.
Figure 04.03 Compressed Text With Axes Compressed text using a small length field value, with coordinate axes superimposed to show X3D/VRML directions
Figure 04.04 List Text Strings And Lengths A list of text strings with a list of lengths.
Figure 04.04 List Text Strings And Lengths With Axes Compressed text using a small length field value, with coordinate axes superimposed to show X3D/VRML directions
Figure 04.05 Text Limited By Maximum Extent Text Limited By Maximum Extent.
Figure 04.05 Text Limited By Maximum Extent With Axes Text Limited By Maximum Extent, with coordinate axes superimposed to show X3D/VRML directions
Figure 04.06a Text Plain Serif Font Text in a plain serif font. Compare with Figure 4.6b.
Figure 04.06a Text Plain Serif Font With Axes Text in a plain serif font, with coordinate axes superimposed to show X3D/VRML directions. Compare with Figure 4.6b.
Figure 04.06b Text Bold Serif Font Text in a bold serif font. Compare with Figure 4.6a.
Figure 04.06b Text Bold Serif Font With Axes Text in a bold serif font, with coordinate axes superimposed to show X3D/VRML directions. Compare with Figure 4.6a.
Figure 04.07 Small Text Small Text.
Figure 04.07 Small Text With Axes Small Text, with coordinate axes superimposed to show X3D/VRML directions
Figure 04.08a Text More Line Spacing Text with more-than-default spacing between lines. Compare with Figure 4.8b.
Figure 04.08a Text More Line Spacing With Axes Text with more-than-default spacing between lines, with coordinate axes superimposed to show X3D/VRML directions. Compare with Figure 4.8b.
Figure 04.08b Text Less Line Spacing Text with less-than-default spacing between lines, causing the lines of text to overlap. Compare with Figure 4.8a.
Figure 04.08b Text Less Line Spacing With Axes Text with less-than-default spacing between lines, causing the lines of text to overlap, with coordinate axes superimposed to show X3D/VRML directions. Compare with Figure 4.8a.
Figure 04.09 Two Text Shapes Different Justification Two text shapes with different types of justification.
Figure 04.09 Two Text Shapes Different Justification With Axes Two text shapes with different types of justification, with coordinate axes superimposed to show X3D/VRML directions
Figure 04.10 Two Lines Text Flat Box Two lines of text with a flat box between them.
Figure 04.10 Two Lines Text Flat Box With Axes Two lines of text with a flat box between them, with coordinate axes superimposed to show X3D/VRML directions
Figure 04.11 Text Overstrike Font Show overstrike, using DEF and USE to share font properties.
Figure 04.11 Text Overstrike Font With Axes Show overstrike, using DEF and USE to share font properties, with coordinate axes superimposed to show X3D/VRML directions

Online at http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter04-Text

Validate XHTML 1.1

Master source code archive is under subversion control at
http://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter04-Text

Table of Contents Previous Chapter Summary Chapter Viewpoint Slideshow Next Chapter Summary 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.