How to not draw something

New Message Reply Date view Thread view Subject view Author view

Scott A. Friedman (friedman++at++ucla.edu)
Sat, 26 Oct 1996 14:17:06 -0700


Hi,

Just want to make sure I understand things...before I dig into this.

This assumes APP_CULL_DRAW and channel travMasks are set appropriately.

If I modify the traversal mask of a node in the CULL process to prevent
it from drawing that change propagates to the DRAW - right?

So, scene is culled with pfCull() then I decide not to draw something
that would otherwise. I flip the travMask of the node. The draw does
not draw the node.

The next frame I cull again. The travMask is not set because this is a
fresh copy from the APP. Then I can decide again whether or not to draw
the node.

In other words - the changes are only propogated downstream in MP mode
for the *nodes*. As opposed to the geometry where I would need to
explicitly use a cyclebuffer to isolate changes.

Is this correct? By default the scene graph propogates but not the
geometry without a cyclebuffer.

Thanks,
Scott

-- 

Scott A. Friedman University of California at Los Angeles o:310.206.4793 Department of Architecture + Urban Design f:310.825.7745 Box 951467 / Perloff Hall p:310.875.2666 Los Angeles, CA 90095-1467

mailto:friedman++at++ucla.edu | http://www.aud.ucla.edu/~friedman pgp : F1 9C 1C 50 0B FC 22 B7 49 86 15 18 C3 C8 29 16 ======================================================================= 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:49 PDT

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