well lets take a look at it
the values were 5, 5, 25.5

now the colour index goes from 0 to 255 so the largets range is 255.
now if 25.5 is the largest found value they used one can assume that 25.5 *
10 = 255 which is the largest index from 0->255 in the colour index.

----- Original Message -----
From: Yacketta, Ronald <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 11:30 AM
Subject: RE: [hlcoders] RGB colors


> And where in pray tell is this in the code ?
> How would one know it is such?
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Paul Samways
> Sent: Sunday, March 10, 2002 7:31 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [hlcoders] RGB colors
>
>
> Multiply by 10
>
> 50,50,255
> ----- Original Message -----
> From: "Yacketta, Ronald" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, March 10, 2002 11:36 PM
> Subject: [hlcoders] RGB colors
>
>
> > Folks,
> >
> > Can someone shed some light on my ignorance here, looking at the
> > client.dll I notice that 5, 5, 25.5 is being supplied to the
> > R_BeamEntPoint() function.
> >
> > What is the conversion for the above RGB?
> > And how is that conversion done?
> >
> > -Ron
> > _______________________________________________
> > 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
> _______________________________________________
> 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