Re: Question about Draw callback

New Message Reply Date view Thread view Subject view Author view

Jean-Luc Dery (dery++at++discreet.com)
Fri, 18 Dec 1998 10:01:17 -0500


On Dec 17, 1:29pm, Angus Dorbie wrote:
> Subject: Re: Question about Draw callback
> Eddy Kuo wrote:
> > 2)
> > When I have a channel draw callback, and a node traversal draw callback,
> > What is the order of these callbacks being called. (in a multiprocessors
> > environment)
>
> The channel draw callback calls pfDraw. In pfDraw, when the node is
> reached
> in the display list your node draw callbacks will be called before and
> after
> it is drawn.

Careful with pfChannel PFCULL_SORT mode; the node draw callbacks might not get
called as you expect. If draw callbacks are set at pfNode levels, they might
affect geometry node children from other groups since those are sorted
according to graphics state optimisation.

Jean-Luc

-- 
_____________________________________________________________________________

Jean-Luc Dery Discreet Logic Technical Leader 10 Duke Street 3-D Graphics Technology and Montreal (Quebec), Canada, H3C 2L7 Realtime Systems Tel: (514) 954-7239 Email: jean-lucD++at++discreet.com Fax: (514) 393-0110 _____________________________________________________________________________


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Fri Dec 18 1998 - 07:01:49 PST

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