• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part 2: VIRTUAL REALITY MODELING LANGUAGE > WEAVING VRML INTO WEB PAGES

Chapter 6. WEAVING VRML INTO WEB PAGES

Topics in This Chapter

  • Controlling the dimensions of your VRML content

  • Creating JavaScript popup windows

  • Embedding VRML into HTML with <EMBED> and <OBJECT>

  • Compressing VRML files

  • Sniffing for VRML browsers

  • Related VRML nodes

In this chapter you'll learn how to weave VRML content into Web pages. Specifically, you'll learn how to use JavaScript popup windows to control the dimensions of your VRML worlds when they are loaded directly by the Web browser. You'll also learn how to use the EMBED and OBJECT elements to seamlessly integrate VRML with HTML. Along the way you'll find that a freely available utility known as GZip can be used to greatly reduce the overall size of your worlds, saving precious download time and improving the overall experience for the end user.

In addition you'll find out how to use JavaScript code to write "sniffer" scripts that can determine what VRML browser plugin, if any, visitors to your site are using. This simple but effective technique can increase the appeal of your VRML-enabled Web pages by allowing you to immediately identify and assist those users who are not properly equipped to view your content. Finally, you'll learn about various VRML nodes that allow you to add author and copyright notices, hyperlinks, viewpoints and navigation controls to your worlds, which can further increase the appeal of your 3D pages.

Note

The source code appearing in this chapter (and all other chapters of this book) is available on the Web at http://www.CoreWeb3D.com/.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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