home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / graphics / 188 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.1 KB

  1. Path: sparky!uunet!olivea!pagesat!a2i!sgiblab!sdd.hp.com!saimiri.primate.wisc.edu!doug.cae.wisc.edu!robios.me.wisc.edu!reznik
  2. From: reznik@robios.me.wisc.edu (Dan S Reznik)
  3. Newsgroups: comp.sys.sgi.graphics
  4. Subject: Normals facing away from viewer
  5. Message-ID: <REZNIK.93Jan22144545@robios2.me.wisc.edu>
  6. Date: 22 Jan 93 22:45:45 GMT
  7. Distribution: comp.sys.sgi,comp.sys.sgi.graphics
  8. Organization: U. Wisconsin-Madison, Robotics Laboratory
  9. Lines: 14
  10.  
  11.  
  12. I am drawing a cylindrical surface in 3D using quadrilateral patches
  13. (shademodel(FLAT)), with zbuffer(TRUE), using GL's defualt lighting
  14. settings. The problem is that the inside patches aredrawn black since
  15. their normals are facing away from the viewer and I think the lighting
  16. calculations don't work right. How can I change this situation ? I
  17. tryied turing on TWO-SIDED lighting but this seems not to work on our
  18. Personal Iris 4D20. A software solution I thought of is to preprocess
  19. the patches and flip the normals [ mult by (-1, -1, -1) ] for the
  20. polygons found to be backfacing. Any suggestions ?
  21.  
  22. Dan
  23.  
  24. P.S - Email responses preferred since I don't subscribe here.
  25.