Table of Contents Previous Chapter Summary Chapter Viewpoint Slideshow Javadoc for translated java source Next Chapter Summary X3D Resources

X3D Example Archives: VRML 2 Sourcebook, Chapter 04 Text

Figure 04.11, Text Overstrike Font With Axes

Text geometry is placed in a Shape to describe your scene.

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
Figure04_01TextShape Figure 04 01 Text Shape Text Shape, with coordinate axes superimposed to show X3D/VRML directions
Figure04_01TextShapeWithAxes Figure 04 01 Text Shape With Axes Text Shape, with coordinate axes superimposed to show X3D/VRML directions
Figure04_02ListOfTextStrings Figure 04 02 List Of Text Strings Text Shape, with coordinate axes superimposed to show X3D/VRML directions
Figure04_02ListOfTextStringsWithAxes Figure 04 02 List Of Text Strings With Axes Text Shape, with coordinate axes superimposed to show X3D/VRML directions
Figure04_03CompressedText Figure 04 03 Compressed Text Compressed text using a small length field value.
Figure04_03CompressedTextWithAxes Figure 04 03 Compressed Text With Axes Compressed text using a small length field value, with coordinate axes superimposed to show X3D/VRML directions
Figure04_04ListTextStringsAndLengths Figure 04 04 List Text Strings And Lengths A list of text strings with a list of lengths.
Figure04_04ListTextStringsAndLengthsWithAxes 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
Figure04_05TextLimitedByMaximumExtent Figure 04 05 Text Limited By Maximum Extent Text Limited By Maximum Extent.
Figure04_05TextLimitedByMaximumExtentWithAxes Figure 04 05 Text Limited By Maximum Extent With Axes Text Limited By Maximum Extent, with coordinate axes superimposed to show X3D/VRML directions
Figure04_06aTextPlainSerifFont Figure 04 06a Text Plain Serif Font Text in a plain serif font. Compare with Figure 4.6b.
Figure04_06aTextPlainSerifFontWithAxes 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.
Figure04_06bTextBoldSerifFont Figure 04 06b Text Bold Serif Font Text in a bold serif font. Compare with Figure 4.6a.
Figure04_06bTextBoldSerifFontWithAxes 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.
Figure04_07SmallText Figure 04 07 Small Text Small Text.
Figure04_07SmallTextWithAxes Figure 04 07 Small Text With Axes Small Text, with coordinate axes superimposed to show X3D/VRML directions
Figure04_08aTextMoreLineSpacing Figure 04 08a Text More Line Spacing Text with more-than-default spacing between lines. Compare with Figure 4.8b.
Figure04_08aTextMoreLineSpacingWithAxes 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.
Figure04_08bTextLessLineSpacing 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.
Figure04_08bTextLessLineSpacingWithAxes 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.
Figure04_09TwoTextShapesDifferentJustification Figure 04 09 Two Text Shapes Different Justification Two text shapes with different types of justification.
Figure04_09TwoTextShapesDifferentJustificationWithAxes 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
Figure04_10TwoLinesTextFlatBox Figure 04 10 Two Lines Text Flat Box Two lines of text with a flat box between them.
Figure04_10TwoLinesTextFlatBoxWithAxes 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
Figure04_11TextOverstrikeFont Figure 04 11 Text Overstrike Font Show overstrike, using DEF and USE to share font properties.
Figure04_11TextOverstrikeFontWithAxes 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/Chapter04Text

Validate XHTML 1.1

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

The X3D Resources: Examples page and Savage Developers Guide provide more information about the production of this archive.

Table of Contents Previous Chapter Summary Chapter Viewpoint Slideshow Javadoc for translated java source Next Chapter Summary X3D Resources