Re: perfly with obj

New Message Reply Date view Thread view Subject view Author view

Scott McMillan (mcmillan++at++cambridge.com)
Tue, 10 Aug 1999 12:12:56 -0400


Joon Ra wrote:
>
> Also, I am currently working with .obj files and one of my tasks
> is to construct a tree so that the structures of the tree can be
> seen when using the 'view-tree' on perfly. The .obj file I'm using
> has multiple groups(defined by 'g') and their level of depths are
> divided by slashes. How can I show the structure of the .obj file in
> perfly? Right now, it only shows one group at the root and all the
> groups in the .obj files are shown as 'geode's.

It will take a total rewrite of the loader to do what you want.
The OBJ loader ignores the 'g's. Here is all it does with this
token (pfobj.c, lines 248-251):

        if (SAME(token, "g"))
         {
            ++numGroups;
        }

-- 
Scott McMillan                        mailto:mcmillan++at++cambridge.com
Cambridge Research Associates         http://www.cambridge.com
1430 Spring Hill Road, Ste. 200       Voice: (703) 790-0505 x7235
McLean, VA 22102                      Fax:   (703) 790-0370

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Aug 10 1999 - 09:14:13 PDT

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