Re: [info-performer] transparency bin - sorting

New Message Reply Date view Thread view Subject view Author view

From: MLM Veraart (veraart++at++fel.tno.nl)
Date: 12/16/2002 09:02:37


Florian Berger wrote:
>
> hi performer friends!
>
> in my applications the transparency bin doesnt seem to work properly.
> i did an initial
> setBinSort(PFSORT_TRANSP_BIN,PFSORT_BACK_TO_FRONT,NULL)
> on the channel.
> and i was careful not to use overlapping primitives, but still some objects
> behind e.g. a transparent window texture are not drawn sometimes, because the
> window is drawn first and sets the z-buffer.
>
> how in detail is sorting performed?
> by the balance point of the primitives?
> or is the sorting not even performed on primitive level?
>

As far as I know the sorting is done on a pfGeoset level.
>From the pfGeoset you take the center of the bounding box and they are
range sorted from back to front from the eye point

Mario


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Dec 16 2002 - 09:07:13 PST

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