|
![](/i/fill.gif) |
It's a bit complicated to explain, and my code is so
terrible that I don't dare post it. Briefly, I thought
of the problem as lining the interior of a dome with
rows of tiles. So, I used trigonometry to calculate
the X and Y position of one endpoint of each row and
then rotated the tiles around the Y axis. The number of
tiles in each row was calculated by taking the
circumference of the circle defined by the end points
and dividing it by the size of the tile. I then
rotated each tile to the proper angle. Seems like
a lot of work for just this effect and I wonder if
there is not an easier way ...
Aaron
Aaron Gillies
New York City
x3rxes[^]yahoo.com
George Pantazopoulos wrote:
> Thats pretty amazing Aaron, how do you get tiles to line an arbitrary
> surface like that? And with a pattern no less?
>
> George
Post a reply to this message
|
![](/i/fill.gif) |