Page 1 of 1
Minor request.
Posted: 18 Nov 2007, 07:05
by smoth
Can we get a command /mipmap to disable/enable mips? so we can disable them if we want?
Re: Minor request.
Posted: 18 Nov 2007, 07:29
by Peet
smoth wrote:Can we get a command /mipmap to disable/enable mips? so we can disable them if we want?
Nvidia cp allows you to force them off iirc.
e: ah, you can force them on but not off >:(
Posted: 18 Nov 2007, 07:36
by smoth
nope.
Posted: 18 Nov 2007, 15:29
by rattle
Only ATI cards can turn their off through the driver.
Personally I use the PS DDS plugin to see what the mipmaps look like and if they break transparency maps for example, if this is it what you're on about.
Posted: 18 Nov 2007, 20:07
by smoth
nope, I hate mipmaping. Something is wrong with the way spring is showing unit and map textures and I want to find out what.
Posted: 18 Nov 2007, 20:28
by Argh
I think it's the way that Spring is handling them, Smoth, as well. It seems to be making mipmap determinations per polygon, instead of per model within the rendering space. This is probably a cause of a fair amount of rendering inefficiency, having to test per triangle.
Spring devs, I can go fetch some screens showing objects with two levels of mip shown in the same frame, if this is unclear.
Posted: 18 Nov 2007, 21:39
by Tobi
Mipmaps are handled by OpenGL, it's always determined per fragment (pixel) which mipmap(s) to apply. I think there isn't even a way to change this using OpenGL.
AFAIK, the only things that can be wrong are:
- mipmapping isn't enabled
- incorrectly downsampled mipmaps are uploaded to your card if it doesn't support hardware generated mipmaps (any modern one does AFAIK)
- a lower then maximum quality mipmapping setting is used, ie. NEAREST_MIPMAP_LINEAR instead of LINEAR_MIPMAP_LINEAR.
- mipmaps of atlased textures (projectile sprites, 3do units) are calculated wrong
Posted: 18 Nov 2007, 22:12
by smoth
I know if I turn on AA I get ugly lines on particles and I am not the only one.
it just seems to me something is wrong with the texturing things get blurry fast and why are we using mips? I didn't think they were needed any more?
Posted: 18 Nov 2007, 22:21
by Tobi
I've never heard of mipmapping being replaced by a superior technique.
Posted: 18 Nov 2007, 22:23
by Argh
No, Smoth- mips help performance a lot. If OpenGL is doing this per-fragment, it explains some of the things I've seen- I assumed that this was the case.
Freelancer handled mips the same way LOD was handled- by a distance from the camera function, so that mips were handled per-object, instead of per fragment. It looked better. However, most of the time, tbh, it's really not a problem, at least in PURE- I'm just being picky.
Posted: 18 Nov 2007, 23:21
by Tobi
Mips are for visual quality too, there's a lot more Moir├â┬® patterns to be seen without mipmapping because mipmapping = better downsampling when viewing textures at a lower resolution.
Posted: 19 Nov 2007, 02:49
by smoth
we also lose quality in the texture detail as we go to a lower resolution image. For me that is vexing. I have disabled bilinear and trilinear before in options to get all my sharp jaggies. When I look at spring textures I see heavily blurred images. I do not see this in other games and I thought I did not see it when I worked in the
ogre engine but sure enough it is there.
*sighs* I really want some sm3

. Oh well. I have no idea what to think, maybe there is no way to improve render quality. It just seems like spring has muddy over all graphics. I know that DDS is killing the detail on my textures for my maps. They come off blurry and they lose contrast in a big way. I can have a beautiful map texture and it looks like arse in game.
I am asking all of this random crap because I am largely ignorant on how this stuff works and wanted to see if there was something that maybe was over looked. I suppose the only way to really test any of this is to go in and redefine parts of the engine to look into it. Sorry for wasting time. Feel free to lock the thread.
Posted: 19 Nov 2007, 06:43
by KDR_11k
Modern cards love mipping too early to preserve fillrate. I guess you could try enabling aniso filtering.
I think modern cards no longer blur only within the 4 texel blocks or whatever, I've had texels on my models disappear at higher MIPs because the UVs were too close to the edge, suggesting that the algorithm did blend even across the texture's edge. The texture was power-of-two, of course.