[Fwd: pfFindNode]

New Message Reply Date view Thread view Subject view Author view

Garrett Williams (gwilliams++at++etcflorida.com)
Sat, 12 Apr 1997 15:30:56 -0400


Garrett Williams wrote:
>
> Is it posible to find a node within a loaded data base where the tree is
> created in the modeling tool????
>
> root = pfdLoadFile("thingy.dwb");
> l_leg = (pfDCS*) pfFindNode(root, "l_leg", pfGetGroupClassType());
>
> Or do I need to create each moving part on the model as a seperate
> peace??? I hope not.
>

The help was nice but this is what I have found out::

When Performer's standard loader loads in models it tends to remove
group names unless there is multiple siblings (of group types) under the
group then it keeps the name unchanged. Groups at the bottom of tree
will allways lose its name. I have not tryed but I think that polygon
and vertices will allway lose their names.

I tracked the load process to pfdLoadFile.c .

I rember seeing the load code for the diferent format loaders some
whare and I would like to modify the loader so that the group names
stay and control how the model is loaded.

any and all suggestions would be thankfull

 Thanks:: Garrett
=======================================================================
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:55:12 PDT

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