Hi guys! I implement smokes and missile trails on flightgear and come across to following problem: ALPHA sorting could you please describe me why we have this problem? so here is two screenshots one from plib viewer http://fgfs.narod.ru/snap2.jpg and one from flightgear. http://fgfs.narod.ru/snap1.jpg Maybe I should adjust state?
Probably, try setting glDepthMask(GL_FALSE) just prior to drwing the trails and set glDepthMask(GL_TRUE) when finished.
This might work, but is not guaranteed.
Otherwise you have to sort the objects based on distance to the viewer before drawing them.
This could be done by applying this patch to plib:
http://www.a1.nl/~ehofman/fgfs/download/Plib_ssgDList2-20020718.diff
Erik
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
