[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] Shade me confused
From: |
Drew Hess |
Subject: |
Re: [Openexr-devel] Shade me confused |
Date: |
Thu, 27 Mar 2003 12:28:11 -0800 (PST) |
It is float data that gets uploaded to the card, due to a bug in the
current (as of 4290) Nvidia drivers. Once the bug is fixed, we'll be able
to send half data to the card instead. It may be fixed in today's 4390
drivers on Windows, but I'm waiting for the equivalent Linux drivers to
find out.
The magic conversion happens in the glTexImage2D call (the GL_FLOAT
parameter specifies the input pixel type).
-dwh-
On Thu, 27 Mar 2003, Nafees Bin Zafar wrote:
> Hi Drew. Looking through the ImageViewFragShader class, I see that the
> texel data passed into glTexImage2D() is just regular float data. The
> internal format spec is set to GL_FLOAT_RGBA16_NV. So where does the
> magic conversion to half type occur?
>
> I am hoping that float data doesn't get transferred to the graphics card
> because that would transfer 16 unnecessary bits.
>
> -n
>
>