Home Technical Talk

Triangles Skewing Textures

polycounter lvl 7
Offline / Send Message
Geta-Ve polycounter lvl 7
Hey Guys!

I know I must be stupid for not knowing this, but could anyone explain to me exactly why this effect is happening?

wip_003.png


I mean, I know the triangles are causing the texture direction to change, but, why? The surface is completely flat and my UV's are pretty decent. In the end the two triangles make a rectangle, so should the texture display as I've drawn it?

I have done a couple of rudimentary searches on the forums here, but I am kind of at a loss for what search terms to use.

I also know that I can fix this by placing a dividing loop down the center of the object, but this is not always possible. Especially with low polygon requirements.

I really appreciate any help and information that you guys and gals can lend.

Cheers!

Replies

  • rube
    Offline / Send Message
    rube polycounter lvl 17
    What do your UVs on those sections look like? Are they square or trapezoidal like the object shape? If the UVs are the same shape at the object you shouldn't get distortion like that in the viewport.
  • equil
    you've got a case of affine texture mapping. you can change this to perspective correct texture mapping in a few tools but i have no idea what you're using so i'm not sure what to say.

    the explanation for it is pretty math-y with matrices and stuff and way over my head but the gist, from what i understand, is that the program pretends that every triangle is a parallelogram that maps to a rectangular area. so any triangle that isn't "right" (ie has a 90 degree corner) is going to look bent this way.
  • Geta-Ve
    Offline / Send Message
    Geta-Ve polycounter lvl 7
    @rube: UV's are squared (rectangle) for easier painting, though it shouldn't really affect it in this manner.

    @equil: Hmmm. Googling ATM shows me that you are indeed correct. What part of the process defines how these textures are displayed? I used a mix of Maya and 3D Coat to map the UV's, photoshop to paint the textures and Maya / Marmoset to display them.

    I am really not sure at what stage I am mucking things up. These are definitely not the results I am looking for ... :(

    I really appreciate your help in this. :)

    EDIT: Also, it really doesn't matter what software I view the model + texture in, the results are the same ... :S
  • Geta-Ve
    Offline / Send Message
    Geta-Ve polycounter lvl 7
    Hey there! :)

    Hope everyone's weekend was great. Any updates on this would be fantastic.

    Cheers!
  • rube
    Offline / Send Message
    rube polycounter lvl 17
    Having your UVs not match your geometry is exactly why this is happening. It's a balance issue, do you want it easier to paint or do you want it to look correct.

    uvs.png
  • Mark Dygert
    Yep, I agree with rube, I think he nailed it.
Sign In or Register to comment.