POV-Ray : Newsgroups : povray.general : Image_map on the caps of a cylinder : Re: Image_map on the caps of a cylinder Server Time
4 Aug 2024 00:25:11 EDT (-0400)
  Re: Image_map on the caps of a cylinder  
From: Warp
Date: 5 Sep 2003 17:11:55
Message: <3f58fc1b@news.povray.org>
Greg Lee <lee### [at] govonca> wrote:
> I'm trying to create a washer shape (difference of 2 cylinders) and I want
> to put an image_map on the ends/caps of the cylinder.  POVRay seems to want
> to wrap the image_map around the cylinder.  Is there any way around this
> problem?

  One solution which comes to mind is using a disc primitive with the
image mapped onto it (with planar mapping) and putting the disc on the
end of the cylinder (you can make the cylinder open to avoid coincident
surfaces).

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

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