"J. Lee Dixon" wrote:
>
> Since color3f expects 0-1 values for each channel, it should be:
>   float red = ((float)redbyte) / 255.0f;
>   etc...

I'm not sure about that. I would rather do

float red = (redbyte & 0xff) / 255.0f;

Artur

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to