From: MLM Veraart (Veraart++at++fel.tno.nl)
Date: 04/11/2000 09:56:51
Hello,
I think I have found a bug in Iris Performer.
It is about sorting of transparent geometry.
In a testcase have located the error. It can be solved
by putting an Identity pfDCS() in front of the geometry
that is wrong sorted.
The performer scene graph of the NON working case is
pfScene
|
+-- pfGeode -- pfGeoset (cube flt file)
|
+-- pfDCS[T(20,3,0)] -- pfGeode -- pfGeoset
| (quad with iris texture around 0,0,0)
|
+-- pfGeode -- pfGeoset
| (quad with logo texture around 20,6,0)
|
+-- pfDCS[T(20,9,0)] -- pfGeode -- pfGeoset
| (quad with iris texture around 0,0,0)
|
+-- pfGeode -- pfGeoset
(quad with logo texture around 20,12,0)
When viewed the two logo quads are drawn first and the the two iris quads.
But when I add a pfDCS with an identity matrix in front of the logo quads
the sorting is done in the right way.
The performer scene graph of the working case is
pfScene
|
+-- pfGeode -- pfGeoset (cube flt file)
|
+-- pfDCS[T(20,3,0)] -- pfGeode -- pfGeoset
| (quad with iris texture around 0,0,0)
|
+-- pfDCS[T(0,0,0)] -- pfGeode -- pfGeoset
| (quad with logo texture around 20,6,0)
|
+-- pfDCS[T(20,9,0)] -- pfGeode -- pfGeoset
| (quad with iris texture around 0,0,0)
|
+-- pfDCS[T(0,0,0)] -- pfGeode -- pfGeoset
(quad with logo texture around 20,12,0)
For me this is a workaround for the application I have now.
Is this a bug in performer 2.2.4?
You can find the files of the test program based on complex.C
at the following URL http://alley.fel.tno.nl/~rioj7/TransparentSorting/
Thanks in advance.
Mario Veraart
This archive was generated by hypermail 2b29 : Tue Apr 11 2000 - 09:57:32 PDT