POV-Ray : Newsgroups : povray.documentation.inbuilt : 3.4.7.5.5.7 Mapping using warps. Typo in spherical warp example. : Re: 3.4.7.5.5.7 Mapping using warps. Typo in spherical warp example. Server Time
13 Aug 2022 02:29:53 EDT (-0400)
  Re: 3.4.7.5.5.7 Mapping using warps. Typo in spherical warp example.  
From: James Holsenback
Date: 9 Jul 2015 14:06:30
Message: <559eb826$1@news.povray.org>
On 05/28/2015 05:19 PM, William F Pokorny wrote:
> I got lost while doing a spherical warp today and in turning to the
> documentation for help, I picked up a typo. The spherical example reads:
>
>    sphere {
>    0,1
>    pigment {
>      hexagon
>      scale <0.5/pi,0.25/pi,1>*0.1
>      warp {
>        spherical
>        orientation y
>        dist_exp 1
>        }
>      }
>    }
>
> It produces the spherical warp image seen. However, I believe there is a
> typo where trying to scale in y. A scale in y has no effect on the
> hexagon x,z pattern. To get the normally expected mapping ratios in a
> way similar to the cylindrical example, the scale should be changed to:
>
> scale <0.5/pi,1,1/pi>*0.1
>
> though what I expect was the original intent of:
>
> scale <0.5/pi,1,0.25/pi>*0.1
>
> gives a valid result.
>
> Thanks for your attention.
> Bill P.

done ... sorry for delay (long story)


Post a reply to this message

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