UV mapping is the 3D modeling process of making a 2D image representation of a 3D model.
Questions tagged [uv-mapping]
286 questions
0
votes
1 answer
How can I calculate uv coordinates for vertices if I know the vertex coordinate of my texture on a plane
I'm trying to map a texture on a plane, I know the vertex coordinates for the texture, and the coordinates for the 4 vertices. Then how can I calculate the uv texture coordinates for the 4 vertices?
Here's a picture to show you what I'm trying to…

Zhiqiang Li
- 401
- 7
- 16
0
votes
1 answer
UV mapping in blender not showing properly when unwrapping
I am trying to uv map a cube in blender 2.74, but even though all six faces are placed on the image on the left hand side, only two of them actually show on the cube on the right hand side. I have tried unwrapping in different ways and moving the…

Matt Majic
- 381
- 9
- 18
0
votes
1 answer
How to do UV mapping on a ThreeJS sprite R71
All the examples that I can find use UV mapping on meshes. Are there are examples of UV mapping a sprite? I'm trying to map one fourth of a texture image on a Sprite.

Max Strater
- 540
- 6
- 17
0
votes
2 answers
GLSL UV (vec2) coords Optimised-out
I'm writing an application using OpenGL 4.3 and GLSL and I need the shader to do basic UV mapping. The problem is that GLSL compiler seems to be optimising-out the UV coordinates. I cannot access them from the application side of things.
Vertex…

Dave
- 9
- 2
0
votes
2 answers
Mimic OpenGL texture mapping on CPU for reprojection
I'm trying to code a texture reprojection using a UV gBuffer (this is a texture that contains the UV desired value for mapping at that pixel)
I think that this should be easy to understand just by seeing this picture (I cannot attach due low…

Frank Escobar
- 368
- 4
- 20
0
votes
1 answer
Why is my three.js model missing faces after import?
I've been fighting with a three.js issue for a few 12 hour days trying to determine why some outward pointed object faces are missing. It only seems to happen if I've modified the mesh model, extruded a plane, or knife projected a hole into a mesh.…

Jay McVety
- 186
- 1
- 2
- 17
0
votes
1 answer
UV texture mapping on a webpage for realistic product preview
I need to provide clients with a realistic preview of the product they are buying online. They select a certain fabric for, say, a shirt, and that specific pattern is projected (mapped) onto a 3D model of the shirt, so they have an idea of how the…

SenhorLucas
- 1,337
- 12
- 12
0
votes
0 answers
How to apply color to an irregular polygon with unknown indices?
I'm having a set of vertices (X,Y) of an irregular polygon, some having 4 vertices and some more than 4. I'm creating an array of vertices for drawing from the set of vertices I have using the getTransformedVertices() method. The indices and UV for…

ElamParithi Arul
- 377
- 1
- 11
0
votes
0 answers
OpenGL texture and UV mapping issue
I am currently trying to make a little game in OpenGL as an attempt to learn how to use the API. I've come to a point where I can move a camera around a simple scene, and I can render models and shade them with a simple phong model shader.
I'm right…

user1291510
- 265
- 5
- 14
0
votes
1 answer
Blender - Export .obj with normalized UV Coordinates
I want export .obj files from Blender. I export them with normals and UV Coordinates. I then import them into an OpenGl application. In UV Editor I am able to display the coordinates of the cursor normalized. My Problem is that I need to export them…

Geosearchef
- 600
- 1
- 5
- 22
0
votes
0 answers
Geometry Shader Quad Post Processing
Using directx 11, I'm working on a graphics effect system that uses a geometry shader to build quads in world space. These quads then use a fragment shader in which the main texture is the rendered scene texture. Effectively producing post process…

Jester
- 51
- 1
- 5
0
votes
1 answer
How to locate texture on sphere in jME3?
I would like to place JPEG texture map on sphere. It works for me, but I want to rotate texture by 180 degrees. I.e I want image to start not from zero UV coordinates, but earlier.
UPDATE
I have tried to reassign texture coordinates of a sphere.…

Suzan Cioc
- 29,281
- 63
- 213
- 385
0
votes
1 answer
three.js plane buffergeometry uvs
I'm trying to create a buffergeometry plane, I'm having troubles with the uv coordinates though. I've tried to follow Correct UV mapping Three.js yet I don't get a correct result.
The uv code is below. I also saved the entire buffergeometry code at…

Doidel
- 1,743
- 1
- 14
- 22
0
votes
1 answer
J3D - How to use a UV mapping of an object to convert 2D coordinates to 3D ones
I am currently working on trying to convert 2D coordinates to 3D ones.
Basically, I have the texture in 2D and I would like to be able to show on a 3D object, having the same texture applied to it, where I am pointing at.
Let's say I have the 2D…

N3sh
- 881
- 8
- 37
0
votes
0 answers
Three.js incorrect texture mapping orientation
I'm trying apply a simple texture mapping to a cube, but when the texture is applied it's rotated 90° CCW.
Just for my tests I'm using the same uv mapping for all faces:
window.head = function(){
var txSplitX = 1/64;
var txSplitY = 1/32;
…

Guillaume
- 59
- 6