Questions tagged [uv-mapping]

UV mapping is the 3D modeling process of making a 2D image representation of a 3D model.

286 questions
0
votes
0 answers

Transforming Simplex Map for UV mapping on a sphere

I would like to dynamically generate a simplex-based image that will map nicely on a sphere in three.js, however I'm having problems with distortion at the poles. Here is the initial map code: def…
0
votes
1 answer

UV Mapping in Blend for Visual Studio

I'm trying to use a model that I created in Blender in a WPF application. In Blender everything works/looks great. When I export to .OBJ the UV mappings are completely lost, resulting in the textures being applied incorrectly. I've read up on UV…
Patrick Dench
  • 813
  • 2
  • 9
  • 27
0
votes
0 answers

How to correctly submit data with stride parameter

i'm trying to render some mesh with a single texture on it, and the result is weird maybe because the stride parameter of the UVs data are incorrects. i have omitted glGenBuffers and binding calls. i have data packed in this manner: float…
freesoft
  • 57
  • 7
0
votes
1 answer

Automatic UVMapFlat for Three.js

Anybody made automatic flat uv mapping for Three.js base only on (any) geometry ? function uvFlat(object) {object.geometry.faceVertexUvs[0] = [?]}; I don't care matrix orientation. I just need default flat mapping like 3dS Max, where you choose…
potomek
  • 672
  • 7
  • 4
0
votes
1 answer

Mayavi and Texture Mapping (or turning a 2D image into a 3D image)

I have a project where I have a 2D image but I need to then turn this into a 3D object. I already have the skeleton model of the object, it is a simple matter of applying color to the surface. I have been looking around and it seems 3D programs…
user1750948
  • 719
  • 2
  • 10
  • 27
0
votes
1 answer

How to set up UVs for Texture borders

I'm generating a plane that is able to scale without the edges of the texture being affected pixel wise. The plane needs to be able to keep its border proportion but be able to stretch to almost any size. The mesh has 8 vertices and 10 triangles to…
Fornoreason1000
  • 395
  • 3
  • 9
0
votes
1 answer

Splitting 2-Dim loop into multiple threads

My algorithm computes the vertices of a shape in 3-dimensional space by using a 2-dimensional loop iterating over the U and V segments. for (LONG i=0; i < info.useg + 1; i++) { // Calculate the u-parameter. u = info.umin + i * info.udelta; …
Niklas R
  • 16,299
  • 28
  • 108
  • 203
0
votes
1 answer

how use mapping uv in three.js

I use a wood texture image in my model. by default my texture is stretched on the model you see this on woodark. When I changed the repeat the texture is more stretching and I are not understand why. I search to undertand how to use right the…
Laurane Bernard
  • 209
  • 1
  • 2
  • 10
0
votes
1 answer

Button class in Android OpenGL with TextureBuffer Pointer

I am creating a button class that will display a blue circle if it is not being pressed and a red circle if it is being pressed. I start by building a 4 vertex quad composed of two triangles. I generate my own bitmap and draw two circles on the…
Matthew
  • 3,886
  • 7
  • 47
  • 84
0
votes
1 answer

OpenGL Texture not showing up

When I create my cube, and I try to apply a texture to it, the texture is not applied but opengl returns a black cube, the texture is showing as a black color. I'm using QT, here is the code: (I'm using QT) Create Texture Function: GLuint…
Spamdark
  • 1,341
  • 2
  • 19
  • 38
0
votes
1 answer

OpenGL ES2 Android - Mapping 2D Textures to a GL_TRIANGLES cube

I am trying to map a 256*256 texture onto a cube. When i do so, the front and rear faces are as expected, the left and right faces are inverted in the z direction and the top and bottom faces are "smudged" into a repeating blur. This issue im having…
0
votes
1 answer

How would I get this to UV map correctly?

Alright so I have my code to draw out a big landscape using C++ and DirectX. I had it textured with one texture and then needed to add more. I saw people doing it where they had 1 texture image and the image contained 2 textures. Thats what I made,…
dvds414
  • 143
  • 1
  • 9
-1
votes
1 answer

Weird artefact while rotating mesh uvs

I created a Unity sphere and applied standard material with albedo texture. Now I'm trying to rotate mesh uvs (it looks like this is the simpliest way to rotate the texture) Here is the code using UnityEngine; public class GameController :…
Taras Kohut
  • 2,505
  • 3
  • 18
  • 42
-1
votes
2 answers

how do i set UV coordination from Texture value without noise in HLSL

i have UV render pass ( RG image ) i want to set the uv pass texture value to UV Coordinate without noise when i test it the result should pixlate noise like the below image i have tested it in other shader languages like cgprogramm and…
ehsan wwe
  • 71
  • 2
  • 9
-1
votes
1 answer

Cinema 4d export to Illustrator with texture

I need little help with exporting from Cinema 4d to illustrator. The idea is I want to use body paint in c4d and then I want to export to Illustrator the model with my body paint work (not just grey model). Is it possible? The Idea is I create 3d…
BigApp7e
  • 11
  • 1
  • 3
1 2 3
19
20