From: Devrim Erdem (devrim++at++machsim.com)
Date: 07/02/2003 06:58:44
Goncalo Carvalho wrote:
>pfHey,
>
>This behavior is known. I reported it before. One way to solve it is to
>do a setColorMode of PFMTL_CMODE_OFF on your materials.
>
Interesting. I already have PFMTL_CMODE_OFF ( for the front face ). This
didn't help me.
>
>On perfly you can use -q 0. It shouldn't call pfdMakeSharedScene.
>
I tried like :
perfly.exe -q 0 esprit.flt
but pfdMakeSharedScene still takes place. Maybe some other optimization
requires ( and invokes ) pfdMakeSharedScene. Any ideas ???
>
>Goncalo
>
>Devrim Erdem wrote:
>
>
>>Hello,
>>
>>I have an interesting case, or maybe it is pretty boring and clear for
>>some of the mailing list members ( I hope ). My .pfa file has 3
>>materials and 3 geostates which refer to these materials. While the
>>model is being load in perfly perfly does a pfdMakeShared optimization.
>>The optimization says :
>>
>>PF Info: pfdMakeShared optimizing traversal
>>PF Unique state objects:
>>PF GeoStates: 1
>>PF Materials: 1
>>PF Redundant state objects:
>>PF None
>>PF Performance statistics:
>>PF Input objects: 2 (100.00%)
>>PF Output objects: 2 (100.00%)
>>PF Deleted objects: 0 ( 0.00%)
>>PF Elapsed time: 0.000 sec
>>
>>It looks like there is only one material left out of 3 materials. In the
>>pfa the materials are defined as :
>>
>>#---------------------- Materials
>>0 3
>>#---------------------- Material 0
>>2
>>1
>>0
>>0 0 0
>>0.800000012 0 0
>>0 0 0
>>0 0 0
>>1 1
>>-1
>>#---------------------- Material 1
>>2
>>1
>>0
>>0 0 0
>>0 0.800000012 0
>>0 0 0
>>0 0 0
>>1 1
>>-1
>>#---------------------- Material 2
>>2
>>1
>>0
>>0 0 0
>>0 0 0.800000012
>>0 0 0
>>0 0 0
>>1 1
>>-1
>>
>>All the materials are different by diffuse color. If I set the second
>>parameter of the last material ( alpha ) to 0 , last material survives
>>the optimization. But this doesn't work for the others. I am not able to
>>understand the login behind this. To my understanding all 3 materials
>>shall survive the make shared optimization. I appreciate any hints.
>>
>>P.S : How can I disable pfdMakeShared in perfly ?
>>
>>Best Regards,
>>
>>Devrim Erdem
>>
>>-----------------------------------------------------------------------
>> 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
>>-----------------------------------------------------------------------
>>
>>
>
>
>
This archive was generated by hypermail 2b29 : Wed Jul 02 2003 - 06:58:39 PDT