Hi, On Mon, 2008-09-29 at 17:23 +0200, Mathias Wagner wrote: > Hello everyone, > > I have a problem with sorting of transparent primitives. > There are three transparent objects behind the other - two arrows > (consists of one cylinder and one cone) and one plane in the middle > (always with same small distance to both arrows). If I move both arrows > (one is always completely in front and the other one is always > completely behind of the plane) there are unpredictable effects. In > dependency of the position of both arrows sometimes are all parts of > both arrows rendered, sometimes only one cone, or two cylinders and only > one cone, … . > How can I avoid this problem (without sorting manually)?
could you try to subdivide you plane into more than 1 geometry. The transparency sorter just takes the distance to the bbox center as the sorting criteria. For an extended object the error can get quite large, especially if, like in your case, smaller object move in close distance. Splitting the plane should reduce this error so that the sorting stays correct. kind regards, gerrit ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
