|
|
Think the mention of a cube face being used for the image might need a
mention also about scaling the 'image_map' down ever so slightly in both
x and y dimensions so as not to cause interference with the other sides
of the cube. This goes for whether it is applied via map_type 1 with or
without the 'once' keyword. If you wish to leave a broader border be
sure and include 'once' in the 'image_map'.
Nieminen Mika wrote:
>
> SWIFT ETEBA <swi### [at] etebagr> wrote:
> : I am trying to put an image (.bmp, .gif, etc) inside a wood frame.
> : Or in other words I am trying to fit an image exactly in a finite plane
> : (like the sides of a cube). Is there any suggestions?
> : And another thing.
>
> box
> { 0, <1, 1, .01>
> pigment { image_map { ... } }
> translate <-.5, -.5, 0>
> scale <ImagemapWidth/ImagemapHeight, 1, 1>
>
> (other transformations...)
> }
>
> The image will exactly fill the box. The height of the box is 1 and the
> width depends on the aspect ratio of the image map. (Of course you have to
> define ImagemapWidth and ImagemapHeight by yourself)
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
--
omniVERSE: beyond the universe
http://members.aol.com/inversez/homepage.htm
mailto://inversez@aol.com?Subject=PoV-News
Post a reply to this message
|
|