• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Inlining Files

As you may recall from Chapter 2, "Overview of Web3D," one of the major design features of VRML 2.0 (and consequently VRML97) is composability, which allows the various objects and scenes that a world is comprised of to be created independently of each other and stored in their own files. A circus scene created in VRML, for instance, might ultimately be made up of a variety of different objects, such as a big-top tent, clowns, fire eaters and sword swallowers, ringmasters, and various performing animals including dancing bears, one-trick ponies, and perhaps even aquatic acts such as beach-ball-balancing sea lions and dolphins. Although these objects could all be defined within a single VRML file, they can, instead, be created and stored independent of each other yet assembled together for the final circus scene, thanks to composability (see Figure 10-1).

Figure 10-1. VRML's Inline node allows content to be created and stored independently of the worlds in which it appears.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint