The 3D modelling process of making a 2D image representation of a 3D model, although it is typically used to refer to mapping textures to 3D objects. It is especially used in games as it is an efficient and compact way of texturing objects.

learn more… | top users | synonyms

15
votes
2answers
4k views

What exactly is UV and UVW Mapping?

Trying to understand some basic 3D concepts, at the moment I'm trying to figure out how textures actually work. I know that UV and UVW mapping are techniques that map 2D Textures to 3D Objects - ...
11
votes
1answer
3k views

How does UVW texture mapping work?

I'm trying to understand the mathematical theory behind UVW mapping. Can anyone explain me how UVW mapping works? Or at least provide me a pointer?
10
votes
5answers
595 views

Texturing an asteroid

I'm trying to texture this asteroid so it looks reasonable. I'm missing something though. Following this tutorial, I got this so far. Now I don't understand the next step: how do you resolve the ...
8
votes
2answers
525 views

What are some ways to texture map a terrain?

I'm working with XNA on a 3D Game, and I'm trying to have a proper and nice environnement. I actually followed a tutorial to create a terrain from a heightmap. To texture it, I just apply a grass ...
7
votes
1answer
273 views

Is there any difference between storing textures and baked lighting for environment meshes?

I assume that when texturing environments, one or several textures will be used, and the UVs of the environment geometry will likely overlap on these textures, so that e.g. a tiling brick texture can ...
6
votes
2answers
813 views

UV texture mapping with perspective correct interpolation

I am working on a software rasterizer for educational purposes and I am having issues with the texturing. The problem is, only one face of the cube gets correctly textured. The rest are stretched ...
5
votes
1answer
2k views

How can I prevent seams from showing up on objects using lower mipmap levels?

Disclaimer: kindly right click on the images and open them separately so that they're at full size, as there are fine details which don't show up otherwise. Thank you. I made a simple Blender model, ...
5
votes
2answers
354 views

Automated texture mapping

I have a set of seamless tiling textures. I want to be able to take an arbitrary model and create a UV map with these properties: No stretching (all textures tile appropriately so there is no ...
5
votes
1answer
104 views

UV interpolation is wrong with a wide FOV

How should I take FOV into account when interpolating UV coordinates? This picture shows the result today. Everything works fine with a narrow fov, but when I make it really wide, things deviate. The ...
5
votes
4answers
3k views

Can't understand these UV texture coordinates (range is NOT 0.0 to 1.0)

Hey, hello guys, I am trying to draw a simple 3D object generated by Google SketchUp 8 Pro onto my WebGL app, the model is a simple cylinder. I opened the exported file and copied the vertices ...
5
votes
1answer
3k views

How to correctly export UV coordinates from Blender

Alright, so I'm just now getting around to texturing some assets. After much trial and error I feel I'm pretty good at UV unwrapping now and my work looks good in Blender. However, either I'm using ...
5
votes
2answers
249 views

How can I find the right UV coordinates for interpolating a bezier curve?

I'll let this picture do the talking. I'm trying to create a mesh from a bezier curve and then add a texture to it. The problem here is that the interpolation points along the curve do not increase ...
5
votes
2answers
840 views

How to texture a surface generated by marching cubes algorithm?

I'm working on a voxel game, and I have some problems with texturing. I have read the related questions on this stack exchange, but they seem adressing a generic problem (using triplanar texturing), ...
4
votes
1answer
206 views

What uses are there for multiple UV maps on a model?

I'm trying to think of some reasons why there might be more than one UV map on a mesh. Usually I just unwrap the model, and the same UV map works for both the diffuse color texture, the bump map ...
3
votes
1answer
76 views

How do I convert a horizontal, panoramic skymap texture into a “dome” version of itself?

How do I convert the following skymap image: into a "dome" version like the one below? I'm looking towards making use of Adobe Photoshop for the task at hand. However, I'm at a loss on what ...
3
votes
1answer
301 views

Finding Pixels within UV Coordinates

I am building lightmaps for 3D models. My lightmap algorithm needs to determine which pixels( lumels ) within the lightmap texture fall within the boundary of a mesh face( triangle )...this process ...
3
votes
0answers
126 views

Rasterization Rules and States

This thread directly concerns lightmap generation; however, indirectly, the rasterization of polygons by the GPU. I am currently generating lightmaps using a pixel shader. To the shader I send 3 ...
2
votes
1answer
779 views

Drawing a textured triangle with CPU instead of GPU

I understand the benefits of GPU rendering and such, but for a certain limited application I need to render textured triangles purely using CPU. I've built a 3D engine capable of object handling, ...
2
votes
2answers
192 views

How would you UV unwrap an octahedron?

I tried to UV unwrap this octahedron, by slicing one of the sides. I was able to lay it out on the texture like this, but with severe distortions. Can someone help me UV map this without ...
2
votes
3answers
1k views

Mapping rectangular texture on trapezoid-like shape

I have a problem with rendering rectangular textures on non-rectangular surfaces. While googling, I found a thread with person having a pretty similar problem: ...
2
votes
2answers
245 views

3D position to UV coordinates in fragment shader

I am interested in converting an arbitrary 3D position computed at run time in the fragment shader to its corresponding UV coordinates. Notice that the 3D position I am interested in is NOT a 3D ...
2
votes
1answer
244 views

UV Atlas Generation and Seam Removal

I'm generating light maps for scene mesh objects using DirectX's UV Atlas Tool( D3DXUVAtlasCreate() ). I've succeeded in generating an atlas, however, when I try to render the mesh object using the ...
2
votes
1answer
2k views

Multi texturing in XNA

I am attempting to make a map editor for my game, just so I can visualize how the end result would be. To my world I can add cubes (2 triangles) or corners (1 triangle), which are then added to a ...
2
votes
1answer
631 views

XNA UV Mapping flipping the Texture every second time

I am making a tile based game. Recently I moved to drawing tiles as primitives to speed up things and also allow for easier lighting (Vertex Shader). I then took it a step further and made some ...
2
votes
1answer
308 views

Unity UV map, tint / change color of texture

I have an array of vertices with texture coordinates for a UV map in Unity: newUV.Add(new Vector2 (0, 1)); // FACE 1 newUV.Add(new Vector2 (1, 1)); newUV.Add(new Vector2 (1, 0)); newUV.Add(new ...
2
votes
1answer
492 views

Trouble with UV Mapping Blender => Unity 3

For some reason I am getting nasty grey edges around the edges of rendered 3D models that are not present in Blender. I seem to be able to solve the problem by reducing the size of the UV coordinates ...
2
votes
1answer
155 views

Texturing spherical terrain, seemingly arbitrary distortion

I'm using this algorithm to find texture coordinates on a sphere: Wikipedia UV Coordinates I get the famous seam due to the wrong interpolation, but I also get odd distortions on certain points on ...
2
votes
0answers
190 views

Blender move single UV point

Texturing in Blender and when I am moving UVs around in the UV/Image Editor I'm finding that I can't move a single UV point without moving all other UVs that are connected to the vertex. This seems ...
2
votes
0answers
359 views

Programmatically determine UVs by rotating a plane along X axis

I'm having a math brainfart while trying to solve what might be a simple problem. I've got a plane in 3d space (it's actually the face of a 10-sided die): Coordinates [x,y,z]: Point_top = [0,0,1] ...
2
votes
0answers
1k views

Interactively edit UV mapped, textured mesh in Cinema 4D without distorting texture?

I'm fairly new to Cinema and I'm building a rigged flat (2d) character out of illustrated pieces. I want the meshes to have an efficient number of polys but sufficient resolution where they'll bend ...
1
vote
1answer
367 views

How to compute tangent and bitangent vectors

I have a texture loaded in three.js, then passed to the shaders. In the vertex shader I compute the normal, and I save into a variable the uv vector. <script id="vertexShader" ...
1
vote
1answer
121 views

UV Coordinates of “curve” (or “bend”)

I am looking for some tutorial or equation how to map texture from square to "curve" or "bend". (Example on image below) I have tried to convert coordinates of unit circle to UV, but that gives me ...
1
vote
1answer
81 views

Variable sized cube texture stretching problem

I have a 1x1x1 cube made in Blender with a simple UVW mapping. It represents a 3D platform of variable size. The thing is that this cube gets resized a lot, and I want to draw a "border" of a ...
1
vote
1answer
132 views

UV Mapping Problems

I'm creating an alien in blender, doing my best to base it on the guys from toy story. When I create the UV Map and colour it, import it back in then take a look at it in a seperate window there is ...
1
vote
2answers
791 views

Optimizing UV Map Sheet Based On Surface Area?

I am trying to get my UV Map Sheets Optimized Based On Surface Area , I need Them optimized cause my scene area is huge and i want to use them in UDK so i am trying to get maximum possible ...
1
vote
1answer
185 views

Skeletal Animation with UV seams

I have a UV-mapped model that I am about to animate and load into my game. Like most unwrapped models, I have several UV seams. In order to render the model correctly, I split each vertex along the ...
1
vote
1answer
345 views

UVW Unwrap multiple quads on same texture space automatically

I've been looking around the web for the answer to this question, but to no avail. So here I go. I'm looking for a way to automatically map several quads on the same texture space (for example (0,0) ...
1
vote
1answer
274 views

What to do to UV coordinates, when swapping Z/Y coordinates (axis) of the geometry?

In my Maxscript exporter I have the ability to flip the Z/Y axis by simply swapping the Z and Y co-ordinates. When swapping the axis this way, what is the correct thing to do to the UV coordinates? ...
1
vote
1answer
49 views

Is it okay for UVs to touch border?

As a matter of habit I always shrink UVs to just below the full texture space, even for single island things like sprites. Can I have my UVs touching the actual border or is this bad practice?
1
vote
1answer
2k views

Texture atlasing in Unity

I'm researching new ways to optimize games for better performance. Currently I am working on texture atlasing, which is giving me a hard time. I made the atlas using Texture2D.PackTextures and saved ...
1
vote
1answer
334 views

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 ...
1
vote
1answer
2k views

Exporting UV coords from Blender

So I have searched on google and various other websites but I've not found an answer. The only ones I did find did not work. So my question is how do I get UV coords from blender (2.63)? Currently ...
1
vote
1answer
139 views

Map displacement transformation to texture space?

I am trying to displace geometry in object space without giving the appearance of texture warping. My idea is to displace the UV lookup by a relative amount to the geometry displacement. Any ...
1
vote
0answers
64 views

Sphere Texture Mapping shows visible seams

As you can see from the above picture there is a visible seam in the texture mapping. The underlying mesh is a geosphere based on octahedron subdivisions. On that particular latitude, vertices have ...
1
vote
0answers
172 views

Unity : shader that uses mesh.uv to tile texture atlas and mesh.uv2 to tile light atlas

I'm using a texture atlas and a light atlas to tile a mesh. I have the texture atlas working fine. I can apply textures and create a sort of tile map on my coded mesh. At the moment I'm using the ...
1
vote
0answers
80 views

Wrong UV mapping when using small textures and positions

I am using a really small texture (64x64) and when I use it as a UV map on my mesh, there are some incomplete lines from the color of the other side of the UV map rendered as well (in this case, ...
1
vote
0answers
113 views

Bad texture on model with different GPU [closed]

I have some kind of distortion on the texture of my 3D model. It works perfectly well on an AMD GPU, but when testing on a integrated Intel HD graphics card it has a weird issue. I don't have a ...
1
vote
0answers
76 views

Organize different layers of repeating texture

I'm using Blender for creating assets for a 3D video game (FPS). Particularly i have to create a long wooden fence and i'd like to use one 700*700 texture for the entire fence so different part of ...
1
vote
0answers
203 views

Getting UV maps from UDK?

I have created a map using UDK and I am exporting it as a .fbx for use within an XNA project. My question is, can I generate a UV map for texturing the map or is there an easier way to texture a map ...
1
vote
0answers
99 views

Blender 2.6: UV-Matching on Non-Image-Textures

Situation: I want to model a piece of wood in Blender (2.63.0). In order to do this I use a set of Noise and Clouds textures on a brown material. But these textures are warped and shown in the wrong ...