home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12580 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.9 KB  |  41 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!odin!deadhead.asd.sgi.com!mogal
  3. From: mogal@deadhead.asd.sgi.com (Joshua Mogal)
  4. Subject: Re: SGI shadows/help
  5. Message-ID: <1992Aug19.015046.22997@odin.corp.sgi.com>
  6. Sender: news@odin.corp.sgi.com (Net News)
  7. Nntp-Posting-Host: deadhead.asd.sgi.com
  8. Organization: Silicon Graphics, Inc.
  9. References:  <1992Aug10.153515.14594@husc3.harvard.edu>
  10. Distribution: usa
  11. Date: Wed, 19 Aug 1992 01:50:46 GMT
  12. Lines: 27
  13.  
  14. In article <1992Aug10.153515.14594@husc3.harvard.edu>, basu@scws4.harvard.edu (Archan Basu) writes:
  15. |> Hi!
  16. |> 
  17. |>     I'm working on a Vision application on the SGI Iris Indigo.
  18. |> The current problem is to render a human face (from lazer rangefinder data)
  19. |> including cast shadows, say across the left eye due to occlusion by the 
  20. |> nose, of incident light from the right. The face is an 86x31 rectangle
  21. |> represented as a polygonal mesh (~5000 triangles) or perhaps as a NURB
  22. |> with ~2600 control points. 
  23. |> 
  24. |>     The shadows, ofcourse, are the stumbling block. One idea I had was
  25. |> (assuming access to SGI's internal data representations, including
  26. |> transform's, zbuffer's, etc): Place eye at light source. Perform hidden
  27. |> surface elimination, and save zbuffer. Now transform to actual eye frame.
  28. |> Determine, for each viewport pixel, whether its corresponding scene point 
  29. |> was visible to light source. Hence, shade bright or dark.
  30. |> 
  31. |>     Have others tried this? Are there other approaches? Where can I get
  32. |> the info I need to access SGI memory, etc? I need your help BADLY. Please
  33. |> respond with any relevant thoughts to basu@zeus.harvard.edu
  34.  
  35.  
  36. Try checking back issues of the IRIS Universe magazine.  There was an article two or three issues back on using Stencil planes for shadow generation.  The article was written for a VGX class graphics machine, but it might work in software on an Indigo - try it out.
  37.  
  38. Joshua Mogal
  39. Product Manager
  40. Advanced Graphics Division
  41.