Article View: comp.sys.sgi.graphics
Article #160texturing onto sphere using sphere library
From: William Sherman
Date: Wed, 27 Jan 1993 22:06
Date: Wed, 27 Jan 1993 22:06
23 lines
1554 bytes
1554 bytes
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 */ /************************************************************************/
Technical Details
Message-ID:
<C1J9E1.2L2@news.cso.uiuc.edu>Path:
arc1-ca.pugleaf.net!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!wshermanShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.sgi.graphics Path: arc1-ca.pugleaf.net!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