Questions tagged [mipmaps]

Mipmaps (also MIP maps) are pre-calculated, optimized collections of images that accompany a main texture, intended to increase rendering speed and reduce aliasing artifacts.

In 3D computer graphics texture filtering, mipmaps (also MIP maps) are pre-calculated, optimized collections of images that accompany a main texture, intended to increase rendering speed and reduce aliasing artifacts. They are widely used in 3D computer games, flight simulators and other 3D imaging systems. The technique is known as mipmapping. The letters "MIP" in the name are an acronym of the Latin phrase multum in parvo, meaning "much in little". Mipmaps need more space in memory. They also form the basis of wavelet compression.

230 questions
1
vote
1 answer

WebGL texture with transparency mipmappable? Turns opaque when mipmapping turned on

The simple question is - is there any difference between gl.LINEAR_MIPMAP_NEAREST and gl.NEAREST_MIPMAP_LINEAR? I've used the first, with bad results (see below) and found the second on the web. Interestingly, both are defined (in Chrome), and I…
virtualnobi
  • 1,140
  • 2
  • 11
  • 35
1
vote
1 answer

OpenGL mipmaps cut out?

Is it possible to cut out the last 3 miplevels, so it wont use higher miplevels than max-3 ? I have problems with high miplevels, they look really bad no matter how much i pad my textures.
Newbie
1
vote
1 answer

How to create MipMaps in SharpDX Toolkit (2.5)

i am using the SharpDX-Toolkit and can not create mimaps on a Texture2D. If i load a texture by the content manager and try to call GenerateMipMaps() i receive a NotSupportedException: Cannot generate mipmaps for this texture (Must be RenderTarget…
Michael
  • 310
  • 2
  • 7
1
vote
1 answer

What is the difference between Mipmap arrays and Level of Detail?

The textureQueryLod call returns two components: x - Tells in which proportion are mipmap levels used. y - Level of detail. Are they both same?
abhijit jagdale
  • 609
  • 2
  • 8
  • 21
1
vote
0 answers

How to workaround missing EXT_shader_texture_lod?

I've researched the topic a bit, it seems that the answer is 'impossible' on GLES 2.0 + GLSL, but nevertheless I'd dare to ask again. In my code, LOD depends not only on distance from camera (in addition, this dependency is unusual), but from camera…
1
vote
1 answer

How to create textures from large images in opengl (bigger than the MAX_TEXTURE_SIZE)

I've found that the maximum texture size that my opengl can support is 8192 but the image that I'm working with is 16997x15931. As you can see in this link, I've completed the class COpenGLControl and customized it for my own use to work with a…
Sepideh Abadpour
  • 2,550
  • 10
  • 52
  • 88
1
vote
1 answer

Can you feed an image loaded as texture as anothers texture mipmap in three.js?

This is a question, not an issue. I'm working in a terrain with atlas texture. To mitigate the color bleeding i want to feed the terrain texture with mipmaps built in an external tool. For the time being I'm using ... terrainTexture =…
1
vote
0 answers

OpenGL Mipmap Texture_2D

I am very new in openGL and I use LWJGL. I do not know how to see if "Mipmaps are working" This is how I load a Image (64x64) : private int loadPNGTexture(String filename) { ByteBuffer buf = null; int tWidth = 0; int tHeight = 0; …
kinaesthesia
  • 703
  • 6
  • 27
1
vote
1 answer

How do I detect when texture image is done loading in THREE.Mesh?

I load a 3D scene in Three.js using the ColladaLoader. I try to create mipmaps images from a mesh object texture image. The problem is that the image isn't completely loaded when I access the image width and height. Both width and height is zero…
Aycox
  • 136
  • 2
  • 7
1
vote
1 answer

Update miplevel of a texture after its creation in D3D11

In Direct 3D 11 one can create an empty texture using ID3D11DeviceContext::CreateTexture2D and update the texel data using ID3D11DeviceContext::UpdateSubresource method, specifying the required mip level to change in the D3D11_BOX structure. While…
legends2k
  • 31,634
  • 25
  • 118
  • 222
1
vote
1 answer

Ogre material lod: How do i set it up?

I have an Ogre material and, since i'm not happy with the GPU filtering, i want to make a manual mipmapping, i.e, i create all the textures, and then i set up a lod-based strategy to load the correct texture. The problem is: it doensn't matter…
tkcast
  • 391
  • 3
  • 20
0
votes
1 answer

OpenGL - Copy texture from screen smaller than that screen

I'm trying to capture the screen to a texture with a lower resolution than the screen itself (to render back onto the screen and create a blur/bloom effect), and it doesn't work quite well. I understand mipmaps can be used to do this, but I just…
zaratustra
  • 8,148
  • 8
  • 36
  • 42
0
votes
1 answer

MipMap texturing in OpenGL

First I tried to read in a ppm file and use that for my texture, however I wasn't sure if that is where my problem lies (in reading files). So I hardcoded a small 4x4 image (random colors) and used that. I still cannot get it to work. Does anyone…
jaiesh
  • 146
  • 2
  • 12
0
votes
1 answer

Vulkan: Compressed image formats and mipmapping

I am currently grappling with the computation of mipmaps for block compressed formats (BC7) in Vulkan. The limitation with these formats is that the size of the block compressed texture needs to be a multiple of 4. While I can comfortably make this…
wilson
  • 1
  • 1
0
votes
1 answer

best way to mipmap on jax

this is not really a question, but rather I was wondering if anyone has a better way of doing an occupancy grid in Jax (or in another language) for a 3D grid. Here is some working code, does anyone has a better solution (or any problems with my…