|
![](/i/fill.gif) |
Ok, so I was still thinking brute force... that is a great solution, kudos for
clever thinking.
I am working on a web site that collects this kind of specific questions, would you
mind if I used this solution for it (giving you full credit, of course)
Josh English
eng### [at] spiritone com
Ron Parker wrote:
> On Thu, 28 Jan 1999 13:17:42 -0800, Josh English <eng### [at] spiritone com> wrote:
> >Yes, this will happen. Image maps will move forever through the z axis, the
> >once option only applies to the x-y plane. In order to place an image map on
> >the other side, you need to make two objects with the same height and width
> >but with half the depth, then on the second one place the second image but
> >be sure to rotate it correctly or it will appear backwards.
>
> You might also try some trickery with the radial pattern:
>
> #macro DoubleImage( front, back )
> radial
> pigment_map {
> [.5 front]
> [.5 back rotate 180*y]
> }
> #end
>
> #declare f=pigment{image_map{ sys "heads.bmp" once } translate -.5}
> #declare b=pigment{image_map{ sys "tails.bmp" once } translate -.5}
>
> #declare coin=cylinder {
> -.1*z,.1*z,1
> texture{pigment {color rgb 1}}
> texture {pigment {DoubleImage(f,b)}}
> }
>
> If you look at the front (-z) side of this simple round coin, you'll see
> the heads image. Look at the back (z) side and you see the tails image.
Post a reply to this message
|
![](/i/fill.gif) |