|
From: Keith W. <kw...@cs...> - 2004-07-13 16:54:52
|
I found the constants for texture filtering:
typedef enum TQ3TextureFilter {
kQATextureFilter_Fast = 0,
kQATextureFilter_Mid = 1,
kQATextureFilter_Best = 2,
kQATextureFilter_Size32 = 0xFFFFFFFF
} TQ3TextureFilter;
but I'm unsure how to use them. I have only found two functions so far
that seem related to this:
Q3InteractiveRenderer_GetRAVETextureFilter
Q3InteractiveRenderer_SetRAVETextureFilter
The problem is, I can't figure out where in Queeg or in Qut I get access
to a TQ3RendererObject, which is required by both functions.
Are these the functions I'm supposed to use to set texture filtering?
They're both RAVE. I thought perhaps I was supposed to be looking for a
generic solution...whatever generic means.
I successfully switched my code from mipmaps to pixmaps (new to me since I
haven't used pixmaps before), but the program doesn't appear to be using
lower res textures in the distance, so I think the default value is to not
filter, "fast" I think, which is what the docs say is the default, so
that makes sense.
________________________________________________________________________
Keith Wiley kw...@cs...
http://www.unm.edu/~keithw http://www.mp3.com/KeithWiley
"Yet mark his perfect self-contentment, and hence learn his lesson,
that to be self-contented is to be vile and ignorant, and that to
aspire is better than to be blindly and impotently happy."
-- Edwin A. Abbott, Flatland
________________________________________________________________________
|