POV-Ray : Newsgroups : povray.newusers : Internal surface visible with Merge : Re: Internal surface visible with Merge Server Time
4 Jul 2024 15:32:47 EDT (-0400)
  Re: Internal surface visible with Merge  
From: Der Minimalist
Date: 1 Nov 2010 03:10:01
Message: <web.4cce66b1d610b901fec5f1b80@news.povray.org>
A>
> In this case, you should try using a cylindrical maping using a
> warp{cylindrical}. That way, you get somewhat less distortion and the
> image on one side don't repears on the oposite side.
>
> Be sure to add "once".
> Translate the image by -0.5*y to center it verticaly before scalling.
> Use a scale statement before the warp: scale<1/3, 3,1> will result in
> your image covering 1/3 of the circumference and be 3 units high.
>
> Sample:
> pigment{image_map{png "Your Image.png" once }translate -0.5*y
> scale<1/3,3,1> warp{cylindrical}}
>
> You may add a rotation on the Z axis before the scale to tilt the image
> if you want.
> Don't translate on the X axis before the warp as it will result in your
> image been cut.
>
>
> Alain

Thanks Alain,

I had never heard of the warp command before. I will give it a try this week and
see what happens!


Post a reply to this message

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