POV-Ray : Newsgroups : povray.general : Roof texture : Re: Roof texture Server Time
2 Aug 2024 20:15:06 EDT (-0400)
  Re: Roof texture  
From: Samuel Benge
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

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