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