POV-Ray : Newsgroups : povray.general : Roof texture Server Time
1 Nov 2024 19:13:28 EDT (-0400)
  Roof texture (Message 1 to 3 of 3)  
From: Josh
Subject: Roof texture
Date: 4 Aug 2004 11:29:14
Message: <411100ca@news.povray.org>
Hi, I'm after help from any good soul.

I want to texture a roof.  The roof is a pyramid (prisim).  I've been able
to use brick on the straight roofs but when I apply the same texture to the
pyramid, the texture looks rubbish on two of the faces.

Does anyone have a good idea on how to texture the pyramid to look like roof
tiles from all angles.

Thanks


Post a reply to this message

From: Samuel Benge
Subject: Re: Roof texture
Date: 4 Aug 2004 14:21:32
Message: <41112891.5010503@hotmail.com>
Josh wrote:

> Hi, I'm after help from any good soul.
> 
> I want to texture a roof.  The roof is a pyramid (prisim).  I've been able
> to use brick on the straight roofs but when I apply the same texture to the
> pyramid, the texture looks rubbish on two of the faces.
> 
> Does anyone have a good idea on how to texture the pyramid to look like roof
> tiles from all angles.
> 
> Thanks
> 


Josh,

Try putting this inside the pigment and/or normal statement:

rotate y*45
warp{repeat x*1000 flip x}
warp{repeat z*1000 flip z}
rotate y*-45

That's assuming your pyramid's sides are facing directly North, East, South and West.

-Sam


Post a reply to this message

From: Josh
Subject: Re: Roof texture
Date: 5 Aug 2004 04:45:45
Message: <4111f3b9$1@news.povray.org>
> Try putting this inside the pigment and/or normal statement:
>
> rotate y*45
> warp{repeat x*1000 flip x}
> warp{repeat z*1000 flip z}
> rotate y*-45
>
> That's assuming your pyramid's sides are facing directly North, East,
South and West.
>
> -Sam
>

I will try that, thanks...


Post a reply to this message

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