Texture mapping is a method for adding detail, surface texture (a bitmap or raster image), or color to a computer-generated graphic or 3D model.
Questions tagged [texture-mapping]
971 questions
5
votes
1 answer
How to use OpenGL LOD in Texturing?
How do GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD and LOD_BIAS work?
To check it visually, i have created 6*6 texture with mipmapping and for values > 0.5 for MIN_LOD I get a 3*3 texture irrespective of values for MAX_LOD. If I change LOD_BIAS it does…

debonair
- 2,505
- 4
- 33
- 73
5
votes
0 answers
UV/Texture Mapping in Python
I have on quick question. I want to know if it is possible to perform UV/Texture mapping within python. I know I would probably need to import a module or two. But I haven't too many examples of how to perform UV/texture mapping in python.
If it…

user1750948
- 719
- 2
- 10
- 27
5
votes
1 answer
Procedural / Dynamic colouring of a skybox in OpenGL
I have been developing an application that needs to render a procedural sky, what I mean by this is that the sky has a day night cycle that changes depending on what time it is within the simulation.
I have seen a method somewhere in the past where…

xyz
- 396
- 3
- 10
5
votes
1 answer
Opengl Geometry shader integer texture fetch fails
I'm trying to sample an integer texture from my geometry shader running on a GeForce 330m. It seems to return other values than I load into the texture. I use this code (basically) for creating and loading the texture:
glGenTextures( 1, &textureId…

dascandy
- 7,184
- 1
- 29
- 50
4
votes
2 answers
Mapping a texture to a mayavi mesh
I'm using mayavi in python to visualize some data. I have a surface in 3D space and I want to map an image to it. I have looked at mayavi documentation and all I could find was this, which really doesn't help me much. Has anybody done something like…

katrasnikj
- 3,151
- 3
- 16
- 27
4
votes
1 answer
How to map a photo onto 3D surface in PHP?
I'm working on product customization webapp and I ran into problem how to map user uploaded images or texts onto complex 3D surfaces in my website back-end. It is easy to apply simple skew and there are libraries for that I looking for something…

ainla
- 529
- 9
- 23
4
votes
2 answers
GL_TEXTURE_2D_ARRAY in OpenGL ES/WebGL?
I have an application in mind that would greatly benefit from the use of array textures. However, I have not been able to determine whether array textures are available in the current WebGL specification and/or in OpenGL ES 2.0, on which WebGL is…

drxzcl
- 2,952
- 1
- 26
- 28
4
votes
1 answer
GLSL passing texture coordinates from vertex shader
What I'm trying to accomplish: Drawing the depth map of my scene on top of my scene (so that objects closer are darker, and further away are lighter)
Problem: I don't seem to understand how to pass the right texture coordinates from my vertex shader…

Fault
- 1,239
- 4
- 14
- 18
4
votes
1 answer
JavaFX 3d Sphere - texture mapping saving proportions?
I am trying to have a JavaFX 3D Sphere, textured with a texture of the earth. The texture is this one (from Wikipedia, an equirectangular projection):
The sphere is rendered as follows:
You can clearly see that, at the poles, the texture is not…

Dario
- 86
- 4
4
votes
1 answer
Painting difuse texture in javafx?
Is there a way to paint a 3d texture on a 3d surface like blender ?

Giovanni Contreras
- 2,345
- 1
- 13
- 22
4
votes
2 answers
Qt 3D: How to draw a cube with different textures on each face?
I'm new to Qt 3D (C++), and while I'm training with my first 3D app, I couldn't achieve the following:
Creating a cube with 6 different textures on each face... Until now, this is what I've tried:
// Cuboid shape data
Qt3DExtras::QCuboidMesh…

Osama
- 324
- 3
- 11
4
votes
2 answers
OpenGL texture format, create image/texture data for OpenGL
Ok so I need to create my own texture/image data and then display it onto a quad in OpenGL. I have the quad working and I can display a TGA file onto it with my own texture loader and it maps to the quad perfectly.
But how do I create my own…

Jackbob
- 61
- 1
- 6
4
votes
6 answers
How do Google Maps do their panoramas?
How do Google Maps do their panoramas in Street View?
Yeah, I know its Flash, but how do they skew bitmaps with Correct Texture Mapping?
Are they doing it on the pixel-level like most Flash 3D engines?, or just applying some tricky transformation to…

Robin Rodricks
- 110,798
- 141
- 398
- 607
4
votes
2 answers
How to project a 2D image as a surface in a 3D scatter plot (in R)?
I'm working with 3 dimensional coordinates data, which i'm plotting in a scatterplot, i have ~30.000 datapoints, and i've included the first 10 here so that you can reproduce it
library(rgl)
library(plot3D)
library(car)
df <- data.frame(meanX =…

Kári Gunnarsson
- 98
- 1
- 12
4
votes
1 answer
Switching to glTexImage3D from glTexStorage3D
glBindTexture(GL_TEXTURE_2D_ARRAY, texture_id);
glTexStorage3D(GL_TEXTURE_2D_ARRAY,
1, // No mipmaps
GL_RGBA8, // Internal format
width, height, // width,height
1 …

Maik Klein
- 15,548
- 27
- 101
- 197