home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Graphics / graphics-16000.iso / x / gui / x3d.txt < prev    next >
Text File  |  1993-12-21  |  2KB  |  69 lines

  1. Read the Q_and_A file for information concerning the x3d 2.0 .obj file format
  2. and how .obj files were generated.  The ./hull directory contains a conversion
  3. utility to make .obj files.
  4.  
  5. To compile, just type:
  6.  
  7.    make
  8. or 
  9.    xmkmf
  10.    make
  11.  
  12. If the Makefile does not work try the following:
  13.  
  14. cc -o x3d x3d.c -lX11 -lm
  15.  
  16. Tweaking the compiling of x3d helps it run MUCH faster on most systems
  17. Read the manual pages for your compiler and try its optimization flags.
  18. (Look at the Makefile and set some system dependent flags)
  19.  
  20.  
  21. After compiling the program try viewing an object by typing:
  22.  
  23. x3d xwing.obj
  24.  
  25. once the programs starts up a help menu is available by pressing the "M" key.  
  26.  
  27.  
  28. Some of the changes to x3d for version 2.0 or later are:
  29.  
  30. 1) Support multiple colors for the non-stereo modes (i.e. you can have a
  31. flyer with orange propellers, gray wings, and various parts other colors).
  32.  
  33. 2) A new hull utility that understands polygons.  For each polygon in the object
  34. it takes a list of points that live in the same plane, calculates the convex
  35. hull of the points, then writes out the new .obj file for the object.  
  36.  
  37. 3) Slightly better optimized rotate, project, clip routines
  38.  
  39. 4) Hidden line / Hidden surface display modes
  40.  
  41. Hopefully the following will be added soon:
  42.  
  43. 1) A -wave option which causes waves to travel through the object.  I
  44. displace the Z coordinate according to a functions of a points X value, Y
  45. value, and time.
  46.  
  47. 2) A better user interface with buttons and menus.
  48.  
  49. 3) New non-buggy fast hidden surface and hidden line algorithms 
  50.  
  51. Enjoy the program!
  52.  
  53.  
  54. Note:   Additional objects have been acquired from various sources that
  55. are now being used with this program.  Some of them are copyrighted, but all are
  56. freely distributable.  A comment at the beginning of each object file describes
  57. its initial origin before being converted to an x3d object. 
  58.  
  59.  
  60. Please send comments, suggestions (especially if you have optimization ideas),
  61. and bug reports to:
  62.  
  63. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  64. spy@castlab.engr.wisc.edu
  65. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  66.  
  67. Mark Spychalla
  68. University of Wisconsin - Madison
  69.