|
![](/i/fill.gif) |
Hello there.
I am having a problem in getting windows into a curved surface, as
in the rim of a cylinder. I can place windows onto any flat surface
quite easily, but putting them onto irregular shapes has me tossed.
Any hints.
Thanks Alex
--
,-._|\ Alex McMurray
/ Oz \ ale### [at] melbpc org au Melbourne PC User Group.
\_,--.x/ P.O. Box 215 Melton. Vic. 3337 Australia
v
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
Alex McMurray wrote:
>
> Hello there.
>
> I am having a problem in getting windows into a curved surface, as
> in the rim of a cylinder. I can place windows onto any flat surface
> quite easily, but putting them onto irregular shapes has me tossed.
> Any hints.
>
> Thanks Alex
> --
> ,-._|\ Alex McMurray
> / Oz \ ale### [at] melbpc org au Melbourne PC User Group.
> \_,--.x/ P.O. Box 215 Melton. Vic. 3337 Australia
> v
Try this and see if it's what you had in mind.
camera{location<0,0,-5>look_at<0,0,0>}
light_source{<-5,0,-20>rgb 1}
union{
intersection{
cylinder{y*-1,y*1,1 open pigment{rgbf<1,1,0,1>}
finish{ambient .4 diffuse .1 specular 1 roughness .0001 reflection .05}}
plane{z,-.8 pigment{rgbft 1}}rotate 0*x}
intersection{
cylinder{y*-2,y*2,1 open pigment{rgb 1}}
box{-1,1 scale<.7,1,.6>translate z*-1.35 inverse pigment{rgbft 1}}}
rotate 0*y}
--
Ken Tyler
tyl### [at] pacbell net
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
Ken wrote:
> Alex McMurray wrote:
> >
> > Hello there.
> >
> > I am having a problem in getting windows into a curved surface,
> >
> > Alex McMurray
>
> Try this and see if it's what you had in mind.
> [ snip ]
>
> Ken Tyler
>
Hello Ken,
That worked perfectly, and after studying the code, it was a lot simpler
than what I had been experimenting with, trying to cut open cylinders into
arcs and using the intersection of the arcs and the object. again thank you.
btw. your images in pov.binaries.images are excellent.
regards Alex
--
,-._|\ Alex McMurray
/ Oz \ ale### [at] melbpc org au Melbourne PC User Group.
\_,--.x/ P.O. Box 215 Melton. Vic. 3337 Australia
v
Post a reply to this message
|
![](/i/fill.gif) |