Re: Channel and Draw Callbacks

New Message Reply Date view Thread view Subject view Author view

Gordon Tomlinson (gordon++at++paradigmsim.com)
Tue, 22 Jun 1999 15:28:24 -0500


Hi

In your draw call backs for the nodes you
can get which channel the traversal is on
with "pfGetTravChan"

yourDrawCB(pfTraverser *trav, void *data){

 pfGetTravChan(trav) != "???????"

}

Kevin Kronmiller wrote:
>
> Hi,
>
> I have another question for the group.
>
> Overview:
>
> I have two pfChans in the same window. Each pfChan (not a channel group) has a different view into the same pfScene. Many of the pfNodes in the pfScene have draw callbacks that render a text label identifying the pfNode.
>
> Now to my question.
>
> I need the text identifying each pfNode to be different depending on which pfChan the scene is viewed from. I know how to pass use pass through data but don't know how to tell a pfNode which pfChan it is viewed from. How can I do this?
>
> For example:
>
> pfNode #1 in pfChan #1 should have a label "ABC"
>
> and
>
> pfNode #1 in pfChan #2 should have a label "XYZ"
>
> Thanks in advance for your help
>
> Kevin Kronmiller
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 

Regards

Gordon.

Gordon Tomlinson | Multigen - Paradigm Inc Vega Software Engineer | Suite 400, 14900 Landmark Blvd Email: gordon++at++paradigmsim.com | Dallas, Texas 75240, USA Tel: 972 960 2301 | Fax: 972 960 2303 ______________________________________________________________

'Smoke me a kipper skipper, I'll be back for breakfast' ______________________________________________________________

640K of ram should enough for anybody. Bill Gates 1981

There is no reason anyone would want a computer in their home (Ken Olson, president of Digital Equip Corp 1977 ) ______________________________________________________________


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Jun 22 1999 - 13:25:07 PDT

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