Ran Yakir (rany++at++bvr.co.il)
Wed, 23 Dec 1998 17:01:32 +0200
If you are using blended alpha, you must sort the geometry to avoid this
problem. However, Performer does not sort the geometry inside a geoset, and
I assume every tree is a geoset.
Also, bounding box sorting will have undefined results in the case of two
intersecting polygons.
The best solution you could get will be to turn on PFSTATE_ALPHAFUNC on the
geostates, so that the totaly transparent pixels will not be rendered at all.
Or you can draw billboards
Ran
"Antonio F. Silva" wrote:
> Hi,
> I am using transperencies in stereo but I have a problem. Behind the
> polygon textured with an RGBA texture some polygons (also with
> transparencies or not) are also transparent. I think this could be
> related to the sorting of the polygons of the scene. I had used
> PFTR_BLEND_ALPHA | PFTR_NO_OCCLUDE and PFCULL_SORT in the
> pfChanTravMode, but the problem remain. And the problem occure only in
> stereo mode in mono the scene are just fine rendered.
> I have an image in attach (trees.jpg) so that could explain better
> what I mean.
> Does anyone have a clue ?
>
> Thanks in advance,
> Merry Christmas and an Happy New Year to pfAll :-)
>
> ASilva
>
> ------------------------------------------------------------------------
> [Image]
--
__ | Ran Yakir
/_) _ __ \ / _ / o __ | BVR Technologies Ltd.
/ )_ (_(_) ) \/ (_(_/<_(_)( |
_/ |
-------------------------------------+--------------------------------
Phone : | E-mail : rany++at++bvr.co.il
Work : 972-3-5715671 #166,#177 |
Res. : 972-9-7489974 |
Fax : 972-3-5715668 |
This archive was generated by hypermail 2.0b2 on Wed Dec 23 1998 - 07:05:01 PST