Tim Moore wrote: >You can't set the render bin, but you can set any other attribute or >mode in the StateSet. If that causes the StateSet to change its opacity, >well, that's a problem. > > > There is no reason to dynamicaly change the renderbin, if the object can be transparent then it will be in the transparent bin since the begining (the author just need to set an alpha < 1.0). On the other hand we have a lot of objects that are in the transparent bin for no reason. We need a pseudo animation to put them in another bin (after the opaque one and before the transparent one). Thoses objects are using a texture with an alpha *mask*. They are *not* transparent. They have nothing to do in the transparent bin because they are ruining the perf and at the end they will make the depth sort fail (exemple:radio mast texture, tree texture, some aircraft texture).
Harald. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel