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

  1. Path: sparky!uunet!mcsun!chsun!zurich!kor
  2. From: kor@zurich.spectrospin.ch (Reto Koradi)
  3. Newsgroups: comp.sys.sgi
  4. Subject: how do you draw arrows in GL?
  5. Keywords: GL, arrow
  6. Message-ID: <183@zurich.spectrospin.ch>
  7. Date: 8 Sep 92 14:55:10 GMT
  8. Organization: Spectrospin AG, Fallanden Switzerland
  9. Lines: 28
  10.  
  11. I'm writing a (mixed model) GL application and would like to draw
  12. arrows. It would be easy to draw a line with two short lines at one
  13. end, but that's not satisfactory. This lines would have to be
  14. specified in (3D) world coordinates. This leads to the following
  15. problems:
  16.  
  17.   (1) In which direction do you draw the lines?
  18.   (2) How long do you make them?
  19.  
  20. Problem (1) could probably be solved if you take the viewpoint into
  21. account. Problem (2) seems to be harder, because I would like to
  22. have a constant size of the arrow tip on screen.
  23.  
  24. I would be glad if you could e-mail me your ideas/solutions (or post
  25. them if you prefer). I will post a summary if I get good answers and
  26. a lot of requests.
  27.  
  28. Thanks
  29. Reto
  30.  
  31. ***************************************************************************
  32. *     _  _    * Industriestr. 26           * We had some good machines,   *
  33. *    / */ \   * CH-8117 Faellanden         * but they don't work no more. *
  34. *    \ /\ /   *                            * I loved you once,            *
  35. * SPECTROSPIN * Reto Koradi                * don't love you anymore.      *
  36. *    / \/ \   * phone: 01 825 94 77        *                              *
  37. *    \_*\_/   * e-mail: kor@spectrospin.ch * (Shriekback: Faded Flowers)  *
  38. ***************************************************************************
  39.