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

Chapter 4. BIFS: Scene Description > Advanced BIFS Features

4.3. Advanced BIFS Features

In this section, some advanced BIFS features are presented.[9] The first feature, scripting, is introduced through an example in which the Script node is used to achieve complex interaction and create a panorama. Next, data encapsulation and model reuse with PROTO are presented. Finally, a way to deal with the unpredictability of text layout by using the Layout and Form nodes is explained.

[9] The subjective difference between basic feature and advanced feature is that all users of BIFS are expected to have to use basic features, whereas only a subset of users will need advanced features. This should not be confused with the somewhat arbitrary usage of the term “advanced” in the standard.

4.3.1. Scripting

This example features a panorama—a picture with a very wide field of view. In this case, the panorama has a field of view of more than 360° and has been created from a set of pictures taken from a single vantage point, which have been stitched together to create a seamless band. The expected effect is to give the viewer the impression of standing in the middle of the scene and allow him or her to look around. The viewer sees through the viewport (see Figure 4.10) and may move the viewport to the left or the right to simulate looking right or left, respectively. When the viewport comes to one end of the picture, it must be moved to the other end of the picture. To avoid any visible transition, the left and right ends of the panorama show the same (duplicated) piece of view.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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