home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / alt / 3d / 1454 < prev    next >
Encoding:
Text File  |  1992-11-09  |  2.4 KB  |  64 lines

  1. Newsgroups: alt.3d
  2. Path: sparky!uunet!mcsun!sunic!ugle.unit.no!unix1!gardabr
  3. From: gardabr@unix1 (Gard Eggesbo Abrahamsen)
  4. Subject: Re: WANTED: simple 3D hidden line/surface-Unix/X11 prog. (FAQ?)
  5. Message-ID: <1992Nov9.182228.22891@ugle.unit.no>
  6. Sender: news@ugle.unit.no (NetNews Administrator)
  7. Organization: University of Trondheim, Norway
  8. X-Newsreader: TIN [version 1.1 PL6]
  9. References: <1992Nov9.124305.3134@Urmel.Informatik.RWTH-Aachen.DE>
  10. Date: Mon, 9 Nov 92 18:22:28 GMT
  11. Lines: 51
  12.  
  13. Joachim Glaubrecht  #Alwd# (jogl@merry.imsd.rwth-aachen.de) wrote:
  14. : hi,
  15. :  
  16. : sorry, is there a FAQ-list for this NewsGroup (couldn't find one).
  17. :  
  18. : we are looking for some "simple" programs to draw hidden
  19. : line/surface images from a set of given 3D meshes.
  20. :  
  21. : we use Dec-Ultrix (UNIX) stations with X11R4.
  22. : is there any software around, that can read in some
  23. : 3D data and draw a 3D image from some view points ?
  24. : the input data type is (nearly) unimportant. 
  25. : triangles would be o.k.
  26. : ANY hint is wellcome ...
  27. : -- 
  28.  
  29. Well, first of all, you should divide your figure into several surfaces.
  30. After this, you should calculate the 2d projection on the screen. Having
  31. done this, determine wether or not you should draw the surface by crossing
  32. two of the vectors of the projected surface. I.e., if the surface is drawn
  33. clockwise, the surface is there. If it is drawn anti-clockwise, the surface
  34. is on the backside, and should therefore not be drawn.
  35.  
  36. This will, of course, work only on convex objects. To make it work on inconvex
  37. objects, you will have to draw the entire surface and not only the border
  38. lines. Also, you will have to sort the surfaces so that what will be in front
  39. of another surface will be in front of that surface. This part is, however
  40. a bit harder to explain.
  41.  
  42.  
  43. :   ___             ____________________________________
  44. :  /  /  _____     !  jogl@tolkien.imsd.rwth-aachen.de  !
  45. :  __/__/_/ Gl     ! Inst. f. Med. Stat. & Doku. (IMSD) !
  46. : /_/              !___Aachen__Germany__Europe__Earth___!
  47.  
  48.  
  49. /Gard Eggesboe Abrahamsen (Zealot of O.U.C.H. and Imagina)
  50.                           (Editor of Scriba Communis Responsi)
  51.  
  52. "They said it couldn't be done, but I did it; 3d surface sort on 0 cycles."
  53.                                                                     Gard 1992
  54. "The world is 24892 atoms"
  55.                       Gard 1992
  56. "Time to make a disclamer"
  57.                   Gard towards the end of 1992
  58.  
  59.