Larry Ramey (ramey++at++ccpo.odu.edu)
Fri, 17 Dec 1999 09:09:38 -0500
try this:
int localStuff::enableTex(pfTraverser* trav,void* passData){
pfEnable(PFEN_TEXTURE);
return PFTRAV_CONT;
}
int localStuff::disableTex(pfTraverser* trav,void* passData){
pfDisable(PFEN_TEXTURE);
return PFTRAV_CONT;
}
function that applyies texs:
pfEnable(PFEN_TEXGEN);
pfGeoSet* gSet;
pfGeoState* gState;
g->setTravFuncs(PFTRAV_DRAW,localStuff::enableTex,localStuff::disableTex);
I have found that surounding my texs with draw call backs to turn them
on and off seems to work.
-- --------------------------------------------------------------- Larry E. Ramey ramey++at++ccpo.odu.edu 757-683-3439 (CAVE) 757-683-5335 (VEL Lab) "I eat weirder things than you in my cereal" - Zaphod Bebblebrox "Can't talk to a Psycho like a normal human being" - Poe
This archive was generated by hypermail 2.0b2 on Fri Dec 17 1999 - 06:10:02 PST