RE: [info-performer] Question related to the pfconv/perfly utilities

Date view Thread view Subject view Author view

From: Gordon Tomlinson (gordon++at++thesmeghead.com)
Date: 11/03/2005 02:51:31


 
Hi

Its the optimisation/flattening process when your file is loaded, the
optimisation is removing what it see as redundant nodes and states, this is
Generally a Good thing to have happen

You can disable this on the command line for Perfly, long time since I used
perfly, I think its some thing like '-Q 0' to turn it OFF, see the
Perfly source code to confirm this

Best Regards
 
Gordon
 ___________________________________

Gordon Tomlinson
 
Email : gordon++at++3dscenegraph.com
Msn Im : Gordon3dBrit++at++3dscenegraph.com : Yim/Aim : Gordon3dBrit
VOIP : Google Talk : gordon.tomlinson++at++gmail.com
FAQs : Forum - OSG - Vega - Performer - Vega Prime - Creator

-----Original Message-----
From: owner-info-performer++at++performer.engr.sgi.com
[mailto:owner-info-performer++at++performer.engr.sgi.com] On Behalf Of Leif
Richard Grønmo
Sent: Thursday, November 03, 2005 10:09 AM
To: Stace Peterson
Cc: info-performer++at++sgi.com
Subject: Re: [info-performer] Question related to the pfconv/perfly
utilities

Hi again Stace,

I've got another problem.

Example: I've made and object file containing two cubes with different group
names. When loading this with perfly i try to show the node tree.
The two object are grouped as only one. The only way i get to group them as
two is if i make an mtl file with two different materials. is there another
way (i don't wanna change the colour of the objects just to seperated them
when loaded)?

sorry for all the questions btw. i'd really like to not bother you with this
questions.

Leif Richard

***************************************
**** There are 10 types of people, ****
**** those who understand binary, ****
**** and those who don't. ****
***************************************

On Thu, 3 Nov 2005, Leif Richard Grønmo wrote:

> Hi Stace!
>
> Thank you so much for the help! It was really helpful! Now i finally
> can create files containing node names. The reason why i want to use
> node names is because i want to check them up against a ontology
> database to do a search in a document base. This solves my problem
> allthough it might be time consuming to add all the node names by
> hand. Do you know if there is any file format (besides pfa/pfb) where
> performer is able to load this information (node names) directly
> without me having to apply the names by hand?
>
> I'm so grateful for your help!
>
> Leif Richard
>
> On Wed, 2 Nov 2005, Stace Peterson wrote:
>
> > Leif,
> >
> > The confusion is caused by the fact that cow.pfb in data/marblecow
> > is not a straight conversion of cow.obj. I needed to add node names
> > so the gpu loader could apply different material properties to the
> > various parts of the cow. Thus, I manually added the node names by
> > converting the cow.obj to a pfa file, edited the file by hand, and
> > then converted to a pfb file. The cow.obj file did not have the
> > node names to begin with, which is the reason the cow.pfb file was
> > created in the first place.
> >
> > Hope that helps,
> > Stace
> >
> > Leif Richard Grønmo wrote:
> > >
> > > Dear Reader,
> > >
> > > I'm having a problem with displaying names of objects using perfly
> > > with .obj files. If i use perfly with the example cow.pfb (located
> > > at Data/marblecow directory) the object names such as hooves,
> > > body, face, hide etc... are shown. I've tried converting the
> > > cow.obj (located in Data directory) file to cow.pfb format using
> > > the pfconv utility. Upon opening this file with perfly I still get
> > > no object names. I've also tried opening cow.obj directly with
> > > perfly, but still no object names (hooves, face, etc.) are shown.
> > > I've tried calling both perfly and pfconv with the
> > > PFBLDR_ATTACH_NODE_NAMES attribute set and still no success. I've
> > > tried to google the problems, reading the getting started pfd,
> > > programmer's guide pdf, and still no success. These are the commands
I've tried at command prompt (I'm using windows by the way):
> > >
> > > // Trying to open the .obj file directly perfly cow.obj perfly
> > > -O35 cow.obj perfly -O 35 cow.obj
> > >
> > > // Trying to convert the .obj file to .pfb first, then opened in
> > > perfly pfconv cow.obj cow.pfb perfly cow.pfb perfly -O35 cow.pfb
> > > perfly -O 35 cow.pfb
> > >
> > > pfconv -B35 cow.obj cow.pfb
> > > perfly cow.pfb
> > > perfly -O35 cow.pfb
> > > perfly -O 35 cow.pfb
> > >
> > > pfconv -B 35 cow.obj cow.pfb
> > > perfly cow.pfb
> > > perfly -O35 cow.pfb
> > > perfly -O 35 cow.pfb
> > >
> > > Is there some information missing in cow.obj or am I using the
> > > perfly/pfconv utilities in a wrong manner or is it something else
> > > that I haven't thought of?
> > >
> > > Any help with my problem would be of great use.
> > >
> > > Yours Sincerely,
> > >
> > > Leif Richard Grønmo
> > >
> > > NTNU - Norwegian University of Science and Technology Norway
> > >
> > >
-----------------------------------------------------------------------
> > > List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> > > Open Development Project: http://oss.sgi.com/projects/performer/
> > > Submissions: info-performer++at++sgi.com
> > > Admin. requests: info-performer-request++at++sgi.com
> > > ------------------------------------------------------------------
> > > -----
> >
> > --
> > ------------------------------------------------------------------
> > Stace Peterson stacep++at++sgi.com
> > Silicon Graphics, Inc. (650) 933-2323
> >
> > -----------------------------------------------------------------------
> > List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> > Open Development Project: http://oss.sgi.com/projects/performer/
> > Submissions: info-performer++at++sgi.com
> > Admin. requests: info-performer-request++at++sgi.com
> > --------------------------------------------------------------------
> > ---
> >
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> ----------------------------------------------------------------------
> -
>

-----------------------------------------------------------------------
   List Archives, Info, FAQ: http://www.sgi.com/software/performer/
   Open Development Project: http://oss.sgi.com/projects/performer/
                Submissions: info-performer++at++sgi.com
            Admin. requests: info-performer-request++at++sgi.com
-----------------------------------------------------------------------


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Nov 03 2005 - 02:52:00 PST