PDA

View Full Version : TEXTURE_BASE_LEVEL and TEXTURE_MAX_LEVEL



07-24-2003, 05:54 AM
Is it "legal" to have the base level and the max level to be equal, essentially eliminating the effect of mip mapping without having to change the filter.

Jeff

kehziah
07-24-2003, 06:21 AM
(...)

EDIT : just re-read your question. I misunderstood what you were asking.

Yes you can set base and max levels to the same value. That's basically "turning mipmapping off".


[This message has been edited by kehziah (edited 07-24-2003).]

vincoof
07-24-2003, 11:07 PM
It's definately possible.
Taken from the specification at http://oss.sgi.com/projects/ogl-sample/registry/SGIS/texture_lod.txt :


Mipmap Completeness
-------------------

The GL Specification describes a "complete" set of mipmap image arrays
as array levels 0 through p, where p is a well defined function of the
dimensions of the level 0 image. This extension modifies the notion
of completeness: instead of requiring that all arrays 0 through p
meet the requirements, only arrays 0 and arrays BASE_LEVEL through
MAX_LEVEL (or p, whichever is smaller) must meet these requirements.