home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p036 / 15.ddi / FLYTHRU.TXT < prev    next >
Encoding:
Text File  |  1992-07-01  |  22.4 KB  |  680 lines

  1. FlyThrough Producer and Movies
  2.  
  3.  
  4. FlyThrough Producer lets you create simple fly-through animations
  5. that help you visualize 3D models. You create an animation with
  6. FlyThrough Producer by defining a path along which a virtual
  7. camera moves and by setting the direction and field of vision of
  8. the camera. When recording begins, the camera follows the path
  9. and saves rendered images at intervals along the way. The still
  10. images are frames. A series of frames makes up a sequence. You
  11. can store sequences in many industry-standard file formats.
  12.  
  13. You can control
  14.  
  15. * The path of the "camera"
  16.   
  17. * The type of lens used by the camera (from fisheye to
  18.   telescopic)
  19.   
  20. * Front and back clipping planes (you can slice through objects)
  21.   
  22. * A fixed or floating camera target point
  23.   
  24. * The number of frames created along a selected camera path
  25.   
  26. * The format of the output files
  27.   
  28. * The quality and resolution of the rendered images
  29.   
  30. With Movies, you can play back a sequence. The succession of
  31. still images creates the illusion of motion, just as in a film or
  32. videotape. Movies reads and writes many standard file formats.
  33. You can use Movies (and many other animation packages) to edit
  34. sequences or to integrate them into multi-media presentations.
  35.  
  36. To load FlyThrough Producer:
  37.  
  38. * In the MDL settings box, select FLYTHRU and click the Load
  39.   button.
  40.   
  41.   or
  42.   
  43.   Key in MDL LOAD FLYTHRU.
  44.   
  45. Note:
  46.   FlyThrough Producer and Movies are implemented as MDL applications.
  47.  
  48.  
  49. Files
  50.  
  51. The FlyThrough Producer and Movies software consists of the
  52. following files:
  53.  
  54.             File                Description
  55.             -------------------------------
  56.             "flythru.ma"        FlyThrough Producer application
  57.   
  58.             "movies.ma"         Movies application
  59.   
  60. These files are installed in MicroStation's "mdlapps" directory.
  61.   
  62.  
  63.  
  64. Producing Your First "Movie"
  65.  
  66. To illustrate the use of FlyThrough Producer and Movies, follow
  67. these steps to create and play a simple animation featuring the
  68. familiar orientation cube from MicroStation's 3D seed files:
  69.  
  70. 1.Create a new MicroStation design file using the "seed3d.dgn"
  71.   seed file.
  72.   
  73.   When you open the file, the cube is displayed.
  74.   
  75. 2.Set the active depth in the Top view (View 1) to approximately
  76.   the center of the cube.
  77.   
  78. 3.Maximize the Top view and use the Window Center view control
  79.   to center the cube in the view.
  80.   
  81. 4.With the Place Arc by Center tool, place an arc with a radius
  82.   approximately twice the length of one side of the cube and
  83.   with its center at the center of the cube. Place the second
  84.   end of the arc close to the first end, so that the arc almost
  85.   makes a full circle.
  86.   
  87. 5.Use the MDL Applications settings box in the User Menu to load
  88.   FlyThrough Producer.
  89.   
  90.   The FlyThrough Producer settings box opens.
  91.   
  92. 6.In the Output section of the settings box, choose Constant
  93.   from the Shading option menu.
  94.   
  95.   (If the View setting in the Output section is not 1, choose
  96.   View 1 from the View option menu.)
  97.   
  98. 7.In the Frame section of the settings box, change the number of
  99.   frames in the sequence in the Frame field from the default of
  100.   10 to 20.
  101.   
  102. 8.From the Tools menu in the FlyThrough Producer settings box,
  103.   choose Define Path.
  104.   
  105.   The message "Identify Element at path beginning" is displayed
  106.   in the Command Window.
  107.   
  108. 9.Place a point on one end of the arc to identify the element
  109.   that defines the camera's path and to define the beginning of
  110.   the camera's path.
  111.   
  112.   The message "Accept element at path end" is displayed in the
  113.   Command Window.
  114.   
  115. 10. Place another point on the arc, near its other end, to define
  116.   the end of the camera's path.
  117.   
  118.   The message "Define target point" is displayed in the Command
  119.   Window.
  120.   
  121. 11. Define the target point (a single location at which the
  122.   camera will be aimed) by entering a data point at the center
  123.   of the cube.
  124.   
  125.   FlyThrough Producer calculates the position of the camera
  126.   along the arc at each of the 20 frames. The camera's view of
  127.   the cube from the first camera position is displayed in View 1.
  128.   
  129. 12. Open an Iso view and use the Fit All tool to see all the
  130.   camera positions. A cone shows the orientation of the camera
  131.   at each position. The camera's volume of vision is graphically
  132.   displayed as a pyramid radiating from the first camera
  133.   position.
  134.   
  135. 13. Undo the placement of the arc by center.
  136.   
  137.   (The camera path remains defined.)
  138.   
  139. 14. From the Tools menu's Preview sub-menu, choose Camera.
  140.   
  141.   In the Iso view, each camera position and a graphical
  142.   representation of its viewing volume (in the shape of a
  143.   pyramid) are displayed in turn.
  144.   
  145. 15. From the Preview sub-menu in the Tools menu, choose View.
  146.   
  147.   In the Top view, the camera's view at each position along its
  148.   path is displayed in turn. Each of those views will be
  149.   rendered to create a frame in the sequence. You can select a
  150.   particular view to preview with the scroll bar at the bottom
  151.   of the FlyThrough Producer settings box.
  152.   
  153. 16. From the Tools menu, choose Record.
  154.   
  155.   The Record FlyThrough Producer dialog box opens. By default,
  156.   the sequence is saved in Animator FLI format with the filename
  157.   "<designname>.fli."
  158.   
  159. 17. Click the OK button.
  160.   
  161.   While the sequence is created, an animated character appears
  162.   in the Command Window. When the last frame has been saved, the
  163.   character stops moving.
  164.   
  165. 18. Load the Movies MDL application.
  166.   
  167.   The Movies settings box is displayed.
  168.   
  169. 19. From the File menu in the Movies settings box, choose Load.
  170.   
  171.   The Load Movie dialog box is displayed.
  172.   
  173. 20. Double-click the filename of the sequence you just created.
  174.   
  175.   While the sequence is loaded, an animated character appears in
  176.   the Command Window. When the last frame has been loaded, the
  177.   character stops moving.
  178.   
  179. 21. When the file has finished loading, click the Play button.
  180.   Its icon is similar to a play control on a CD player ( > ).
  181.   
  182.   The Movies application displays the frames in sequence in the
  183.   playback window.
  184.   
  185.  
  186.  
  187.  
  188. FlyThrough Producer
  189.  
  190.  
  191. Adjusting the Camera Settings
  192.  
  193. Lens settings (Angle, Focal Length, and Standard Lens)
  194.  
  195. The first three settings in the FlyThrough Producer settings box
  196. allow you to define the characteristics of the "lens" of the
  197. virtual camera. To widen the field of vision of the lens,
  198. increase the setting (in degrees) in the Angle field or decrease
  199. the setting (in millimeters) in the Focal Length Field. These two
  200. settings are interrelated; increasing the Angle setting decreases
  201. the Focal Length setting, just as in a real camera lens.
  202.  
  203. To use a predefined lens setting, choose one of the seven
  204. standard lens settings from the Standard Lens option menu. The
  205. lens names and their respective values are set forth below:
  206.  
  207.               Standard Lens      Angle    Focal Length
  208.               ----------------------------------------
  209.                  Fisheye          93.3         20
  210.  
  211.                 ExtraWide         74.3         28
  212.  
  213.                    Wide           62.4         35
  214.  
  215.                   Normal          46.0         50
  216.  
  217.                  Portrait         28.0         85
  218.  
  219.                 Telephoto         12.1        200
  220.  
  221.                 Telescopic         2.4       1000
  222.  
  223. The virtual camera has advantages over conventional cameras. All
  224. elements in the field of view are in focus, no matter how close
  225. to or far from the camera. You need not worry about depth of
  226. field, aberrations, astigmatism, or curvature of field. The
  227. camera makes a perfect picture of the elements it "photographs."
  228.  
  229. Front and Back Clip Distance
  230.  
  231. The Front Clip Distance setting (in working units) defines the
  232. location of a plane at which the camera begins to "see" elements
  233. in the design. Any part of an element closer to the camera than
  234. this plane is not included in the frame. If the plane "clips" an
  235. element, the frame will show a "slice" of that element.
  236.  
  237. The Back Clip Distance setting (in working units) defines the
  238. location of a plane beyond which the camera no longer "sees"
  239. elements in the design. Any element (or part of an element)
  240. further than this plane from the camera is clipped. In some
  241. cases, the plane is the back wall of the scene.
  242.  
  243. Target Position
  244.  
  245. You can set the camera to always point at the same place while
  246. moving along the camera path (Fixed) or to point down the camera
  247. path in a direction that is always tangent to the path (Float).
  248. The Fixed setting is useful for aerial studies when you want to
  249. keep the camera focused on one point. The Floating setting is
  250. useful for simulating a walk-through, since the camera points
  251. "straight ahead."
  252.  
  253. FlyThrough Producer prompts for the location of the target point
  254. when the Target Position is set to Fixed.
  255.  
  256.  
  257. Output Settings
  258.  
  259. View
  260.  
  261. Choose the output view from the View option menu. The output view
  262. displays the animation frames as they are recorded or previewed
  263. and is the view in which frames are rendered.
  264.  
  265. With the View Attributes settings box you can control what
  266. elements will appear in your final sequence. To avoid including
  267. lights or the camera path in the sequence, place those elements
  268. in the design as construction class elements. When you record the
  269. sequence, turn off Constructions in the View Attributes settings
  270. box for the output view.
  271.  
  272. Note:
  273. If your camera path twists and turns, you can create a "roller-
  274. coaster" effect by leaving the camera path visible in your
  275. sequence. The camera appears to chase the path.
  276.  
  277. Shading
  278.  
  279. Choose Constant, Smooth, or Phong shading in the Shading option
  280. menu. The higher the quality of the shading you select, the
  281. higher the quality of the sequence and the greater the time
  282. required to create it. Refer to the MicroStation User's Guide for
  283. a complete discussion of constant, smooth, and Phong shading.
  284.  
  285. Stereo
  286.  
  287. Turn on Stereo to create separate images for the left and right
  288. eyes, using a color scheme suitable for viewing with the special
  289. red-blue glasses provided with MicroStation. The resulting
  290. sequence, when viewed through the glasses, creates the illusion
  291. of three-dimensional depth.
  292.  
  293. Speed
  294.  
  295. The Speed setting determines the amount of time, in 1/60  second
  296. ticks, that each frame in a sequence is displayed during
  297. playback. The fastest playback speed setting is 60 frames per
  298. second. However, the actual playback speed possible on your
  299. system depends upon the speed of its CPU, the speed of the
  300. graphics adapter, and the amount of information that changes
  301. between frames. If your system is fast enough, you can play a
  302. sequence while you continue to do other operations with
  303. MicroStation.
  304.  
  305. Note:
  306. Currently the Speed setting is only stored in FLI files. It is
  307. ignored when you save sequences in any other file format.
  308.  
  309. Resolution
  310.  
  311. You can control the resolution of the animation sequence by
  312. changing the X and Y values in the Resolution fields. Higher
  313. resolution settings can substantially increase both the time and
  314. memory required to record and play back a sequence.
  315.  
  316. Tip:
  317.   The lower the resolution, the faster each frame is rendered. For
  318.   optimum speed, use the FLI file format and a low resolution to
  319.   test your lighting and camera settings. Once you are satisfied
  320.   with the production, record the sequence in a different file
  321.   format, such as Targa, at a higher resolution.
  322.  
  323.  
  324. Frame Settings
  325.  
  326. You can set the current frame (the number of the frame displayed
  327. in the output view) in the left Frame field. You can set the
  328. number of frames in a sequence in the right Frame field. You can
  329. also use the scroll bar to select the current frame. While the
  330. sequence is being previewed or recorded, the frame number text
  331. field shows the number of the frame that is being displayed or
  332. recorded, and the scroll bar shows the progression through the
  333. sequence.
  334.  
  335. Tip:
  336.   To achieve a smoother animation with FlyThrough Producer:
  337.  
  338.   * Minimize the difference between successive frames (use more
  339.     frames).
  340.   
  341.   * Increase speed at which the sequence is played.
  342.  
  343.  
  344. Defining the camera path
  345.  
  346. To define the path that the camera will travel during the
  347. sequence:
  348.  
  349. 1.Place any linear element (line, line string, arc, ellipse,
  350.   curve, or B-Spline curve) in the design along the path the
  351.   camera is to travel. (If you do not want the path to be
  352.   visible in the sequence, place the element as a construction.
  353.   See "View," above.)
  354.   
  355. 2.From the File menu in the FlyThrough Producer settings box,
  356.   choose Define Path.
  357.   
  358. 3.Identify the element that defines the camera path and define
  359.   the point at which the camera path is to begin by entering a
  360.   data point there.
  361.   
  362. 4.Accept the element and mark the end of the camera path by
  363.   entering a second data point at the end point.
  364.   
  365. Tip:
  366.   For best results when placing a camera path around a design,
  367.   place the camera path so that it lies on the X-Y coordinate plane
  368.   (as in the "Producing Your First 'Movie'" example, above). Rotate
  369.   the design, if necessary, to show the design revolving around the
  370.   axis that you want it to revolve around.
  371.  
  372.  
  373. Previewing the sequence
  374.  
  375. Once you have adjusted the FlyThrough Producer settings and have
  376. defined the camera path, you may want to preview the sequence
  377. before taking the time to record all the frames.
  378.  
  379. To see the location of each camera position and viewing volume at
  380. each position along the camera path, choose Camera from the
  381. Preview menu in the FlyThrough Producer's File menu. If you also
  382. want to preview each frame in the output view, choose View from
  383. the Preview menu in the FlyThrough Producer's File menu.
  384.  
  385.  
  386. Recording the sequence
  387.  
  388. To record the sequence:
  389.  
  390. 1.Choose Record from the Tools menu.
  391.   
  392.   The Record Sequence dialog box opens.
  393.   
  394. 2.Choose the format in which to save the sequence in the Image
  395.   section, as explained below.
  396.   
  397. 3.Click the OK button.
  398.   
  399.  
  400. Type
  401.  
  402. The Type option menu is used to choose the file format in which a
  403. sequence created with FlyThrough Producer is saved. The only true
  404. animation format supported is Animator FLI. When you choose this
  405. option, the sequence will be saved as a single 256-color
  406. animation file. For all of the other file formats, FlyThrough
  407. Producer creates a separate file for each frame in the sequence.
  408.  
  409. Warning:
  410.   If the sequence is not in FLI format, you must insert a number
  411.   somewhere in the filename or the extension. FlyThrough Producer
  412.   will increment the number for each frame saved. For example, if a
  413.   sequence will have 999 or fewer files, the filename for the first
  414.   frame could be "seque000.tga" or "sequence.000." The latter is
  415.   appropriate for converting a sequence to an Apple QuickTime movie
  416.   with the "Convert to Movie" utility.
  417.  
  418. Color Mode
  419.  
  420. The Color Mode option menu controls the way colors are handled in
  421. the output file. Some file formats, such as FLI, support only a
  422. single mode (256 colors). Other formats, such as PICT, support
  423. either 256-color images or 24-bit (true color) modes. In general
  424. the 24-bit color mode produces the highest quality images, but
  425. can produce much larger files than the other color modes.
  426.  
  427. Palette
  428.  
  429. The Palette option menu applies only to sequences saved in FLI
  430. format. You can choose to record the sequence using:
  431.  
  432. * Right Screen - the colors of the recorded sequence are based
  433.   on the right screen's color palette.
  434.   
  435. * Left Screen - the colors of the recorded sequence are based on
  436.   the left screen's color palette.
  437.   
  438. * Optimized (256 Color) - the colors of the recorded sequence
  439.   are based on a balanced 256-color palette that is not based on
  440.   either screen's color palette.
  441.   
  442. Choose the optimized color palette for best results when the
  443. sequence is played back on a variety of systems. On your system,
  444. a sequence recorded with an optimized color palette will take a
  445. bit longer to load in Movies.
  446.  
  447.  
  448.  
  449. Movies
  450.  
  451. To play a sequence:
  452.  
  453. 1.Load Movies.
  454.   
  455.   - In the MDL settings box, select MOVIES and click the Load
  456.   button.
  457.   
  458.   or
  459.   
  460.   - Key in MDL LOAD MOVIES.
  461.   
  462. 2.(Optional) Preview the sequence.
  463.   
  464. 3.Load the sequence.
  465.   
  466. 4.Click the play ( > ) button.
  467.   
  468.   You can use the scroll bar to view a particular frame or to
  469.   move through the frames slowly.
  470.   
  471. 5.To stop the sequence, click the stop ( || ) button.
  472.   
  473. Note:
  474. Microsoft Windows adds a considerable amount of overhead
  475. processing to any operation drawing bitmaps to its windows. As a
  476. result, playback of sequences can be much slower under Windows.
  477. If you are running in this environment and are dissatisfied with
  478. playback speed, consider running MicroStation outside of Windows.
  479. (Sequences can be created within Windows without problem.)
  480.  
  481.  
  482. File menu
  483.  
  484. The File menu has items for loading, previewing, and saving
  485. sequence files.
  486.  
  487. Loading a sequence
  488.  
  489. To load an animation sequence in Movies:
  490.  
  491. 1.From the File menu, choose Load.
  492.   
  493.   The Load File dialog box opens.
  494.   
  495. 2.Select the sequence in the list box.
  496.   
  497.   If a sequence of image files from a non-animation format is to
  498.   be loaded, select the file that contains the first frame of
  499.   the sequence. Movies looks for the additional frames by
  500.   incrementing the integer value at the end of the filename. For
  501.   example, the following sequence of Targa files represents a
  502.   valid animation sequence:
  503.   
  504.      "orbit01.tga"
  505.      "orbit02.tga"
  506.      "orbit03.tga"
  507.      "orbit04.tga"
  508.   
  509. 3.Click the OK button.
  510.   
  511.   The process of loading an animation sequence involves reading
  512.   each frame and dithering the frame to the current MicroStation
  513.   color configuration. This process can take a lot of processing
  514.   time. To be sure you are loading the correct sequence, preview
  515.   the first frame. See "Previewing a sequence," below.
  516.   
  517. Previewing a sequence
  518.  
  519. The Preview item in the File menu allows you to load only the
  520. first frame of an animation sequence and to view it. This is a
  521. quick way to identify a sequence, since loading an entire
  522. sequence can take a while.
  523.  
  524. To preview the sequence's first frame:
  525.  
  526. 1.From the File menu, choose Preview.
  527.   
  528.   The Preview File dialog box opens.
  529.   
  530. 2.Select the sequence in the list box.
  531.   
  532.   If a sequence of image files from a non-animation format is to
  533.   be previewed, select the file that contains the first frame of
  534.   the sequence.
  535.   
  536. 3.Click the OK button.
  537.   
  538. Saving a sequence
  539.  
  540. To save a sequence:
  541.  
  542. 1.From the File menu, choose Save As.
  543.   
  544. 2.(Optional) Edit the filename in the Name field.
  545.   
  546. 3.(Optional) From the Type option menu, choose a new format for
  547.   the sequence file(s). The movie may be stored in any of the
  548.   formats supported by FlyThrough Producer.
  549.   
  550. 4.(Optional) From the Mode option menu, choose a new color mode
  551.   for the sequence file.
  552.   
  553. 5.Click the OK button
  554.   
  555. Note:
  556. You can use Movies to convert a file from one of the supported
  557. file formats to another by loading the movie and saving it in a
  558. different format.
  559.  
  560.  
  561. Edit menu
  562.  
  563. The Edit menu has items for deleting a frame from a sequence,
  564. inserting a frame into a sequence, and inserting a sequence into
  565. a sequence.
  566.  
  567. Deleting a frame
  568.  
  569. To delete a frame from a sequence:
  570.  
  571. 1.Use the scroll bar to select the frame to be deleted.
  572.   
  573. 2.From the Edit menu, choose Delete Frame.
  574.   
  575. Inserting a frame
  576.  
  577. To insert a frame into a sequence:
  578.  
  579. 1.Use the scroll bar to select the frame (in the original
  580.   sequence) before which the new frame is to be inserted.
  581.   
  582. 2.From the Edit menu's Insert sub-menu, choose Frame.
  583.   
  584. 3.Select a file to open in the Open Frame dialog box.
  585.   
  586.   Since sequences in most formats are stored in separate files,
  587.   you can select the file containing a particular frame. If you
  588.   select a sequence file in .FLI format, the first frame of the
  589.   sequence is inserted. To make all the frames in a sequence in
  590.   .FLI format available for insertion, save the sequence in
  591.   another format.
  592.   
  593. 4.Click the OK button.
  594.   
  595. Single frames are resized to match the resolution of the current
  596. sequence.
  597.  
  598. Inserting a sequence
  599.  
  600. To insert a sequence into another sequence:
  601.  
  602. 1.Use the scroll bar to select the frame (in the original
  603.   sequence) before which the new sequence is to be inserted.
  604.   
  605. 2.From the Edit menu's Insert sub-menu, choose Sequence.
  606.   
  607. 3.Select the filename of the sequence file you want to insert in
  608.   the Open Sequence dialog box.
  609.   
  610. 4.Click the OK button.
  611.   
  612. The transition between the sequences is controlled in the Movie
  613. Edit Settings box.
  614.  
  615. Note:
  616.   Sequences to be inserted must have the same resolution as the
  617.   current sequence.
  618.  
  619.  
  620. Settings menu
  621.  
  622. The Settings menu has items for controlling playback (speed and
  623. looping) and editing (joining sequences).
  624.  
  625. Playback
  626.  
  627. Choosing Playback from Movies' Settings menu opens the Playback
  628. Settings box:
  629.  
  630. To change the speed at which a sequence is played back:
  631.  
  632. * Key in a higher or lower number in the Speed field.
  633.   
  634. The Speed setting determines the amount of time, in 1/60  second
  635. ticks, that each frame in a sequence is displayed during
  636. playback. The fastest playback speed setting is 60 frames per
  637. second. However, the actual playback speed possible on your
  638. system depends upon the speed of its CPU, the speed of the
  639. graphics adapter, and the amount of information that changes
  640. between frames.
  641.  
  642. If Loop Sequence is on, Movies will play the sequence
  643. continually.
  644.  
  645. Editing
  646.  
  647. Choosing Edit from Movies' Settings menu opens the Edit Settings
  648. box:
  649.  
  650. To control the way sequences are joined when they are inserted
  651. into the current sequence, choose a transition type from the Type
  652. option menu.
  653.  
  654. These transition types are available:
  655.  
  656. * Cut - The sequences are joined with no transition frames, the
  657.   current sequence will "cut" immediately to the inserted
  658.   sequence.
  659.   
  660. * Horizontal/Vertical Wipe - The inserted sequence will be
  661.   "wiped" horizontally or vertically onto the current sequence.
  662.   
  663. * Fade - The current sequence fades out and the inserted
  664.   sequence fades in.
  665.   
  666. The Frames setting specifies the number of transition frames,
  667. which determines the duration of a wipe or fade transition. The
  668. more transition frames you use, the slower and more gradual the
  669. transition. Setting Frames to zero is equivalent to a cut
  670. transition.
  671.  
  672. If Still is on, the sequence transition is made between the last
  673. frame of the current sequence and the first frame of the inserted
  674. sequence. This is equivalent to freezing the current sequence at
  675. the last frame and wiping or fading to the first frame of the new
  676. sequence. If Still is off, apparent motion continues, and the
  677. beginning and end of the joined sequences overlap during the
  678. transition.
  679.  
  680.