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:29:19 EDT (-0400)
  Re: Image_map on the caps of a cylinder  
From: Frans Verbaas
Date: 6 Sep 2003 09:50:25
Message: <3f59e621@news.povray.org>
Make a block with the thickness of your washer as one dimension and other
dimensions somewhat larger than the outer diameter of your washer.
Apply the Image map to the block
SCG-intersect this block with your cylinders.

have fun,
Frans.
"Warp" <war### [at] tagpovrayorg> schreef in bericht
news: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.