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
Shader flips output image
I have been struggling to figure out the problem behind why my images sometimes end up flipping once the shader has run and output the result.
I take in position and normal images into my shader to perform basic lighting calculations. The position…

Krellex
- 613
- 2
- 7
- 20
0
votes
1 answer
How to define the area of the texture to apply to a face
I have a cube made with Three.JS and I want to apply a part of a texture on each face.
Concretely, I am looking for a function taking 4 parameters: x1, y1, x2, y2 specifying the area of the texture to apply to the face.
For example, with input [1,…

Oromis
- 196
- 2
- 13
0
votes
1 answer
Reading Lightwave LWO binaries, UV problem
Okay, so I'm trying to make CSHARP Lightwave 3D model converter to convert my LWOs into a Javascript object. So far I have the guts of the program working, and I'm please. But I've run into trouble with exporting UVs from the binary file.
This is my…
0
votes
1 answer
THREE.js ShaderMaterial UV wrapping issues on SphereBufferGeometry
I'm trying to wrap a SphereBufferGeometry with a ShaderMaterial where I'm using noise to resemble the surface of Jupiter, but it's wrapping very oddly to the sphere geometry. All of the animated texture appears in a thin belt around one of the lines…

JamT
- 1
- 1
0
votes
1 answer
Simple Texture Mapping for a generic triangle mesh
Suppose that we have a triangle mesh without information about normals and texture coordinates.
(Basically an OBJ file with only vertices and face elements).
The objective is to show something decent using Opengl with a program written in C.
To…

peppone
- 85
- 6
0
votes
0 answers
Calculating UV Mapping Texture Atlas on Cube in OpenGL
I've been reverse engineering a MineCraft application in C, built with OpenGL. If you are unaware, the game involves the generation of cubes, UV Maps textures to the cubes, and then they are placed in the world that you (generally) add to, and…

luminol
- 407
- 4
- 15
0
votes
0 answers
OpenGL: Large texture 'maps' versus multiple singular textures performance
I'm deciding if I want to create a map of multiple textures of my entire scene into several 1024x1024 texture atlases. Is it much of a gain at all to have fewer, larger textures so that you can make less GL render calls, albeit with the same number…

Kalen
- 3,106
- 8
- 29
- 42
0
votes
1 answer
Blender Texturing doesn't show up correctly after repeatedly baked on it even though UV-Mapping fits perfectly
The problem occurs, when I baked lightings & reflections via Principled-BSDF (Cycles) on an "Image Texture"-Node repeatedly. The first times I get excpected solutions and then suddenly the mesh seams to be broken as it keeps showing future bakings…

Nico
- 1
- 3
0
votes
1 answer
Get used UV tiles of a Polygonal Mesh
Background info
Polygonal meshes use UV sets to map image textures to their surface. Using UDIM textures you can use integer tiles to apply different textures as within what integer bounds the UV tile is, e.g. tile [0, 0] can have a different…

Roy Nieterau
- 1,226
- 2
- 15
- 26
0
votes
0 answers
Unfolding 3D triangulation surface into planar 2D plot
After a transformation in polar coordination and a triangulation with matplotlib (Triangulation function), I obtain my figure (it's empty inside) in 3D (mpl_toolkits.mplot3d.art3d.Poly3DCollection).I followed this good example. Now, I would like to…

ermanno
- 1
0
votes
1 answer
HEALPix with texture UV mapping
I found an implementation of the HEALpix algorithm this is the dokumentation
And the output looks very nice.
The following images show the latitude / longitude conversion to HEALpix areas.
The x-axe goes from 0 to 2 * pi. The y-axe goes from 0 to…

Thomas
- 2,093
- 3
- 21
- 40
0
votes
1 answer
OpenGL 4 - UV Coordinates for Triangle Strip Cube
I have a cube made with a triangle strip, and I am trying to find the UV coordinates for it.
vert = new VBO(new Vector3[] {
new Vector3(1, 1, 1),
new Vector3(0, 1, 1),
new Vector3(1, 1, 0),
…
user11494366
0
votes
0 answers
Can texture coordinate (uv) be negative?
I have 3D rectangles representing walls in a room but only a part of these walls is seen inside the photo that I want to use as a texture for the rectangles.
To map the texture, camera projections of the vertices of the rectangle are used as the uv…

Ajay
- 360
- 1
- 11
0
votes
0 answers
Discrepancies in uv coordinates of a ShapeBufferGeometry on three.js
I'm generating uv coordinates in 2d ShapeBufferGeometry in the way I've seen in three.js source code, but something must be missing. I can't find a reason but, for some shapes, the points I calculate are "kind of" in the reverse order, in respect to…

Duma - Stefano Gombi
- 472
- 1
- 4
- 15
0
votes
0 answers
maptalks.three buildings texture
I'm trying to apply a texture of a little window repeated to the buildings I get from the example code:
https://maptalks.org/maptalks.three/demo/vectortilelayer-mvt.html
What I would like to do is to have one window (png 64x64) repeated in the…

sl252020
- 1