PDA

View Full Version : floating point 32 bit to 16



jeppa
02-23-2004, 12:50 PM
someone know the way to convert the floating
point 32 bit to floating point 16 bit??

Thanks in Advance
Sandro

davepermen
02-24-2004, 02:47 AM
not anymore, but i know the code was somewhere on the nvidia page. i guess you can find it in the cg package somewhere in the sources..

ScottManDeath
02-24-2004, 06:15 AM
visit http://www.openexr.org

there you can find the SDK for the OpenEXR image format, an image format with 16 bit (half) float per channel. There is also a class for converting betwen 32bit and 16bit float