home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / pex / 477 < prev    next >
Encoding:
Text File  |  1992-08-20  |  3.8 KB  |  82 lines

  1. Newsgroups: comp.windows.x.pex
  2. Path: sparky!uunet!orca!es.com!smitty
  3. From: smitty@es.com (Maurice Smith)
  4. Subject: Re: Future development of PEX/PHIGS
  5. Message-ID: <1992Aug20.155104.15645@dsd.es.com>
  6. Sender: usenet@dsd.es.com
  7. Nntp-Posting-Host: 130.187.90.215
  8. Reply-To: smitty@dsd.es.com
  9. Organization: Evans & Sutherland Computer Corp., Salt Lake City, UT
  10. References: <1992Aug13.221534.29469@noose.ecn.purdue.edu> <1992Aug14.172943.22563@dsd.es.com> <1992Aug14.210903.23864@noose.ecn.purdue.edu> <1992Aug18.182730.3478@dsd.es.com> <op6up5g@fido.asd.sgi.com>
  11. Date: Thu, 20 Aug 92 15:51:04 GMT
  12. Lines: 68
  13.  
  14. In article <op6up5g@fido.asd.sgi.com>, kurt@cashew.asd.sgi.com (Kurt Akeley) writes:
  15. > -- 
  16. > In article <1992Aug18.182730.3478@dsd.es.com>, rthomson@mesa.dsd.es.com (Rich Thomson) writes:
  17. > >
  18. > > ...
  19. > >
  20. > > Under OpenGL, the same reformatting happens; you merely get what
  21. > > language designers call "syntactic sugar" so that you can provide the
  22. > > data in any datatype you wish.  However, at the core of all graphics
  23. > > rendering today (at least the PEX/OpenGL type) is a graphics pipeline.
  24. > > Data goes in one side and pixels come out the other (I'm
  25. > > oversimplifying).  This pipeline is going to have its own natural data
  26. > > format for the data that is the most efficient for its algorithms.
  27. > > Your data will be reformatted to this internal representation.
  28. > Not so, at least on high-end machines.  Silicon Graphics machines such as
  29. > the GT, GTX, VGX, VGXT, and RealityEngine all have pipelines that accept
  30. > data in arbitrary formats and do the conversion with no performance loss.
  31. > To call this "syntactic sugar" is to call all of the pipeline operations,
  32. > such as matrix multiplication and texture mapping, syntactic sugar.  After
  33. > all, any of these operations can be performed by the CPU at reduced
  34. > performance.
  35. > The OpenGL X protocol allows servers to implement data conversion by
  36. > including separate tokens for all data types.  Thus, for example, the 24
  37. > OpenGL vertex commands (e.g. glVertex2i, glVertex3f, and glVertex4d)
  38. > all have their own tokens in the protocol.
  39. > > >In PHIGS and PEXlib, data reformating is almost essential, it is 
  40. > > >ubiquitous.
  41. > > 
  42. > > PEXlib is not intended to be an API, but an SPI.  If you want the
  43. > > same syntactic sugar that is provided in OpenGL, you can write a
  44. > > toolkit on top of PEXlib that does this reformatting for you.
  45. > And you will pay the resulting performance penalties.  Performance is
  46. > maximized when low-level operations that can be performed by the graphics
  47. > pipeline ARE performed by the graphics pipeline.  When these capabilities
  48. > are not supported by the low-level protocol, toolkits cannot patch things
  49. > up without performance loss.
  50. > > If possible, I recommend you get a PEX server from your workstation
  51. > > vendor instead of the PEX-SI.  The SI is, after all, a Sample
  52. > > Implementation, and can't be expected to run blazingly fast or provide a
  53. > > gigantic feature set.
  54. > I guess I wouldn't consider the OpenGL feature set to be gigantic, but it is
  55. > large, and the OpenGL sample implementation includes all of it.
  56. >  -- Kurt Akeley        kurt@sgi.com  (415) 390-3612  M/S 7U-550
  57.  
  58. OK, lets say I buy all this.  What happens when someone implements this
  59. (OpenGL) on something other than a high-end SGI graphics pipe?
  60.  
  61. IMHO, unless this non-SGI pipe has all of the features of the SGI pipe,
  62. then you immediately get into data reformating, feature subseting, software
  63. emulation of features, all the stuff that is supposedly "not a problem" in
  64. OpenGL.
  65.  
  66. -- 
  67. ======================================================================
  68.  Maurice Smith                     |" I feel much better now that I've
  69.  smitty@dsd.es.com  (use it!)      |  given up all hope." 
  70.  Evans & Sutherland Computer Corp. | 
  71.  Salt Lake City, Utah              |  #include <standard_disclaimer>
  72.  
  73.  
  74.