Be carful. HUD_DrawTransparentTriangles sometimes goes wrong as the Z buffer
goes crazy and the sprites are drawn infront of everything and go huge. This
only usually happens though if its being drawn over the top of other bits of
triapi


----- Original Message -----
From: "Cale Dunlap" <[EMAIL PROTECTED]>
To: "HLCodersList" <[EMAIL PROTECTED]>
Sent: Monday, March 04, 2002 7:19 AM
Subject: Re: [hlcoders] New post, same subject as before, pictures work...


--
[ Picked text/plain from multipart/alternative ]
I got it.... the particles weren't being rendered in the right order... they
were being rendered in the HUD_DrawTriangles function, when I needed them to
be rendered in the HUD_DrawTransparentTriangles function. Doesn't that have
something to do with pre/post frame?

-Cale 'Mazor'

----- Original Message -----
From: Patrick Phillips
Sent: Sunday, March 03, 2002 9:54 PM
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] New post, same subject as before, pictures work...

I remember toying around with using sprite textures a while back.
It's something like . . . if you don't get a sprite texture ptr but bind a
texture anyways, it'll use the first index or something.

>From: Reedbeta <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [hlcoders] New post, same subject as before, pictures work...
>Date: Sun, 3 Mar 2002 12:15:10 -0800 (PST)
>
>It looks to me as if the sprite that is being drawn for the particles has
>changed from whatever sprite you're using to one of HL's lens flare
>sprites.
>You can see this at the edge of the particle stream in particles2.jpg.
>Perhaps
>the sprite indices are getting b0rked somehow, causing your particle code
>to
>render the wrong sprite?
>
>--- Cale Dunlap <[EMAIL PROTECTED]> wrote:
> > --
> > [ Picked text/plain from multipart/alternative ]
> > Anyone know why this would happen to triAPI particles?
> > http://mazor.cekkent.net/particles1.jpg
> > http://mazor.cekkent.net/particles2.jpg
> >
> > The only difference in the screenshots is the gib that I threw into
>view. The
> > second it comes into view, the particles lose their render colors and
> > alpha's. When I walk out of the view of the gib, that stops happening,
>and it
> > goes back to looking like particles1.jpg . Any ideas?
> >
> > -Cale 'Mazor'
> >
> > "Even in death, feelings carry on; love -- the ultimate power -- will
>stay
> > within me, as I will stay with thee."
> > -MeGet more from the Web.  FREE MSN Explorer download :
> > http://explorer.msn.com
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
>please
> > visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Sports - sign up for Fantasy Baseball
>http://sports.yahoo.com
>_______________________________________________
>To unsubscribe, edit your list preferences, or view the list archives,
>please visit:
>http://list.valvesoftware.com/mailman/listinfo/hlcoders
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcodersGet more from the
Web.  FREE MSN Explorer download : http://explorer.msn.com
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to