Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Maxon Cinema 4D Problem tiling texture around a sphere

  • Problem tiling texture around a sphere

    Posted by Stephen Kennedy on October 20, 2011 at 1:01 pm

    Hi,

    I’m trying to texture a sphere (a planet to be precise) using a number of different tiles. Initially, the sphere is broken into 8 pieces, then each piece into 4 pieces, giving a total of 32 pieces. (The reason I’m doing this is I’m taking it into Unity, which only supports maximum texture sizes of 4096×4096, and I need it to be very hi-res, so each tile is 4096×4096).
    To get each piece of the texture into place (and this is the case if I use selections on one whole sphere, or actually break the sphere into separate pieces), I have to tile each texture: 8 tiles on U, 4 tiles on V.
    The problem is that this leaves seams around the edges of each piece – although the tiling and proportions should mean that what is displayed is exactly one tile, a few pixels are stretching over.
    Example:

    I don’t understand why this is happening. I can get the extra pixels to disappear by fiddling with minuscule changes to offset and length-U and length-V, but it messes up the alignment subtly but visibly.

    Does anyone know how I might get around this?
    Or a better way to accomplish what I’m trying to do?!

    Many thanks
    S

    Stephen Kennedy replied 14 years, 7 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy