|
|
Steven Jones wrote:
>
> The new game 'The Sims' from Maxis lets you use BMP files as wallpaper in
> the character's homes. Does anyone know how to use POV-Ray to generate a
> seamless pattern for this purpose?
Chris Colefax has a seemless texture tiling macro available at:
http://www.geocities.com/SiliconValley/Lakes/1434/
--
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
|
|
Steven Jones wrote:
> The new game 'The Sims' from Maxis lets you use BMP files as wallpaper in
> the character's homes. Does anyone know how to use POV-Ray to generate a
> seamless pattern for this purpose?
Let's see:
// put your blobman, tree.inc, etc., object definition here:
#declare OldeObjecte = ........
// n is a number between 0.8x and 5.0x your OldeObjecte's largest
dimension, depending on taste.
#declare n=................
camera{
location<0,0,-30>
look_at 0
orthographic
up<0,n,0>
right <n*320/240,0,0> //this will work for any image proportional
to 320x240.
}
#declare xn=0;
#while(xn<5)
#declare yn=0;
#while (yn<5)
object{OldeObjecte
translate n*<xn-2,yn-2,0>
}
#declare yn=yn+1;
#end
#declare yn=0;
#declare xn=xn+1;
#end
// Add lighting and background to taste.
Post a reply to this message
|
|