Thread View: comp.sys.sgi.graphics
1 messages
1 total messages
Started by William Sherman
Wed, 27 Jan 1993 22:06
texturing onto sphere using sphere library
Author: 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 */ /************************************************************************/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads