POV-Ray : Newsgroups : povray.binaries.images : cylindrical pattern : Re: cylindrical pattern Server Time
9 Aug 2024 03:18:23 EDT (-0400)
  Re: cylindrical pattern  
From: Christopher James Huff
Date: 15 Mar 2005 15:35:40
Message: <cjameshuff-34F584.15343515032005@news.povray.org>
In article <4237206a$1@news.povray.org>, "Slime" <fak### [at] emailaddress> 
wrote:

> Two solutions:
>  - rotate your cylindrical pattern to face along the z-axis with rotate 90*x
>  - use the spherical pattern instead of cylindrical

Another solution: do the rotation in the call to the function. It's a 90 
degree rotation around one axis, so just swap two coordinates and negate 
one of them. Since you're generating an image for the height field, it's 
even easier to figure out...function images are sampled from the xy 
plane, the height field uses the image for the xz plane.

function 1000, 1000 {F_Terrain(x, 0, y)}

-- 
Christopher James Huff <cja### [at] gmailcom>
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

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