Jump to content

  • Log In with Google      Sign In   
  • Create Account


seamless tiling of UV's


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 proanim   Members   -  Reputation: 437

Like
0Likes
Like

Posted 23 October 2013 - 10:45 AM

Can someone explain what is 'the most optimal' way of tiling uv coordinates on a model?

 

I wan't this to be reliable enough to not produce seams or artifacts of any kind since all my models will use diffuse/normal/specular maps. I do know UDK and id tech has this in more complicated/advanced way, and I think that it might be overkill for me to do it that way.

 

So I was thinking of simply tiling uv's every time when object is scaled, for example 2x, 3x, 4x, etc. UV's would be tiled for number of times object was scaled compared to it's original size.



Sponsor:

#2 Krohm   Crossbones+   -  Reputation: 2968

Like
1Likes
Like

Posted 24 October 2013 - 01:51 AM

I always built uvs by just using a thing like that:

(u,v) = f(x, y, z)

Yes, pure function. It will work under the following assumptions:

  1. Your vertex values are unique (shared vertices collapsed);
  2. No "spurious" vertices;
  3. Texture actually tiling.

So, if you have "seams or artifacts" I'm inclined to believe at least one of the preceding requirements are not met.

It would be nice to know what those "seams or artifacts" look like as a  start!

I think the most common problem is missing (1). This will cause small floating point inaccuracies at best and just different results in other cases. Are you 100% sure the input dataset is correct?



#3 proanim   Members   -  Reputation: 437

Like
0Likes
Like

Posted 24 October 2013 - 01:22 PM

Ok thanks, it took me awhile to find out that my math was slightly off, since i also used what is practically the same function.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS