POV-Ray : Newsgroups : povray.general : Pov-ray and The Sims Server Time
1 Nov 2024 22:18:44 EDT (-0400)
  Pov-ray and The Sims (Message 1 to 3 of 3)  
From: Steven Jones
Subject: Pov-ray and The Sims
Date: 19 Apr 2000 19:52:52
Message: <38fe46d4@news.povray.org>
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?


Post a reply to this message

From: Ken
Subject: Re: Pov-ray and The Sims
Date: 19 Apr 2000 19:58:31
Message: <38FE47E1.71414E60@pacbell.net>
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

From: Greg M  Johnson
Subject: Re: Pov-ray and The Sims
Date: 20 Apr 2000 13:51:43
Message: <38FF42A3.EDFEAF57@my-dejanews.com>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.