home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / graphics / 9549 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  2.5 KB

  1. Xref: sparky comp.graphics:9549 comp.windows.x.pex:541 comp.unix.aix:9484 alt.graphics:339
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!ira.uka.de!fhg!igd!pfuetz
  3. From: pfuetz@igd.fhg.de (Matthias Pfuetzner)
  4. Newsgroups: comp.graphics,comp.windows.x.pex,comp.unix.aix,alt.graphics
  5. Subject: Re: IBM's graPHIGS package, problem with GPNBS, any hint?
  6. Message-ID: <1493@igd.fhg.de>
  7. Date: 9 Sep 92 11:33:01 GMT
  8. References: <1484@igd.fhg.de> <Bu2BFs.Lzw@well.sf.ca.us> <1992Sep04.202508.35044@watson.ibm.com>
  9. Sender: news@igd.fhg.de
  10. Reply-To: pfuetz@igd.fhg.de (Matthias Pfuetzner)
  11. Followup-To: poster
  12. Organization: Zentrum fuer Graphische Datenverarbeitung, Darmstadt, FRG
  13. Lines: 39
  14.  
  15. Hi again!
  16.  
  17. In article <Bu2BFs.Lzw@well.sf.ca.us> levine@well.sf.ca.us (Ron Levine) writes:
  18.  
  19. >I'm not sure this is your problem, but it's worth checking:
  20. >
  21. >I haven't worked directly with graPHIGS, but a couple of years ago, when
  22. >porting a graPHIGS demo application to DEC PHIGS, I discovered that for the
  23. >RATIONAL B-spline case, graPHIGS expects DIFFERENT data from DEC PHIGS,
  24. >SunPHIGS, and most of the other implementations.  Namely, for the coordinate
  25. >4-tuple for the weighted control points, graPHIGS expects the application to
  26. >pass (x,y,z,w), while the other implementations expect (xw,yw,zw,w).
  27.  
  28. As schultz@schultz.kgn.ibm.com (schultz) writes in <1992Sep04.202508.35044@watson.ibm.com>:
  29.  
  30. >This is correct, although if the app passes the homogenous form, it usually
  31. >results in wierd-looking results instead of a blank screen.  I guess it depends
  32. >on how big w is.
  33.  
  34. It was worth checking, because it would have caused new questions, but it is
  35. right, still nothing can be seen. My weights are simply 1.0 and cos( 45 deg )
  36. = 0.70710676908493042. I need them for getting real circles and pieces of
  37. circles, for modeling tubes.
  38.  
  39. But perhaps someone can help me by answering the following question:
  40.  
  41. Are there any attributes in graPHIGS for non-uniform B-spline surfaces that
  42. apply only to them and that do not exist in PEX-SI? Perhaps I have overseen
  43. things like that that might cause the surface to be drawn white on white or
  44. something like that. I did check the manual pages and found nothing
  45. appropriate, but who knows...?
  46.  
  47. Sincerly,
  48.         Matthias
  49. -- 
  50.     Matthias Pfuetzner  |  @work:  +49 6151 155-150  | @home: +49 6151 75717
  51.     6100 Darmstadt, FRG | ZGDV, Wilhelminenstrasse 7 | Lichtenbergstrasse 73
  52.       pfuetzner@igd.fhg.de, pfuetzner@zgdvda.UUCP    |  Keith Packard said:
  53.       R5 is different from R4. That's why we changed the release number :-)
  54.