PDA

View Full Version : Dependent texture reads



Humus
01-13-2001, 03:10 PM
I'd like to see dependent texture reads implemented in hw and accessible from OpenGL.
I don't know if anything like this is planned but Carmack has talked a little about it. Like you use (red, green) from the previous texture pass as texture coordinates in the next texture pass, or (red,green,blue) for 3d textures. This way you could implement almost any function you'd like. Sure, it'll be a little slow (very non-linear texture memory reads), but very useful.

Dirk
01-28-2001, 09:08 AM
Originally posted by Humus:
I'd like to see dependent texture reads implemented in hw and accessible from OpenGL.
I don't know if anything like this is planned but Carmack has talked a little about it. Like you use (red, green) from the previous texture pass as texture coordinates in the next texture pass, or (red,green,blue) for 3d textures. This way you could implement almost any function you'd like. Sure, it'll be a little slow (very non-linear texture memory reads), but very useful.

I was under the impression that Matrox' Environment-Mapped Bump-Mapping used DTR, can anybody confirm that?

Furthermore the rumors about NV20 include DTR, so we'll just have to wait a little and see.

DTR really is a very powerful tool, and I'd expect it to appear pretty soon.

Humus
01-28-2001, 11:12 AM
EMBM is a sort of special case of Dependent Texture Reads. You get texture coords for the next pass from the bumpmap. But I'd like to see the general solution in hw.

Michael Steinberg
01-29-2001, 01:04 PM
Where to get any rumours about nv20?