From: Yair Kurzion (yair++at++polygon.engr.sgi.com)
Date: 01/11/2000 17:42:57
>
> Yair Kurzion wrote:
> >
> > Hello Steve !
> >
> > Say you put a DRAW callback on a node A, and node A has children B, C, D, E.
> > Performer will make sure that this callback is called before drawing ANY of the
> > children of this node.
>
> The pre draw is called before all children the post draw is called after
> all children.
>
> >..... If Performer decided to draw some children interleaved
> > with other geometry (e.g. B, C, g1, D, E where g1 is some other geometry), it
> > will call the draw callback multiple times - once for each time its starts
> > drawing some children of A (In the example, the DRAW callback gets called
> > before drawing B and before drawing D).
>
> I'm confused, draw callbacks turn sorting off bellow the node so how
> could the above scenario happen?
Performer state sorting is local to a pfBin. When different GeoSets and up in
different bins, they will be sorted within their bins. State sorting will
indeed avoid sorting across a DRAW callback inside a pfBin.
-yair
--
\_________ \_____ \__ \__ \_____ Yair Kurzion
\_________ \_____ \__ \__ \_____ yair++at++sgi.com
\__ \__ \____\__ \__ http://reality.sgi.com/yair
\__ \__ \__ Work: (650) 933-6502
\__ \__ \__ Home: (408) 226-9771
\__ \__ \__
This archive was generated by hypermail 2b29 : Tue Jan 11 2000 - 17:43:03 PST