home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / graphics / 230 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.5 KB  |  35 lines

  1. Newsgroups: comp.sys.sgi.graphics
  2. Path: sparky!uunet!ftpbox!news.acns.nwu.edu!zaphod.mps.ohio-state.edu!caen!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!ncsa.uiuc.edu!wsherman
  3. From: wsherman@ncsa.uiuc.edu (William Sherman)
  4. Subject: texturing onto sphere using sphere library
  5. Message-ID: <C1J9E1.2L2@news.cso.uiuc.edu>
  6. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  7. Organization: National Center for Supercomputing Applications
  8. Date: Wed, 27 Jan 1993 22:06:00 GMT
  9. Keywords: texture sphere libsphere
  10. Lines: 23
  11.  
  12. I'm trying to map a texture onto a sphere.   Such that the top and
  13. bottom converge at the "poles" of the sphere, and such that the
  14. texture wraps around and connects at a "meridian."
  15.  
  16. I'm using the libsphere library to generate the sphere polygons, so
  17. I don't have much (any) control over setting the texture values at
  18. the vertices.  I am using the texgen command, but I cannot find
  19. an appropriate set of values to get it to work.  Though I can get
  20. close, the best I do gives me part of the texture correct, but all
  21. on one hemisphere, and mirrored on the other hemisphere.
  22.  
  23.     Thanks,
  24.     Bill
  25.  
  26. /************************************************************************/
  27. /* Bill Sherman   (wsherman@ncsa.uiuc.edu)                */
  28. /* National Center for Supercomputing Applications            */
  29. /* University of Illinois                        */
  30. /* Champaign-Urbana                            */
  31. /*                                    */
  32. /*   "You want to do mankind a real service?  Tell funnier jokes."    */
  33. /*         Og                            */
  34. /************************************************************************/
  35.