|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hiya all....
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?
Greg
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
From: Frans Verbaas
Subject: Re: Image_map on the caps of a cylinder
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Greg Lee" <lee### [at] govonca> wrote in message
news:3f58e227$1@news.povray.org...
> Hiya all....
>
> 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?
Would this work?
cylinder{ 0, z, 0.5
pigment{ image_map{ jpeg "whatever.jpg" } translate -0.5 }
}
Alf
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Fri, 5 Sep 2003 15:20:35 -0400, "Greg Lee" <lee### [at] govonca> wrote:
>Hiya all....
>
>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?
>
Another way to do it would be to create a cylindrical mesh and map your images
using UVMapper.
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sat, 06 Sep 2003 17:24:05 +0100, Stephen McAvoy <McA### [at] aolcom> wrote:
>Another way to do it would be to create a cylindrical mesh and map your images
>using UVMapper.
>
I've posted a sample in povray.binaries.animations
Regards
Stephen
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hiya all.....
Thanks for all the info. I tried Warp's suggestion and it worked like a
charm. I will keep Stephen's suggestion, as I can see this being useful
with nonstandard face.
Thanks again
Greg
"Warp" <war### [at] tagpovrayorg> wrote in message
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
|
|
| |
| |
|
|
|
|
| |