home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / source / chap17 / saucer1.avr < prev    next >
Encoding:
Text File  |  1996-08-02  |  544 b   |  16 lines

  1. // ActiveVRML 1.0 ASCII
  2. // Saucer1 Sample Script
  3.  
  4. // The first step is to import the raw media for our sample
  5. ship = first (import ("shipred.gif"));
  6. mountain = first (import("mountain.gif"));
  7. clouds = first (import("clouds.gif"));
  8.  
  9. // Define a 2D transformation to describe the saucer's position
  10. movement = translate (0.005, 0.007);
  11.  
  12. // Define a new saucer object that has movement applied to it
  13. saucer = transformImage (movement, ship);
  14.  
  15. // Define the expression used for display output
  16. model = mountain over saucer over clouds;