home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / sci / virtual / 4282 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.4 KB

  1. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!uwm.edu!ogicse!news.u.washington.edu!stein.u.washington.edu!hlab
  2. From: thinman@netcom.com (Technically Sweet)
  3. Newsgroups: sci.virtual-worlds
  4. Subject: TECH: Arbitrary input devices
  5. Message-ID: <1ib69aINNr9b@shelley.u.washington.edu>
  6. Date: 31 Dec 92 19:48:02 GMT
  7. References: <1992Dec12.041710.16989@u.washington.edu> <1992Dec17.203714.8346@u.w
  8. Organization: International Foundation for Internal Freedom
  9. Lines: 23
  10. Approved: cyberoid@milton.u.washington.edu
  11. NNTP-Posting-Host: stein.u.washington.edu
  12. Originator: hlab@stein.u.washington.edu
  13.  
  14.  
  15.  
  16. X is a mess and structurally all wrong for VR work.
  17.  
  18. My system uses this technique: data is fed to X number of input filter
  19. objects.  When a particular object decides that input has happened, it
  20. sends an "Input Happened" message to its interested parties with
  21. itself as the argument.  The receiver object then engages in a
  22. dialogue with the input filter object.
  23.  
  24. Input filters belong to a class structure.  The receiver can query the
  25. type of the input filter and can talk to different types of filters
  26. that it knows how to talk to.  Since the filters are in a class
  27. structure, the receiver can be dumb and only know how to talk to a
  28. parent class of the actual filter.  So, if 6dof is a subclass of 3dof,
  29. the receiver can talk to a 6dof input as if it were a 3dof input and
  30. just get some of the input axes.
  31.  
  32. -- 
  33.  
  34. Lance Norskog
  35.  
  36. Data is not information is not knowledge is not wisdom.
  37.