POV-Ray : Newsgroups : povray.unofficial.patches : pattern & texturing : Re: pattern & texturing Server Time
2 Sep 2024 08:17:59 EDT (-0400)
  Re: pattern & texturing  
From: ingo
Date: 10 Mar 2000 18:23:05
Message: <8EF4EBD0seed7@204.213.191.228>
Ron Parker wrote:

>       warp {planar y 0}
>       translate -.5
>       scale <20,20,2>
>


Thanks Ron, that's it. Never thought of planar warp. Actually I'm not sure 
I completely understand how it works. The helpfile is a bit cryptic for 
this one.
Is it like rendering plane{y 0 Texture}, and use the resulting image as an 
image map? An imagemap is projected in the xy-plane, that's the reason for 
the absence of a rotation around the x-axis. If this is so the translate -
0.5 can be commented out, but it can't, it gives a different result.


Re-reading this and after some more experiments I see the light (I think). 
A translation <-0.5,-0.5,0> also does it. It's just like an imagemap.
All this looks like a promising way to make old wall with parts of the 
stucco coming off.

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

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