Author : Lonewolf


Reply
Reply
 
Thread Tools Display Modes
Lord Fryingpan's Avatar
Old (#1)
I recently had an idea, but I'm not sure it's very usefull or even clever.

Here is the deal : when you texture sphere-like objects, there is a large loss of texture space due to polar tris, and distorsion. So I thought : why not model a sphere from a box, and make each side of the box cover the entire texture space. The texture would reeat six time on the sphere, but there would be less deformation and much better resolution for the texture.




While allowing a texture to tile on a flat surface is no problem, texturing a cube began to be mind boggling... It cobe posible to make sure each side of the textue would tile to with the other three, but I wasn't quite sure the result would have been worth it, so I looked for a way to make each side to tile with only one other side



Solution was the following : side A would tile with B, and C would tile with D reversed. Once smoothed, the cube turns into a sphere, and the texture tiles just fine.

Problem now : I'm pretty sure someone has thought of this before me, and I'm pretty sure this is totally useless.

Any thought ?
Offline , spline, 111 Posts, Join Date Jan 2010, Location Angoulême, France  
   Reply With Quote

Eric Chadwick's Avatar
Old (#2)
Kind of hard to follow your ABCD notation. It looks like you have 5 unique textures in the last example, is this correct? If they're unique then you're not really tiling.

One solution to this is to mirror-tile a single texture. But you still get the butterfly rorshach effect along the edges. And the artifacts are not really worth the savings in texture space, unless you're working with a very clean texture pattern.
What's an 8-sided tiled texture ?

Some methods for UVing spheres here.
http://wiki.polycount.com/TextureCoordinates
Offline , Polycount.com Editor, 6,765 Posts, Join Date Oct 2004, Location Boston USA  
   Reply With Quote

Lord Fryingpan's Avatar
Old (#3)
Quote:
Originally Posted by Eric Chadwick View Post
Kind of hard to follow your ABCD notation. It looks like you have 5 unique textures in the last example, is this correct? If they're unique then you're not really tiling.
Ah, I didn't manage to make myself clear. There is only one texture, with four sides : ABCD, clockwise. It can be either used as is, or flipped, then the order of the sides is DCBA.

On my second picture, there are three sides used in a normal way, and tree sides used flipped. A connects with B, and C connects with D flipped. Of course, it also means A flipped connects with D flipped, and C flipped conects with D
Offline , spline, 111 Posts, Join Date Jan 2010, Location Angoulême, France  
   Reply With Quote

Eric Chadwick's Avatar
Old (#4)
Have you tried this with a photosource texture? Curious how it looks.
Offline , Polycount.com Editor, 6,765 Posts, Join Date Oct 2004, Location Boston USA  
   Reply With Quote

Mark Dygert's Avatar
Old (#5)
That seems like a lot of work to generate the texture, but I think it could work pretty well if automated like for brick patterns or floor tiles ect... There might be a way to use a procedural material generator like filterforge to handle the tiling?

For when you need 100% unique you can do a tennis ball unwrap, if you are careful with the edges you can stack the UV shells. You can pack 2-4 spheres on a square sheet depending on what method you do, which comes in handy if you are creating rocks. Quadspheres also work a lot better in sculpting apps.


Taken from here: http://www.polycount.com/forum/showt...35#post1312335

Last edited by Mark Dygert; 07-10-2012 at 08:58 AM..
(AKA Vig) Portfolio | Lab | Brawl | Decker |
Offline , Polycount.com Editor, 13,966 Posts, Join Date Oct 2004, Location Seattle, Wa Send a message via MSN to Mark Dygert  
   Reply With Quote

Lord Fryingpan's Avatar
Old (#6)
> Eric Chadwick

Here you are (just a quickie) :



> Mark Dygert

Thanks for the tip, it seems indeed it's the modes efficient way to proceed.
Offline , spline, 111 Posts, Join Date Jan 2010, Location Angoulême, France  
   Reply With Quote

Angry Beaver's Avatar
Old (#7)
I made a tiling texture like this for use on rock faces, it's not just for sphere's as it can texture corners between extrudes no problem if you line it up. Getting the tiling down is the hardest part.

You need a right angle triangle cut out of your texture like this
Code:
/|
\|
Then you need to arrange it in a star shape

Code:
  /|\
/_\|/_\
\ /|\ /
  \|/
You then keep as much as possible giving you a square shape and edges that always tile with each other. The middle is obviously a mess so you clone-stamp or your weapon of choice in the middle to get the seams gone.

Actually did a quick break down from my psd file for anyone else wanting to try
I. Source
II. Make a Triangle big enough for your source
III. You'll be aranging them like this once you cut them out
IV. Use this traingle to cut out a SINGLE piece you duplicate
V. Use the original image to paint over the middle so the edges disapear
Final. contrast and extra detials
Attached Images
File Type: jpg Demo.jpg (250.6 KB, 46 views)

Last edited by Angry Beaver; 07-10-2012 at 09:56 AM..
Offline , line, 90 Posts, Join Date Jul 2011, Location Canada  
   Reply With Quote

Lord Fryingpan's Avatar
Old (#8)
Intesting technique, thanks for sharing
Offline , spline, 111 Posts, Join Date Jan 2010, Location Angoulême, France  
   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright 1998-2012 A. Risch