Quantcast
Channel: Question and Answer » uv-mapping
Browsing all 11 articles
Browse latest View live

UV map data structure

I’ve received a few instructions on what kind of usage UV maps allows, and currently try to understand how it works. However, I can’t figure out what kind of data there is inside a UV map. Googling...

View Article



How to to convert UV coordinates to texel coordinates and how to convert...

I am currently writing a UV texture mapper. But i don’t know how to convert UV coordinates to texel coordinates. And i also have no idea how i should convert texel coordinates to “array coordinates”....

View Article

Formula to measure uv-mapping distortion

Does anyone know a simple way of calculating (offline) the amount a texture is distorted when mapped to a triangle like the following? Vertex Position UV Coordinates A (Ax, Ay, Az) (Au, Av) B (Bx, By,...

View Article

Image may be NSFW.
Clik here to view.

Multi texture obj files? [closed]

Im downloading some free 3d models off the internet to test things in my game. When I download the package, it gives me a bunch of texture files and the obj model. What I dont understand is what I do...

View Article

3dsMax to Mudbox – Import Warning: UV not a complete set

I’m exporting my 3dsMax model to Mudbox. The import gives me a warning that the UV set is incomplete. First, what does this mean? That I haven’t got all the UVs unwrapped? Web searches have brought...

View Article


Unity, Cannot change a single Vector2 element of mesh.uv?

I have a simple procedurally generated mesh, with uvs that tile correctly for(int i=1; i<vertices; i++) { uv[i] = new Vector2(x,z); //pseudocode } mesh.uv = uv; This works fine. However if I later...

View Article

Image may be NSFW.
Clik here to view.

How do I wrap an image around a sphere?

Ideally I’d like a reference of the math involved, so I can start breaking down the problem. The simplest thing I can deduce about this problem is that the part of the sphere that the user is currently...

View Article

Image may be NSFW.
Clik here to view.

Why are my OpenGL textures warped?

I am writing a graphical program using OpenGL for rendering, Assimp for mesh loading and SDL for window etc, but also image loading. As can be seen in the image, the white outlines at the left of the...

View Article


Image may be NSFW.
Clik here to view.

Get fragment from mouse position

I have a painting app for texture artists that I am working on. I am able to paint to a flat canvas that updates the texture of a 3d object in an object viewer. Now I want to be able to paint directly...

View Article


Image may be NSFW.
Clik here to view.

What is the performance impact of rendering a larger quad?

Lets say I have two planes and I textured them in blender with a 512*512 tiled texture. One plane is bigger than the other (for example, one plane tiles the texture 60 times but another only six...

View Article

Image may be NSFW.
Clik here to view.

How to implement Index Buffer Object (IBOs) with texture coordinates in OpenGL?

I was using IBOs to render meshes (for example a cube) from wave-front files (.obj), without texture coordinates or normals, in OpenGL. Following this, I attempted to implemented texturing. The mesh...

View Article
Browsing all 11 articles
Browse latest View live




Latest Images