Craig Pepper (craigp++at++matra.com.au)
Wed, 19 May 1999 22:34:21
What I'm trying to do is set the cliptexture centre per pipe. I've unset
the share centre bit on each pfMPClipTexture slave, and each frame I
calculate and set the centre for the master and each slave.
The effect I see is flashing between levels on the master cliptexture, with
the slaves stuck at a low level. The effect is clearly evident when the
texture is gridified.
I've done some investigation and made the following observations:
- The problem occurs for both virtual and non-virtual cliptextures.
- I'm not setting the slave centres outside the cliptexture mem region -
the problem still occurs even when I set the slave centres to be the same
as the master.
- It's not an ordering problem - I tried setting the master centre first
and the slave centres first.
- Printing out the results from getCurCentre() on the slaves in the app,
cull and draw shows the slave centres stuck at ( 0, 0, 0 ), which would
indicate the slaves aren't being updated properly.
- I tried calling various undocumented methods (eg applyCentre) on the
slaves' pfClipTexures in the app, cull and draw which resulted in no
change, or in more weirdness the slaves, eg displaying a fine level in the
wrong position.
I'm not sure what else to try, or if I'm doing something fundamentally
wrong. The pfMPClipTexture man page gives the impression that this should
be relatively easy, but it's not working for me.
For info, I'm on a 3 pipe Onyx2 IR, IRIX 6.5.1, Performer 2.2.?
Any hints or suggestions would be greatly appreciated.
-----------------------------------------------------------------------------
Craig Pepper Home: craigp++at++matra.com.au Work: cpepper++at++syd.csa.com.au
Visual Simulation Development
CSC Australia Pty Ltd
This archive was generated by hypermail 2.0b2 on Wed May 19 1999 - 05:34:29 PDT