RE: known if a node is visualizing

New Message Reply Date view Thread view Subject view Author view

From: Dorosky, Christopher G (christopher.g.dorosky++at++lmco.com)
Date: 07/03/2001 09:44:16


Attach a post-cull callback to your node.
 
Inside the callback, get the answer to pfGetCullResult();. This will tell
you whether it is going to be passed to draw or not.
 
You could also do this in pre-cull. The difference is that the function call
will either retrieve the answer (post) or calculate, set, and retrieve the
answer (pre).
 
 
 

Christopher Dorosky
Lead Electronic Systems Engineer - Real Time Simulation
Lockheed Martin Missiles and Fire Control - Dallas
christopher.g.dorosky++at++lmco.com
972-603-2349

-----Original Message-----
From: Lucia Cappellato [mailto:l.cappellato++at++hsantalucia.it]
Sent: Tuesday, July 03, 2001 8:10 AM
To: info-performer++at++sgi.com
Subject: known if a node is visualizing

Hi all,
 
my problem is to be able to establish if a very precise node does not
come visualized, that is in the phase of CULL turns out external
to the view-frustum.
 
I have thought to some possible solutions for being able to obtain
this result but many doubts have come me.
 
The first idea that I have thought is to define a function of predraw
in which verification if between the nodes that come designed there is
what it interests to me.

An other idea is that one to use the functions that allow to
characterize the behavior of a node es. pf[Get]NodeTravFuncs.
 
I do not understand however the difference between the two functions
and above all what it'sn't clear to me is in which phase (CULL/DRAW) I can
know if the node, that to me it interests, be excluded from the successive
visualization.
 
Someone can gives me a simple example on as they come used these two
functions.
 
Bye Lucia


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Jul 03 2001 - 09:41:39 PDT

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