POV-Ray : Newsgroups : povray.newusers : Want to attach one object to another : Re: Want to attach one object to another Server Time
25 Jun 2024 02:54:43 EDT (-0400)
  Re: Want to attach one object to another  
From: Alain
Date: 22 Jun 2013 15:41:57
Message: <51c5fe05$1@news.povray.org>

> On 21/06/2013 7:44 PM, Alain wrote:
>>> Maybe the spherical warp undoes the distortion of using planer mapping
>>> on a cylinder.
>>>
>>
>> On the contrary, it INTRODUCE some distortion. As you move away from the
>> X-Z plane, the image get stretched.
>
> I thought that something like that might be the case. So Jim's question
> still stands.
>

If the sylinder is short, the distortion is not to apparent. Also, in 
*some* cases, a spherical mapping can be used on a cylinder for good effect.

On this cylinder, it's OK...

cylinder{y, -y, 1 }

Using spherical mapping, the cap get a recognisable image, but the image 
is distorted. The cylinder been short, the distortion is still low 
enough to not been realy noticeable.

Using the correct cylindrical mapping, the caps will only show a radial 
pattern corresponding to the top layer of pixels from the image, but the 
image on the sides is distortion free.



Alain


Post a reply to this message

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