From: Devrim Erdem (devrim++at++machsim.com)
Date: 06/18/2003 03:54:46
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
This archive was generated by hypermail 2b29 : Wed Jun 18 2003 - 03:56:19 PDT