RE: [Plib-users] transparent cube
Brought to you by:
sjbaker
From: Marc E. <ma...@fa...> - 2001-06-27 09:02:08
|
At 09:36 AM 6/26/01 -0700, you wrote: >We recently had a discussion about this on plib-devel. Read this > >http://web2.airmail.net/sjbaker1/alpha_sorting.html > >For my game, I simply disable Z-write translucent polygons. Here's my hack >for ssgDList.cxx > >void _ssgDrawDList () >{ > glDepthMask ( false ) ; > > for ( int i = 0 ; i < next_dlist ; i++ ) > dlist [ i ] . draw () ; > > next_dlist = 0 ; > > glDepthMask ( true ) ; >} Thanks, that does the job well enough. Marc. ___________Escher Marc__________Alternet Fabric, sarl_____ rue de Langallerie, 6 Tel : ++41-21-351.10.20 CH-1003 Lausanne Fax : ++41-21-351.10.20 mailto : ma...@fa... http://www.fabric.ch smsto : http://www.flashsms.com/marc _____________________________________________________ --- Pingouins dans les champs, hiver mechant. --- |