home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi.graphics
- 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
- From: wsherman@ncsa.uiuc.edu (William Sherman)
- Subject: texturing onto sphere using sphere library
- Message-ID: <C1J9E1.2L2@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: National Center for Supercomputing Applications
- Date: Wed, 27 Jan 1993 22:06:00 GMT
- Keywords: texture sphere libsphere
- Lines: 23
-
- I'm trying to map a texture onto a sphere. Such that the top and
- bottom converge at the "poles" of the sphere, and such that the
- texture wraps around and connects at a "meridian."
-
- I'm using the libsphere library to generate the sphere polygons, so
- I don't have much (any) control over setting the texture values at
- the vertices. I am using the texgen command, but I cannot find
- an appropriate set of values to get it to work. Though I can get
- close, the best I do gives me part of the texture correct, but all
- on one hemisphere, and mirrored on the other hemisphere.
-
- Thanks,
- Bill
-
- /************************************************************************/
- /* Bill Sherman (wsherman@ncsa.uiuc.edu) */
- /* National Center for Supercomputing Applications */
- /* University of Illinois */
- /* Champaign-Urbana */
- /* */
- /* "You want to do mankind a real service? Tell funnier jokes." */
- /* Og */
- /************************************************************************/
-