From: Patrick J Melody - CONTRACTOR (melody++at++cmf.nrl.navy.mil)
Date: 11/29/2004 17:08:44
i am doing roughly the following:
initially:
mpct = pfdLoadMPClipTexture("foo.ct");
pfuAddMPClipTexturesToPipes(listContaining_mpct, masterPipe, NULL);
geostate->setAttr(PFSTATE_TEXTURE, mpct->getClipTexture());
on every frame thereafter:
mpct->setCenter(s, t, 0);
this is single pipe, single process (let's start simple...).
the result i am getting is that the texture appears, but only the
non-clipped levels seem to be showing. initially it seems to try to load
all the tiles down to the finest LOD, but it never displays them and as i
roam around no extra tile loading occurs. this code is roughly a
rearrangement of the spherepatch3 code. (i basically intend to divorce
the texture loading code from the geometry generation code in the
spherepatch3 loader, so i can load a gazillion cliptextures at user whim
and slap the one the user specifies on the spherepatch geometry.) right
now the new "spherepatch" loader just generates geometry with a default
pfTexture. the app manually does the "initially" part above on user
command after the geometry is loaded up and displaying it's default
pfTexture.
any ideas what i might be doing wrong or forgetting or otherwise
inadvertantly changed?
thanks,
- patrick melody, ITT Industries ++at++ Naval Research Laboratory
This archive was generated by hypermail 2b29 : Mon Nov 29 2004 - 17:09:02 PST