Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

texture puzzle from a building thread

Malachi Petunia
Gentle Miscreant
Join date: 21 Sep 2003
Posts: 3,414
01-15-2007 16:25
Elsewhere I wrote:
From: Me
A poster above used the example of a textured soccer ball. I did some fooling around in phsop to try and make such a texture but ran into the "orange peel" problem. That is, a soccer ball exterior is composed of regular, tiled pentagons which works fine on a sphere but doesn't tile on a pshop plane. Yes, I know that there would be problems with the texture mapping onto a sphere but just can't even begin to figure where to start.
This is just a curiosity as I have no intention of making one, but I thought the texperts here might have some insight.
_____________________
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
01-15-2007 17:10
Well, it was my soccer ball example...

Obviously, SL uses some function that takes each point of a 2D texture and maps it to the surface of a sphere. We need the opposite. Given two circles representing the front and back of a sphere, map them to a rectangle.

It's just math 8-) I am not a texture expert, but I am guessing there are plugins that do this, or even that PSP already has a command for it.
Malachi Petunia
Gentle Miscreant
Join date: 21 Sep 2003
Posts: 3,414
soccer balls are not pentagons!
01-15-2007 17:14
In the other thread someone pointed out that soccer (football) balls were pentagons and hexagons.

From: Malachi Petunia
Thanks for the tip; shows you how many times I've seen a soccer ball :)

The problem is geometry - or tessellations. You can tile a plane with squares, rectangles, triangles or heaxagons. I know you can't with pentagons and am unsure about pentagons and hexagons.

The reason I called it the "orange peel" problem is that you cannot lay an orange peel flat on a table, nor can you take the skin off a globe and lay it flat
_____________________
Renee Roundfield
Registered User
Join date: 10 Mar 2006
Posts: 278
excellent soccer texture
01-17-2007 02:01
and an explanation about how it was done
http://forums.creativecow.net/cgi-bin/new_right_read_post_frame.cgi?forumid=2&univpostid=887834&postid=887838