|
![](/i/fill.gif) |
>
> Hi
>
> I'm trying to map an image on to the 'end' of a prism but no matter what
> I do it always maps onto the 'side' of it. Basically I'm trying to
> create a 7 sided coin with an image mapped on the 'heads' and 'tails'
> side. This is what I've tried:
>
Image maps project the image onto the x,y plane while prisms are created
in the x,z plane,
just rotate your prism around the x axis
> prism {
> linear_sweep
> linear_spline
> -0.9, 0.9, 7,
> < 0.623, 0>, < 0, 0.782>, < 0.223, 1.757>, < 1.123, 2.19>, < 2.023,
> 1.757>, <2.246, 0.782>, <1.623, 0>
rotate x*-90 // ***** rotation added ********
>
> pigment{
> image_map {
> gif "50p_tails.gif"
> once
> }
> scale <2.46, 2, 0>
> }
> }
>
> Any ideas?
>
> Mike Varley
> mik### [at] nacstock ac uk
Cheers, PoD.
Post a reply to this message
|
![](/i/fill.gif) |