From: Yair Kurzion (yair++at++polygon.engr.sgi.com)
Date: 05/20/2003 11:20:36
Hi Pat !
Sorry for the delay in my response.
> If that was the case, wouldn't the pre-app callback be made at least once?
> It isn't called at all.
Yes. If you share the APP callback, it should be called only once.
Can you verify that your APP callback is still attached to the node ? Some
loaders may attach their own APP callbacks to nodes. (To verify: call
pfNode::getTravFuncs and print the result every frame.)
Do you ever call pfNode::setTravMask or pfChannel::setTravMask ? You can
make Performer skip traversing a node by setting the bitwise AND of the
channel and node masks to zero.
> I forgot to mention that this is a cliptexture application.
I don't think this should matter.
Can you reproduce this bug in a small sample code ? I'd be happy to take a
look at it.
-yair
>
> -----Original Message-----
> From: Yair Kurzion [mailto:yair++at++polygon.engr.sgi.com]
> Sent: Wednesday, May 07, 2003 18:15
> To: GatewoodWP++at++navair.navy.mil
> Cc: info-performer++at++sgi.com
> Subject: Re: [info-performer] pre-app tile callback
>
>
>
> Hello Pat !
>
> > I have an application which is using a pre-app callback to translate some
> > geometry under a pfDcs.
> >
> > It works under Performer 2.2.
> >
> > The same code with the same data under Performer 3.0.1 fails to call the
> > callback. Any ideas?
>
> Do you share the APP callback between channels (pfChannel::setShare) ?
>
> pf2.2 contains a bug: When you share the APP callback between channels, all
> the sharing channels call it.
>
> The correct behavior (in the man page): When you share the APP callback
> between channels, only the master channel calls it.
>
> This bug was fixed somewhere between 2.2 and 3.0 (I think it was 2.4.x).
>
> Can this be the problem ?
>
> -yair
>
> --
> \_________ \_____ \__ \__ \_____
> \_________ \_____ \__ \__ \_____ Yair Kurzion
> \__ \__ \____\__ \__ yair++at++sgi.com
> \__ \__ \__ (650) 933-6502
> \__ \__ \__
> \__ \__ \__
>
--
\_________ \_____ \__ \__ \_____
\_________ \_____ \__ \__ \_____ Yair Kurzion
\__ \__ \____\__ \__ yair++at++sgi.com
\__ \__ \__ (650) 933-6502
\__ \__ \__
\__ \__ \__
This archive was generated by hypermail 2b29 : Tue May 20 2003 - 11:20:55 PDT