Re: Perf drawing order

New Message Reply Date view Thread view Subject view Author view

Kowsik Guruswamy (kowsik++at++coryphaeus.com)
Thu, 25 Jul 1996 13:26:28 -0700


On Jul 25, 12:14pm, Dewey Anderson wrote:
> Subject: Perf drawing order
>
> Does anybody know what determines the drawing order for Performer, and if
> there's any way to control it? We're looking for a way to get around not
> having a Z-buffer in some applications.

[snip]

> I was hoping that the statement in the manual that traversal happens
> left-to-right would apply to drawing as well but my example seems to indicate
> that the drawing order can change.
>
> Is there any way to control this? I can imagine that no one ever expected
> performer to be used in a situation where there is no depth buffer so I
> wouldn't be surprised to hear that it's not consistent or controllable.

This is just a thought and haven't tried it. The left-to-right traversal
definitely happens, but the cull process sorts the pfGeoSets based on minimal
state changes. What I am getting at is that you might want to try disabling
sorting for the pfChannel to guarantee the order. [use
pfChanTravMode (PFCULL_GSET | PFCULL_VIEW)]

K.

K.

-- 
kowsik++at++coryphaeus.com     | pirts suiboM a hguorht neeb sah txet sihT
http://www.coryphaeus.com |
                          | You are not you, you are me! - arnie
work: (408)-395-4537 e210 |

======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:13 PDT

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