POV-Ray : Newsgroups : povray.documentation.inbuilt : Mapping using warps. Typo in spherical warp example. : Mapping using warps. Typo in spherical warp example. Server Time
13 Aug 2022 02:00:45 EDT (-0400) Mapping using warps. Typo in spherical warp example.  
From: William F Pokorny
Date: 28 May 2015 17:18:57
Message: <55678641$1@news.povray.org>
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 {
   pigment {
     scale <0.5/pi,0.25/pi,1>*0.1
     warp {
       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.

Post a reply to this message

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