RE: [Algorithms] Bullets on walls
Brought to you by:
vexxed72
From: Giovanni B. <ba...@pr...> - 2000-07-21 07:48:34
|
In DirectX, there is a ZBIAS stuff that let you set a priority order (integer) when Z matches. It is a renderstate. But looking at the caps, it is not supported in every boards I have tried. I heard it is an old thingie of first Voodoo boards. I had not found something similiar in OpenGL. --- Giovanni Bajo Lead Programmer Protonic Interactive www.protonic.net a brand of Prograph Research S.r.l. www.prograph.it > -----Original Message----- > From: gda...@li... > [mailto:gda...@li...]On Behalf Of Angel > Popov > Sent: Friday, July 21, 2000 9:27 AM > To: gda...@li... > Subject: Re: [Algorithms] Bullets on walls > > > > Hi! > > I added wallmarks in my 3d engine but when I fire on the border > of a wall > I would like to clip the wallmark to the wall. > > > > I have some ideas but I think they are a bit slow... (manual clipping, > texgen, stencil?) > > > > How do you do this? > > > > Thanks for any help! > > An extention like glDepthFunc( GL_ALMOST_EQUAL ) will be quite usefull for > things like wallmarks and loosely projected shadows. > Does anyone know if something like this is avaiable on current hardware? > > > > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > http://lists.sourceforge.net/mailman/listinfo/gdalgorithms-list > > |