Just use;
Java3dColor[0] = ((float)RGB[0]/255f);
Java3dColor[1] = ((float)RGB[1]/255f);
Java3dColor[2] = ((float)RGB[2]/255f);
[being careful with the cast!!!!]
and this will work pretty well!!!
--
Olivier Fillon Minestar Project
[EMAIL PROTECTED] Mincom Limited
Ph.+61-7-3303-3344 61 Wyandra Street
Fax+61-7-3303-3232 Teneriffe Qld. 4005.
Australia
Company home page: http://www.mincom.com/
Personal home page: http://www.home.gil.com.au/~fillon
===========================================================================
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".