Re: info-performer Dec 16 1999

New Message Reply Date view Thread view Subject view Author view

Larry Ramey (ramey++at++ccpo.odu.edu)
Fri, 17 Dec 1999 09:09:38 -0500


Uwe,

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

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri Dec 17 1999 - 06:10:02 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.