Sounds interesting. I guess the fourth component (E) is the exponent for the RGB components. Still only 8 bits resolution, but over a very wide range.
Will there be an extension exposing this? What is the enum value? What hardware supports this? Any more information as to what operations can be used on these textures?
well, for GL_NEAREST filtering, you can just abuse alpha for e, and sample like that. you can extract them then with a fragment program easily. compressing a float3 to rgbe in a fragment program is a bit more work. but for hdr-range colourbuffers this can be faster than using a float4 rendertarget texture for example…
Thanks guys, but that was not what I wanted to know. That’s trivial. We’re in the advanced forum, right?
Actually I got the impression RGBE was usable as internal texture format. Why would NVIDIA list it if not? It wouldn’t make much sense if this was a normal RGBA format and I had to do all the work myself in a fragment program. From the presentation, RGBE shares all limitations of NV_float_buffer texture formats (no blending and filtering).
So my best guess would be this is an extension of NV_float_buffer formats providing significant (and hence interesting) compression. Perhaps if I sample such a texture it will just show up in my fragment program as float? But to test this I at least need the right value for GL_RGBE8.
Of course, the presentation was all about DirectX, but if the hardware can handle it, I’d like to see it exposed in OpenGL
Originally posted by Bert: Actually I got the impression RGBE was usable as internal texture format. Why would NVIDIA list it if not?
Maybe they want to know if developers have an interest in this format? I wouldn’t be surprised if it worked under DX though. Do NVIDIA drvs expose floating point texture support in DX nowadays?
[b]
It wouldn’t make much sense if this was a normal RGBA format and I had to do all the work myself in a fragment program.
[/b]
I’m fairly sure deciding on what gets hw accelerated in the next generation chip takes quite some time. Only the most popular features gets implemented. How popular is the RGBE format compared to other HDRI formats? How often is it used except by Radiance users? Maybe someone knows? I guess since it is a 32bit format it should have some great potential for hw implementation.
But since using fp textures requires fragment programs and the rgbe to float conversion only translates into a few instructions, I doubt we will see hw support for RGBE any time soon. But what do I know.
[b]
Of course, the presentation was all about DirectX, but if the hardware can handle it, I’d like to see it exposed in OpenGL [/b]
Originally posted by davepermen: sirknight. you could simply google for them… thats the way i got how they work and what they do, too
Yes I know but since I was in the middle of writing my post I figured I’d just include that. But seeing that I got no answer for that I’ll just go google now.