Re: pfChannel and node callbacks
Mario Veraart (rioj7++at++fel.tno.nl)
Wed, 9 Jul 1997 11:30:33 +0200 (MET DST)
Anita Kishore wrote:
> In my performer application, the channel's position and orientaion at any
> instant of time may consist of values from several sources (eg. from GUI
> through the user, from a real camera etc.). For a particular geode in the
> scenegraph, I do not want the channel to have GUI input values (even though
> the user may be changing values from there), ie: this node should only be
> affected by real camera values and not GUI values. This can perhaps be done
> by assigning pre and post callbacks to the geode. In the pre callback, I
> subtract out the GUI contribution to the channel values and in the post, I
> reset them back. Is this the right way, and if so, which of APP/CULL/DRAW
> traversal callbacks should I use? Any other suggestions?
Maybe you can add an extra geode in the graph for each peace of input/info you
want and use the traversal masks to select and deselect a specific node.
And such display the info or not.
Mario
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:55:35 PDT