Re: Some Basic Q's

New Message Reply Date view Thread view Subject view Author view

Len Granowetter (lengrano++at++mak.mak.com)
Thu, 08 Sep 94 11:12:22 -0400


In message <199409041910.MAA23723++at++netcom.netcom.com> you write:
>
>Hi, I've been using Performer 1.2 to write a
>distributed interactive simulation application
>and I have some basic questions which I have
>yet to resolve.

> [When you pfClone a node, how do you find the node in the cloned
> graph that corresponds to a particular node in the original?]

>The only other option I have thought
>of is to write a little procedure to traverse the
>scene graph below a passed pfNode for a passed node
>name, returning a pointer to it when found.

Yup. I came across this exact problem a few months ago, also while
writing a DIS application (our commercial Stealth application). After
asking on this mailing list, it became clear that there is no good way
to do this using pfFind. So, as someone else on this list suggested,
I wrote a function just like the one you describe above, which worked
fine.

                                -Len Granowetter
                                 MaK Technologies
                                 (617) 876-8085
                                 lengrano++at++mak.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:50:32 PDT

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